Skip to content

build(deps): bump django-countries from 8.2.0 to 9.1.0 - #748

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-countries-9.1.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/uv/django-countries-9.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 14, 2026

Copy link
Copy Markdown
Contributor

Bumps django-countries from 8.2.0 to 9.1.0.

Changelog

Sourced from django-countries's changelog.

9.1.0 (11 September 2026)

Features

  • Add Django 6.1 support. Django 4.2 remains supported for now, despite reaching end of life in April 2026; it will be dropped in the next major release. (#494)
  • Rename Nauru to Naoero, falling back to the old name's translation until translators catch up. (#496)

9.0.0 (10 June 2026)

Features

  • Nullable CountryField (with null=True) now returns None instead of Country(code=None) when the database value is NULL. This makes the nullability explicit at the field level rather than inside the Country object, resulting in cleaner typing where Country.code is always a str (never None).

    Breaking change: Code that previously checked obj.country.code is None should now check obj.country is None. The common pattern if obj.country: continues to work unchanged. (#481)

  • Add Django 6.0 and Python 3.14 support. Drop Django 3.2, 5.0, 5.1 and Python 3.8, 3.9. Minimum DRF bumped to 3.14.

  • Add an opt-in Countries.sorted(locale=...) helper to return country choices sorted by translated display names.

Bugfixes

  • Fix multiple type stub issues in fields.pyi: correct return types for Country.name, Country.alpha3, Country.ioc_code (now str instead of str | None), Country.numeric (now int | None instead of str | None), and MultipleCountriesDescriptor.__iter__ (now Iterator[Country] instead of Any). Also add missing blank_label attribute and accept positional verbose_name argument in CountryField.__init__ overloads. (#483)
  • Exclude .mypy_cache directory from source distributions (was 73% of the sdist). (#490)

Improved Documentation

  • Clarify that multiple=True returns a MultipleCountriesDescriptor, not a plain list. (#485)
Commits
  • a6462d3 Preparing release 9.1.0
  • 668237c Update translations from Transifex
  • 6991134 Update English translation source file
  • c433dc1 Add Django 6.1 support
  • 1d1b5d0 Fall back to Nauru translation for Naoero
  • 8896448 Change Nauru to Naoero
  • ee82223 Preparing release 9.0.0
  • 4c391e3 Update translations from Transifex
  • 08d54b2 Update English translation source file
  • 1ada565 Add changelog fragments for 9.0.0
  • 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 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-countries](https://github.com/SmileyChris/django-countries) from 8.2.0 to 9.1.0.
- [Changelog](https://github.com/SmileyChris/django-countries/blob/main/CHANGES.md)
- [Commits](SmileyChris/django-countries@v8.2.0...v9.1.0)

---
updated-dependencies:
- dependency-name: django-countries
  dependency-version: 9.1.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 Sep 14, 2026
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.

0 participants