Upgrade three dependencies that trigger pkg_resources removal warning#2833
Merged
JacobCoffee merged 1 commit intopython:mainfrom Dec 15, 2025
Merged
Upgrade three dependencies that trigger pkg_resources removal warning#2833JacobCoffee merged 1 commit intopython:mainfrom
JacobCoffee merged 1 commit intopython:mainfrom
Conversation
JacobCoffee
approved these changes
Dec 15, 2025
JacobCoffee
reviewed
Dec 15, 2025
| django-ordered-model==3.7.4 | ||
| django-widget-tweaks==1.5.0 | ||
| django-countries==7.2.1 | ||
| django-countries==8.2.0 |
Member
There was a problem hiding this comment.
v7 to v8 was just dropped Python 3.7 support so all good to me
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The old versions of these three packages caused this warning when running the tests:
Removal PR: pypa/setuptools#5007.
Upgrade them.
django-haystack 3.3.0: "Django versions 3-5 are supported, running on Python 3.8-3.12"
https://github.com/django-haystack/django-haystack/releases/tag/v3.3.0
django-countries 8.2.0 supports Django 3.2-5.2, Python 3.8-3.13
https://pypi.org/project/django-countries/8.2.0/
The 8.0.0 dropped Python 3.7
https://github.com/SmileyChris/django-countries/blob/main/CHANGES.md#800-4-november-2025
django-polymorphic 4.1.0: support Django 3.2-5.0, Python 3.8-3.12
https://pypi.org/project/django-polymorphic/4.1.0/
"There were no breaking changes in this major release"
https://django-polymorphic.readthedocs.io/en/latest/changelog.html#v4-0-0-2025-05-20
Closes