From 77d2732cc03011b399eaf574d7e4773b5d423755 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 9 May 2023 13:03:18 -0700 Subject: [PATCH 1/4] Add history entry for #106 --- HISTORY.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HISTORY.rst b/HISTORY.rst index ebba391d..9c81f784 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -9,6 +9,8 @@ History * IMPORTANT: Python 3.7 or greater is required. If you are using an older version, please use an earlier release. * ``distutils`` is no longer used for building the C extension. +* Missing ``Py_INCREF`` was added to module initialization for the C + extension. Pull request by R. Christian McDonald. GitHub #106. 2.2.0 (2021-09-24) ++++++++++++++++++ From d16cbffdd8e3888c6b3684c6788185ba111de6fd Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 9 May 2023 13:03:39 -0700 Subject: [PATCH 2/4] Set release date --- HISTORY.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index 9c81f784..fbdd64bd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -3,7 +3,7 @@ History ------- -2.3.0 +2.3.0 (2023-05-09) ++++++++++++++++++ * IMPORTANT: Python 3.7 or greater is required. If you are using an older From f8d93b3cf4a24ec1e65a292acf47354780ac1e31 Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 9 May 2023 13:06:08 -0700 Subject: [PATCH 3/4] Update for v2.3.0 --- maxminddb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maxminddb/__init__.py b/maxminddb/__init__.py index b521a7d5..72be9dac 100644 --- a/maxminddb/__init__.py +++ b/maxminddb/__init__.py @@ -81,7 +81,7 @@ def open_database( __title__ = "maxminddb" -__version__ = "2.2.0" +__version__ = "2.3.0" __author__ = "Gregory Oschwald" __license__ = "Apache License, Version 2.0" __copyright__ = "Copyright 2013-2021 MaxMind, Inc." From 7bad9657bda7b2056d37d0abffb804b7ddf4506d Mon Sep 17 00:00:00 2001 From: Gregory Oschwald Date: Tue, 9 May 2023 13:09:21 -0700 Subject: [PATCH 4/4] Only commit if there are changes --- dev-bin/release.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-bin/release.sh b/dev-bin/release.sh index bb34f61a..12118c08 100755 --- a/dev-bin/release.sh +++ b/dev-bin/release.sh @@ -53,7 +53,9 @@ if [ "$should_push" != "y" ]; then exit 1 fi -git commit -m "Update for $tag" -a +if [ -n "$(git status --porcelain)" ]; then + git commit -m "Update for $tag" -a +fi git push