Skip to content

fix: remove setuptools bump to prevent pkg_resources deprecation warning#10

Draft
KNiepok wants to merge 1 commit intomainfrom
fix/remove-setuptools-upgrade
Draft

fix: remove setuptools bump to prevent pkg_resources deprecation warning#10
KNiepok wants to merge 1 commit intomainfrom
fix/remove-setuptools-upgrade

Conversation

@KNiepok
Copy link
Copy Markdown

@KNiepok KNiepok commented Jan 23, 2026

The AWS CLI build process already pins setuptools==80.9.0 in its requirements-dev-lock.txt file. Upgrading setuptools to the latest version (81+) overrides this pin and causes pkg_resources deprecation warnings in the bundled executable.

The make-exe script handles all necessary dependencies including the correct setuptools version, so the explicit upgrade is unnecessary and counterproductive.

Fixes the issue reported in run 01KFMPWJHPP29WVH52XVERVRX9.

…arning

The AWS CLI build process already pins setuptools==80.9.0 in its
requirements-dev-lock.txt file. Upgrading setuptools to the latest
version (81+) overrides this pin and causes pkg_resources deprecation
warnings in the bundled executable.

The make-exe script handles all necessary dependencies including the
correct setuptools version, so the explicit upgrade is unnecessary
and counterproductive.

Fixes the issue reported in run 01KFMPWJHPP29WVH52XVERVRX9.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Signed-off-by: Krzysztof Niepokojczycki <krzysztofn@spacelift.io>
@peterdeme
Copy link
Copy Markdown
Collaborator

@KNiepok - just tested this, but it doesn't solve it. the merge of this PR should auto resolve the warning.

aws/aws-cli#9887

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants