Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Upgrade three dependencies that trigger pkg_resources removal warning #2833

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
JacobCoffee merged 1 commit into python:main from hugovk:fix-pkg_resources-warning
Dec 15, 2025

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Nov 28, 2025
edited
Loading

Description

The old versions of these three packages caused this warning when running the tests:

UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025年11月30日. Refrain from using this package or pin to Setuptools<81.

Removal PR: pypa/setuptools#5007.

Upgrade them.

Closes

@hugovk hugovk added the dependencies Pull requests that update a dependency file label Nov 30, 2025
django-ordered-model==3.7.4
django-widget-tweaks==1.5.0
django-countries==7.2.1
django-countries==8.2.0
Copy link
Member

@JacobCoffee JacobCoffee Dec 15, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

v7 to v8 was just dropped Python 3.7 support so all good to me

@JacobCoffee JacobCoffee merged commit e4c418e into python:main Dec 15, 2025
3 checks passed
@hugovk hugovk deleted the fix-pkg_resources-warning branch December 15, 2025 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@JacobCoffee JacobCoffee JacobCoffee approved these changes

@ewdurbin ewdurbin Awaiting requested review from ewdurbin

Assignees

No one assigned

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /