Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 27, 2025

Bumps django-localflavor from 4.0 to 5.0.

Changelog

Sourced from django-localflavor's changelog.

5.0 (2025-05-21)

Breaking data changes:

  • NP: A data migration is required for users of np.forms.NPProvinceSelect and np.forms.NPZoneSelect. The following was changed:

    • NPProvinceSelect: province1 and province2 were removed and replaced with koshi and madhesh.
    • NPZoneSelect: dandaki was corrected to gandaki (fixed typo).
  • NO: A data migration is required for users of no.forms.NOMunicipalitySelect. MUNICIPALITY_CHOICES was updated to the values in the 2024 update:

    • austagder and vestagder have been removed and combined into agder.
    • hordaland and sognogfjordane have been removed and combined into vestland.
    • nordtrondelag and sortrondelag have been removed and combined into trondelag.
    • hedmark and oppland have been removed and combined into innlandet.
  • LV: A data migration is required for users of lv.forms.LVMunicipalitySelect. MUNICIPALITY_CHOICES was updated to the values in the 2021 municipal reform. Details of this change can be found here:

    https://en.wikipedia.org/wiki/ISO_3166-2:LV#Changes

A warning message will be displayed when lv.forms.LVMunicipalitySelect or nl.forms.NOMunicipalitySelect are used. See the localflavor online docs <https://django-localflavor.readthedocs.io/en/latest/#backwards-compatibility>_ for instructions on how to suppress this warning once the migration has been completed.

New flavors:

  • Sri Lanka LocalFlavor: Support for Sri Lanka added ([gh-493](https://github.com/django/django-localflavor/issues/493) <https://github.com/django/django-localflavor/pull/493>_).

New fields for existing flavors:

  • Added CIN Number field in Morocco flavor ([gh-705](https://github.com/django/django-localflavor/issues/705) <https://github.com/django/django-localflavor/pull/507>_).

Modifications to existing flavors:

  • Fix Belarus passport field description punctuation ([gh-484](https://github.com/django/django-localflavor/issues/484) <https://github.com/django/django-localflavor/pull/484>_).
  • Change Kiev to Kyiv 🇺🇦 according to ISO_3166-2:UA
  • Accept French Postal Services identifiers in forms ([gh-505](https://github.com/django/django-localflavor/issues/505) <https://github.com/django/django-localflavor/pull/505>_).
  • Extended validation of Kuwaiti Civil ID to avoid allowing invalid century Civil IDs ([gh-511](https://github.com/django/django-localflavor/issues/511) <https://github.com/django/django-localflavor/pull/511>_).
  • Added birthdate extraction function from Kuwaiti Civil ID ([gh-511](https://github.com/django/django-localflavor/issues/511) <https://github.com/django/django-localflavor/pull/511>_).
  • Deprecated kw.forms.is_valid_kw_civilid_checksum in favor of kw.utils.is_valid_civil_id

... (truncated)

Commits
  • f7a1414 Bumped version to 5.0
  • 6e8bb8c Updated translations from Transifex (#525)
  • 8d68702 Switch to modern build setup using pyproject.toml (#524)
  • 6d5dbc8 Use list for breaking data changes in Changelog
  • 07da6ac Updated base translation catalog
  • be0475e Localflavor Sri Lanka: Support for Sri Lanka added in django-localflavor (#493)
  • cf484b4 Allow formatted IBANs longer than 26 chars to be saved (#522)
  • ad22c1c Use TestCase.subTest in tests that test multiple values (#523)
  • e740280 Accept formatted values in for FR SIREN and SIRET (#520)
  • c2b72d1 Add author of PR 506 to authors file
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [django-localflavor](https://github.com/django/django-localflavor) from 4.0 to 5.0.
- [Changelog](https://github.com/django/django-localflavor/blob/master/docs/changelog.rst)
- [Commits](django/django-localflavor@4.0...5.0)

---
updated-dependencies:
- dependency-name: django-localflavor
  dependency-version: '5.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Oct 27, 2025
@sonarqubecloud
Copy link

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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant