From 88afa6fccafce032a2f46cfa6c601b4aa4f17b9e Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 5 Mar 2026 09:52:01 -0800 Subject: [PATCH 1/3] Update libmaxminddb to 1.13.3 --- HISTORY.rst | 9 +++++++++ extension/libmaxminddb | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 954f57f..f463918 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,6 +3,15 @@ History ------- +3.1.1 (2026-03-05) +++++++++++++++++++ + +* The vendored ``libmaxminddb`` has been updated to 1.13.3. This includes + a fix for the validation of empty maps and arrays at the end of the + metadata section. Previously, the extension would incorrectly reject + databases where a 0-element map or array was the last field in metadata. + Reported in vimt/MaxMind-DB-Writer-python#16. + 3.1.0 (2026-02-24) ++++++++++++++++++ diff --git a/extension/libmaxminddb b/extension/libmaxminddb index de43d4f..09a0540 160000 --- a/extension/libmaxminddb +++ b/extension/libmaxminddb @@ -1 +1 @@ -Subproject commit de43d4f767f22ea4027892a01d5aec89687757da +Subproject commit 09a0540fea89a16e5c6a9e21e93ee9aece6639e3 From 99ccfad8c0f277c84a626fb016007b66b4082d75 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 5 Mar 2026 09:57:25 -0800 Subject: [PATCH 2/3] Use uv managed Python in tox instead of system Python This avoids requiring system python-dev packages to be installed for compiling the C extension during tox runs. Co-Authored-By: Claude Opus 4.6 --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c0d1e08..b4f4e8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,6 +111,7 @@ skip_missing_interpreters = false [tool.tox.env_run_base] runner = "uv-venv-lock-runner" +uv_python_preference = "managed" dependency_groups = [ "dev", ] From 09f43738052d7768c849d94322a4dd617bc7f836 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Thu, 5 Mar 2026 09:58:26 -0800 Subject: [PATCH 3/3] Update for v3.1.1 --- pyproject.toml | 2 +- uv.lock | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b4f4e8d..8a43043 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "maxminddb" -version = "3.1.0" +version = "3.1.1" description = "Reader for the MaxMind DB format" authors = [ {name = "Gregory Oschwald", email = "goschwald@maxmind.com"}, diff --git a/uv.lock b/uv.lock index b350c43..63a00fd 100644 --- a/uv.lock +++ b/uv.lock @@ -134,7 +134,7 @@ wheels = [ [[package]] name = "maxminddb" -version = "3.1.0" +version = "3.1.1" source = { editable = "." } [package.dev-dependencies]