Actions
Bug #24615
closedrudder-cli is not usable in python 3.11 and newer
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No
Description
root@server:/etc/sysctl.d# /usr/bin/rudder-cli nodes list --token=$(cat /var/rudder/run/api-token) Traceback (most recent call last): File "/usr/bin/rudder-cli", line 435, in <module> params = inspect.getargspec(function).args[1:-1] ^^^^^^^^^^^^^^^^^^ AttributeError: module 'inspect' has no attribute 'getargspec'. Did you mean: 'getargs'?
It seems like the function has been deprecated since python 3.0, and removed in 3.11 https://docs.python.org/3/whatsnew/3.11.html#removed
Actions