mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 12:27:37 -02:30
[devel]AAP-74276: Replace setuptools with packaging in awxkit install_requires (#16444)
AAP-74276: Replace setuptools with packaging in awxkit install_requires The Python 3.12 upgrade replaced distutils.version.LooseVersion with packaging.version.Version but did not update awxkit's install_requires. setuptools is no longer needed at runtime since pkg_resources was also replaced with importlib.metadata. This causes ModuleNotFoundError on standalone CLI installs where packaging is not present. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -90,7 +90,7 @@ setup(
|
||||
install_requires=[
|
||||
'PyYAML',
|
||||
'requests',
|
||||
'setuptools',
|
||||
'packaging',
|
||||
],
|
||||
python_requires=">=3.11",
|
||||
extras_require={'formatting': ['jq'], 'websockets': ['websocket-client==0.57.0'], 'crypto': ['cryptography']},
|
||||
|
||||
Reference in New Issue
Block a user