You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecation warning when installing due to legacy setup.py bdist_wheel mechanism used #620
Describe the bug
This project is using the deprecated setup.py bdist_wheel mechanism for installation which is going to lose support in a future version of pip. A pyproject.toml file at the root of the project will remedy this issue.
To Reproduce
Steps to reproduce the behavior:
Download source
In terminal, pip install .
Notice deprecation warning
Expected behavior
No deprecation warning
Logs or Screenshots
DEPRECATION: Building 'splunk-sdk' using the legacy setup.py bdist_wheel mechanism, which will be removed in a future version. pip 25.3 will enforce this behaviour change. A possible replacement is to use the standardized build interface by setting the '--use-pep517' option, (possibly combined with '--no-build-isolation'), or adding a 'pyproject.toml' file to the source tree of 'splunk-sdk'. Discussion can be found at https://github.com/pypa/pip/issues/6334
SDK (please complete the following information):
Version: latest
Language Runtime Version: Python 3.9
OS: Windows 10
Additional context
To remedy this a pyproject.toml file should be added at the root of the project with the following:
# pyproject.toml
[build-system]
# XXX: If your project needs other packages to build properly, add them to this list.
requires = ["setuptools >= 42.0.0"]
build-backend = "setuptools.build_meta"
Activity