From d3b40cb57e37d12fcd90eedee4fdd4f427fff7a4 Mon Sep 17 00:00:00 2001 From: Lila Yasin Date: Wed, 6 May 2026 11:25:52 -0400 Subject: [PATCH] [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) --- awxkit/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awxkit/setup.py b/awxkit/setup.py index 70ceec7e93..328cb5eb2c 100644 --- a/awxkit/setup.py +++ b/awxkit/setup.py @@ -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']},