fix(deps): update dependency django-filter to v25#3445
fix(deps): update dependency django-filter to v25#3445renovate[bot] wants to merge 1 commit intomasterfrom
Conversation
|
95f0bec to
0525893
Compare
0525893 to
53830b9
Compare
53830b9 to
f435124
Compare
f435124 to
0db6258
Compare
0db6258 to
d56276d
Compare
d56276d to
ba145ba
Compare
ba145ba to
a6279fa
Compare
a6279fa to
7be2de0
Compare
7be2de0 to
a76bab1
Compare
a76bab1 to
cf62ce6
Compare
cf62ce6 to
8808841
Compare
8808841 to
50a732a
Compare
|
we would need to upgrade wagtail to minimum wagtail 6.3 to resolve this |
50a732a to
ea538ef
Compare
ee39446 to
6510377
Compare
6510377 to
d498184
Compare
pyproject.toml
Outdated
| django = "4.2.28" | ||
| django-anymail = { version = "13.1", extras = ["mailgun"] } | ||
| django-filter = "^23.4" | ||
| django-filter = "^25.2" |
There was a problem hiding this comment.
Bug: The update to django-filter v25.2 is incompatible with the project's Django v4.2.28, as the new library version only supports Django 5.2 and later.
Severity: MEDIUM
Suggested Fix
To resolve the incompatibility, either downgrade django-filter to a version compatible with Django 4.2 (e.g., ^24.2), or upgrade the project's Django version to 5.2 or newer before updating django-filter.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: pyproject.toml#L24
Potential issue: The `pyproject.toml` file is being updated to use `django-filter`
version `25.2`. According to the library's release notes, this version officially drops
support for Django versions lower than 5.2. The project is currently using Django
`4.2.28`. While the immediate runtime impact is not certain, using a library version
that is explicitly not supported by the project's framework version introduces a
significant risk of unexpected failures, subtle bugs, or breakage in future patch
releases of the dependency. This creates an unsupported and unstable configuration.
Did we get this right? 👍 / 👎 to inform future reviews.
b1c7748 to
caea5a8
Compare
caea5a8 to
9d82cae
Compare
This PR contains the following updates:
>=23.4,<24→>=25.2,<26Release Notes
carltongibson/django-filter (django-filter)
v25.2Compare Source
Added testing for Django 6.0.
Dropped support for Django <5.2 LTS
Dropped support for Python 3.9.
v25.1Compare Source
Removed the in-built API schema generation methods, which have been
deprecated since v23.2.
You should use
drf-spectacular <https://drf-spectacular.readthedocs.io/en/latest/>_for generating OpenAPI schemas with DRF.
Dropped support for EOL Python 3.8.
Added testing against Python 3.13.
Added official support for Django 5.2.
v24.3Compare Source
Adds official support for Django 5.1.
Allow using dictionaries for grouped choices on Django 5.0+.
Thanks to Sævar Öfjörð Magnússon.
Adds
unknown_field_behaviorFilterSet option to allowing warning andignore behaviours for unknown field types during FilterSet generation.
Thanks to Loes.
v24.2Compare Source
Fixed a regression in v23.4 where callable choices were incorrectly evaluated
at filter instantiation, on Django versions prior to 5.0.
Thanks to Craig de Stigter for the report and reproduce.
v24.1Compare Source
Updated supported Python and Django versions, and resolved upcoming Django
deprecations.
Required versions are now at least Python 3.8 and Django 4.2.
Thanks to Michael Manganiello.
Allowed passing a FilterSet class to the filterset_factory().
Thanks to Birger Schacht.
Set empty default value of filterset data to MultiValueDict.
Thanks to Shlomo Gordon.
Preserve list values passed to the data dict in CSV widgets.
Thanks to Bryan Brancotte.
Updates French and Ukrainian localisations.
Thanks to Weblate.
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.