Skip to content

Commit f31d696

Browse files
committed
Bump version to 0.2.4
Update package version to 0.2.4 in pyproject.toml and README. Inline VERSION in protox_gatekeeper/geo.py instead of using get_version_from_toml, and remove protox_gatekeeper/utils.py and its unit test. Simplifies version handling by removing the TOML-parsing helper and associated test. Took 9 minutes
1 parent 7bdfb11 commit f31d696

5 files changed

Lines changed: 4 additions & 25 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ MIT License
264264
---
265265

266266
## Status
267-
- Version: **v0.2.3**
267+
- Version: **v0.2.4**
268268
- Phase 2 in progress
269269
- API intentionally minimal
270270

protox_gatekeeper/geo.py

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

33
import requests
44

5-
from protox_gatekeeper.utils import get_version_from_toml
6-
75
logger = logging.getLogger(__name__)
86

9-
VERSION = get_version_from_toml()
7+
VERSION = '0.2.4'
8+
109

1110
def geo_lookup(ip: str) -> str | None:
1211
""" Tries to lookup geolocation for a given IP address of the Tor exit """

protox_gatekeeper/utils.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "protox-gatekeeper"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "Fail-closed Tor session enforcement for Python HTTP(S) traffic"
99
readme = "README.md"
1010
license = { file = "LICENSE" }

tests/unit/test_utils.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)