Skip to content

Conversation

@hugovk
Copy link
Member

@hugovk hugovk commented Nov 28, 2025

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

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants