Skip to content

Increase required version of optional Polymorphic Models for Django #1289

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
merged 2 commits into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ any parts of the framework not mentioned in the documentation should generally b
This adds full support for using multipart field names for includes while configuring `JSON_API_FORMAT_FIELD_NAMES`.
* Ensured that sparse fieldset fully supports `JSON_API_FORMAT_FIELD_NAMES`.

### Changed

* Set minimum required version of optional Polymorphic Models for Django to 4.0.0.

### Removed

* Removed support for Python 3.8.
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements-optionals.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ django-filter==24.3
# once next version has been released (>3.1.0) this
# should be set to pinned version again
# see https://github.com/django-polymorphic/django-polymorphic/pull/541
django-polymorphic@git+https://github.com/django-polymorphic/django-polymorphic@master # pyup: ignore
django-polymorphic@git+https://github.com/django-polymorphic/django-polymorphic@master # pyup: ignore
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def get_package_data(package):
"django>=4.2",
],
extras_require={
"django-polymorphic": ["django-polymorphic>=3.0"],
"django-polymorphic": ["django-polymorphic>=4.0.0"],
"django-filter": ["django-filter>=2.4"],
},
setup_requires=wheel,
Expand Down