Skip to content

fix(deps): update dependency django-filter to v25#3445

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/django-filter-25.x
Open

fix(deps): update dependency django-filter to v25#3445
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/django-filter-25.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Apr 9, 2025

This PR contains the following updates:

Package Change Age Confidence
django-filter (changelog) >=23.4,<24>=25.2,<26 age confidence

Release Notes

carltongibson/django-filter (django-filter)

v25.2

Compare Source

  • Added testing for Django 6.0.

  • Dropped support for Django <5.2 LTS

  • Dropped support for Python 3.9.

v25.1

Compare 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.3

Compare 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_behavior FilterSet option to allowing warning and
    ignore behaviours for unknown field types during FilterSet generation.

    Thanks to Loes.

v24.2

Compare 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.1

Compare 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Apr 9, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: uv.lock
Command failed: uv lock --upgrade-package django-filter
Using CPython 3.13.12
  × No solution found when resolving dependencies:
  ╰─▶ Because wagtail==5.2.8 depends on django-filter>=23.3,<24 and your
      project depends on django-filter>=25.2,<26, we can conclude that your
      project and wagtail==5.2.8 are incompatible.
      And because your project depends on wagtail==5.2.8, we can conclude that
      your project's requirements are unsatisfiable.

@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 9, 2025 08:10 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 95f0bec to 0525893 Compare April 9, 2025 08:43
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 9, 2025 08:43 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 0525893 to 53830b9 Compare April 9, 2025 13:09
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 9, 2025 13:09 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 53830b9 to f435124 Compare April 9, 2025 17:48
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 9, 2025 17:48 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from f435124 to 0db6258 Compare April 9, 2025 20:59
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 9, 2025 20:59 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 0db6258 to d56276d Compare April 10, 2025 01:07
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 01:07 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from d56276d to ba145ba Compare April 10, 2025 04:46
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 04:47 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from ba145ba to a6279fa Compare April 10, 2025 08:48
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 08:49 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from a6279fa to 7be2de0 Compare April 10, 2025 09:35
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 09:36 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 7be2de0 to a76bab1 Compare April 10, 2025 12:17
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 12:18 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from a76bab1 to cf62ce6 Compare April 10, 2025 14:35
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 10, 2025 14:35 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from cf62ce6 to 8808841 Compare April 11, 2025 09:39
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 11, 2025 09:39 Inactive
@asajjad2 asajjad2 self-assigned this Apr 11, 2025
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 8808841 to 50a732a Compare April 14, 2025 06:20
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 14, 2025 06:20 Inactive
@asajjad2
Copy link
Contributor

we would need to upgrade wagtail to minimum wagtail 6.3 to resolve this

@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 50a732a to ea538ef Compare April 14, 2025 13:39
@odlbot odlbot temporarily deployed to xpro-ci-pr-3445 April 14, 2025 13:39 Inactive
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch 11 times, most recently from ee39446 to 6510377 Compare February 23, 2026 14:17
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from 6510377 to d498184 Compare February 24, 2026 13:57
pyproject.toml Outdated
django = "4.2.28"
django-anymail = { version = "13.1", extras = ["mailgun"] }
django-filter = "^23.4"
django-filter = "^25.2"
Copy link

Choose a reason for hiding this comment

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

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.

@renovate renovate bot force-pushed the renovate/django-filter-25.x branch 15 times, most recently from b1c7748 to caea5a8 Compare March 3, 2026 11:27
@renovate renovate bot force-pushed the renovate/django-filter-25.x branch from caea5a8 to 9d82cae Compare March 3, 2026 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants