Skip to content

Commit 436dd70

Browse files
authored
Merge pull request #263 from maxmind/greg/eng-3324
Release 3.2.0
2 parents 0ae363b + bb2e26d commit 436dd70

File tree

5 files changed

+281
-114
lines changed

5 files changed

+281
-114
lines changed

HISTORY.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
History
44
-------
55

6-
3.2.0
6+
3.2.0 (2025-11-20)
77
++++++++++++++++++
88

99
* IMPORTANT: Python 3.10 or greater is required. If you are using an older

dev-bin/release.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
set -eu -o pipefail
44

5+
# Check that we're not on the main branch
6+
current_branch=$(git branch --show-current)
7+
if [ "$current_branch" = "main" ]; then
8+
echo "Error: Releases should not be done directly on the main branch."
9+
echo "Please create a release branch and run this script from there."
10+
exit 1
11+
fi
12+
513
changelog=$(cat HISTORY.rst)
614

715
regex='
@@ -33,11 +41,11 @@ if [ -n "$(git status --porcelain)" ]; then
3341
exit 1
3442
fi
3543

36-
perl -pi -e "s/(?<=__version__ = \").+?(?=\")/$version/g" minfraud/version.py
44+
perl -pi -e "s/(?<=__version__ = \").+?(?=\")/$version/g" src/minfraud/version.py
3745
perl -pi -e "s/(?<=^version = \").+?(?=\")/$version/gsm" pyproject.toml
3846

3947
echo $"Test results:"
40-
tox
48+
uv run tox
4149

4250
echo $'\nDiff:'
4351
git diff

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "minfraud"
3-
version = "3.1.0"
3+
version = "3.2.0"
44
description = "MaxMind minFraud API"
55
authors = [
66
{name = "Gregory Oschwald", email = "goschwald@maxmind.com"},
77
]
88
dependencies = [
99
"aiohttp>=3.6.2,<4.0.0",
1010
"email_validator>=2.0.0,<3.0.0",
11-
"geoip2>=5.1.0,<6.0.0",
11+
"geoip2>=5.2.0,<6.0.0",
1212
"requests>=2.24.0,<3.0.0",
1313
"typing-extensions>=4.13.2",
1414
"voluptuous",
@@ -37,6 +37,7 @@ classifiers = [
3737
dev = [
3838
"pytest>=8.3.5",
3939
"pytest-httpserver>=1.0.10",
40+
"tox-uv>=1.29.0",
4041
]
4142
lint = [
4243
"mypy>=1.15.0",

src/minfraud/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
"""Internal module for version (to prevent cyclic imports)."""
22

3-
__version__ = "3.1.0"
3+
__version__ = "3.2.0"

0 commit comments

Comments
 (0)