Closed jfcherng closed 7 months ago
May also related to https://github.com/splunk/splunk-sdk-python/issues/529
We are hitting the same issue in UCC framework, link from our pipeline (https://github.com/splunk/addonfactory-ucc-generator/actions/runs/6455317283/job/17522597650?pr=896#step:5:79).
Hi all, the library currently supports Python 2 and Python 3 runtimes and contains certain dependencies which are not working well with Python 3.9+ versions. This quarter, we are planning on a new beta release for the Python SDK with updated support for Python 3.9 and hope to resolve these issues. Please watch for updates here.
Is this still active? Still facing this issue.
I can confirm this is still an issue
Hi all, the library currently supports Python 2 and Python 3 runtimes and contains certain dependencies which are not working well with Python 3.9+ versions. This quarter, we are planning on a new beta release for the Python SDK with updated support for Python 3.9 and hope to resolve these issues. Please watch for updates here.
Q4 2023 is over. Is the support for 3.9+ version support still on the roadmap?
Is there a update on this?
Any updates on releasing the fix for this issue?
Are all version 3.9+ not supported or only 3.12? I have dependencies that only work on 3.10 and above, so a downgrade of python will cause other issues.
Are all version 3.9+ not supported or only 3.12? I have dependencies that only work on 3.10 and above, so a downgrade of python will cause other issues.
only 3.12 suffers.
Hello
I can confirm - issue is still present for python 3.12
issue is still present on python 3.12.2
❯ pip install splunk-sdk Collecting splunk-sdk Using cached splunk-sdk-1.7.4.tar.gz (108 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
Traceback (most recent call last):
File "/Users/P3186458/Documents/dev/CHARTER/SCP/out-of-home/.venv/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in
note: This error originates from a subprocess, and is likely not a problem with pip. error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Issue is still observed with python3.12.2
Hi all, Sorry for the delay, we have published a new version of Splunk Python SDK v2.0.0 with Python v3.7+ support . Request you to use the latest SDK and let us know if the issue is resolved. Thanks
Hi all, Sorry for the delay, we have published a new version of Splunk Python SDK v2.0.0 with Python v3.7+ support . Request you to use the latest SDK and let us know if the issue is resolved. Thanks
Installation is okay. I will test our production codes to run with it tomorrow.
hi @ashah-splunk, I got an error when running with v2.0.0.
File ".venv\Lib\site-packages\splunklib\results.py", line 49, in <module>
import deprecation
ModuleNotFoundError: No module named 'deprecation'
After manually install deprecation
from pypi, it works on my side. But I guess you want to add it as a dependency https://python-packaging.readthedocs.io/en/latest/dependencies.html
Thanks @jfcherng for the fix PR. We will make sure to include the missing dependency in the next release.
Hi @jfcherng We have published a patch release of Python SDK v2.0.1 with the missing 'deprecation' dependency. Request you to upgrade to the latest version and let us know if any other issue pops up. Thanks!
hi @ashah-splunk , v2.0.1 works well for me. Thanks.
Closed as my issue has been resolve.
Describe the bug
Install this with Python 3.12.0 via pip failed.
To Reproduce Steps to reproduce the behavior:
python -m pip install splunk-sdk
, wherepython
is Python 3.12.0Expected behavior
It installs successfully.
Logs or Screenshots
SDK (please complete the following information):