Skip to content

chore(deps): bump django-localflavor from 4.0 to 5.0#956

Closed
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/pip/django-localflavor-5.0
Closed

chore(deps): bump django-localflavor from 4.0 to 5.0#956
dependabot[bot] wants to merge 1 commit intodevelopmentfrom
dependabot/pip/django-localflavor-5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Oct 7, 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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

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 Pull requests that update Python code labels Oct 7, 2025
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/django-localflavor-5.0 branch October 7, 2025 12:14
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant