[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:
Lila Yasin
2026-05-06 11:25:52 -04:00
committed by GitHub
parent 6179b16987
commit d3b40cb57e

View File

@@ -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']},