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
Updated by Félix DALLIDET 8 months ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET 8 months ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-api-client/pull/50
Updated by Félix DALLIDET 8 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-api-client|d843a82babb222bc06b53314608d6d7557f1a464.
Updated by Vincent MEMBRÉ 7 months ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.14, 8.0.8 and 8.1.1 which were released today.
Actions