Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps maxminddb from 2.7.0 to 3.0.0.

Release notes

Sourced from maxminddb's releases.

3.0.0

  • IMPORTANT: Python 3.10 or greater is required. If you are using an older version, please use an earlier release.
  • Databases can now be loaded from buffers. This can be done by passing in a buffer as the database and using mode MODE_FD. Pull request by Emanuel Seemann. GitHub #234.
  • The C extension now supports Python 3.13+ free-threading mode and is thread-safe for concurrent reads on platforms with pthread support (such as Linux and macOS) and Windows. On other platforms, the extension will use GIL-based protection.
  • The C extension now uses PEP 489 multi-phase initialization, enabling proper subinterpreter support and module isolation for Python 3.12+. This modernizes the extension to use heap types instead of static types and implements per-module state management. Key benefits include support for Python 3.12+ isolated subinterpreters, multiple independent module instances, and future-proofing for Python 3.14's InterpreterPoolExecutor. Requested by R. Christian McDonald in GitHub #105.
  • BREAKING: The pure Python maxminddb.reader.Metadata class has been converted to a frozen dataclass. The __repr__ format has changed from maxminddb.reader.Metadata(...) to Metadata(...). More importantly, all Metadata attributes are now readonly and cannot be modified after creation. If you were modifying metadata attributes after object creation, you will need to update your code. All functionality remains the same, including the node_byte_size and search_tree_size properties. Note: The C extension's Metadata class has always been readonly, so this change brings the pure Python implementation into consistency with the C extension.
  • MODE constants have been converted to an IntEnum (maxminddb.const.Mode). The old constants (MODE_AUTO, MODE_FILE, etc.) remain available for backward compatibility and are now aliases to the enum members. This provides better IDE support and type safety while maintaining full backward compatibility. You can now use either Mode.FILE or MODE_FILE - both work identically. Since IntEnum is int-compatible, existing code using the constants will continue to work without modification.

2.8.2

  • Pyodide binary wheels will no longer be built by default. It is not possible to upload these to PyPI currently. We may consider reenabling them and putting them on the GitHub Releases page in the future if there is interest.

2.8.1

  • When upgrading to cibuildwheel 3.0.0, we inadvertently changed the artifact names, causing the wheels to not be uploaded to PyPI. This release fixes that. There are no other code changes. Report by David Hotham. GitHub #225.

2.8.0

  • Python 3.14 is now officially supported, including binary wheels.
  • We have updated the platforms that we build binary wheels for. In particular, we now build wheels for Android, iOS, Windows Arm, and Pyodide, and we have dropped 686 (32 bit), ppc64le, and s390x builds on Linux.
Changelog

Sourced from maxminddb's changelog.

3.0.0 (2025-10-15) ++++++++++++++++++

  • IMPORTANT: Python 3.10 or greater is required. If you are using an older version, please use an earlier release.
  • Databases can now be loaded from buffers. This can be done by passing in a buffer as the database and using mode MODE_FD. Pull request by Emanuel Seemann. GitHub #234.
  • The C extension now supports Python 3.13+ free-threading mode and is thread-safe for concurrent reads on platforms with pthread support (such as Linux and macOS) and Windows. On other platforms, the extension will use GIL-based protection.
  • The C extension now uses PEP 489 multi-phase initialization, enabling proper subinterpreter support and module isolation for Python 3.12+. This modernizes the extension to use heap types instead of static types and implements per-module state management. Key benefits include support for Python 3.12+ isolated subinterpreters, multiple independent module instances, and future-proofing for Python 3.14's InterpreterPoolExecutor. Requested by R. Christian McDonald in GitHub #105.
  • BREAKING: The pure Python maxminddb.reader.Metadata class has been converted to a frozen dataclass. The __repr__ format has changed from maxminddb.reader.Metadata(...) to Metadata(...). More importantly, all Metadata attributes are now readonly and cannot be modified after creation. If you were modifying metadata attributes after object creation, you will need to update your code. All functionality remains the same, including the node_byte_size and search_tree_size properties. Note: The C extension's Metadata class has always been readonly, so this change brings the pure Python implementation into consistency with the C extension.
  • MODE constants have been converted to an IntEnum (maxminddb.const.Mode). The old constants (MODE_AUTO, MODE_FILE, etc.) remain available for backward compatibility and are now aliases to the enum members. This provides better IDE support and type safety while maintaining full backward compatibility. You can now use either Mode.FILE or MODE_FILE - both work identically. Since IntEnum is int-compatible, existing code using the constants will continue to work without modification.

2.8.2 (2025-07-25) ++++++++++++++++++

  • Pyodide binary wheels will no longer be built by default. It is not possible to upload these to PyPI currently. We may consider reenabling them and putting them on the GitHub Releases page in the future if there is interest.

2.8.1 (2025-07-25) ++++++++++++++++++

  • When upgrading to cibuildwheel 3.0.0, we inadvertently changed the artifact names, causing the wheels to not be uploaded to PyPI. This release fixes that. There are no other code changes. Report by David Hotham. GitHub #225.

... (truncated)

Commits
  • 00dda80 Update for v3.0.0
  • 30a1061 Set release date
  • 7120b7b Merge pull request #268 from maxmind/greg/fix-readthedocs
  • fd73e1d Fix readthedocs builds
  • f0edc90 Merge pull request #267 from maxmind/greg/eng-3216-pep489
  • a4db64a Update README to recommend Mode enum over MODE constants
  • 5648f66 Use single source of truth for version from pyproject.toml
  • f8fbd34 Remove Jython support
  • 9f87518 Improve type annotations for Record types and Decoder
  • 53101d0 Convert MODE constants to IntEnum
  • 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 [maxminddb](https://github.com/maxmind/MaxMind-DB-Reader-python) from 2.7.0 to 3.0.0.
- [Release notes](https://github.com/maxmind/MaxMind-DB-Reader-python/releases)
- [Changelog](https://github.com/maxmind/MaxMind-DB-Reader-python/blob/main/HISTORY.rst)
- [Commits](maxmind/MaxMind-DB-Reader-python@v2.7.0...v3.0.0)

---
updated-dependencies:
- dependency-name: maxminddb
  dependency-version: 3.0.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 20, 2025
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.

0 participants