File tree Expand file tree Collapse file tree 5 files changed +281
-114
lines changed Expand file tree Collapse file tree 5 files changed +281
-114
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 22
33set -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+
513changelog=$( cat HISTORY.rst)
614
715regex='
@@ -33,11 +41,11 @@ if [ -n "$(git status --porcelain)" ]; then
3341 exit 1
3442fi
3543
36- perl -pi -e " s/(?<=__version__ = \" ).+?(?=\" )/$version /g" minfraud/version.py
44+ perl -pi -e " s/(?<=__version__ = \" ).+?(?=\" )/$version /g" src/ minfraud/version.py
3745perl -pi -e " s/(?<=^version = \" ).+?(?=\" )/$version /gsm" pyproject.toml
3846
3947echo $" Test results:"
40- tox
48+ uv run tox
4149
4250echo $' \n Diff:'
4351git diff
Original file line number Diff line number Diff line change 11[project ]
22name = " minfraud"
3- version = " 3.1 .0"
3+ version = " 3.2 .0"
44description = " MaxMind minFraud API"
55authors = [
66 {name = " Gregory Oschwald" , email = " goschwald@maxmind.com" },
77]
88dependencies = [
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 = [
3737dev = [
3838 " pytest>=8.3.5" ,
3939 " pytest-httpserver>=1.0.10" ,
40+ " tox-uv>=1.29.0" ,
4041]
4142lint = [
4243 " mypy>=1.15.0" ,
Original file line number Diff line number Diff line change 11"""Internal module for version (to prevent cyclic imports)."""
22
3- __version__ = "3.1 .0"
3+ __version__ = "3.2 .0"
You can’t perform that action at this time.
0 commit comments