Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 27af44f

Browse files
authored
Deprecate geoip stubs (#5967)
Geoip comes with its own type hints starting at version 4.0.2.
1 parent 5a7f255 commit 27af44f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

stubs/geoip2/@tests/stubtest_allowlist.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
geoip2.database.Reader.__exit__
22
geoip2.database.Reader.__init__
3-
geoip2.errors.HTTPError.__init__
43
geoip2.models.SimpleModel.__init__
54
geoip2.records.City.__init__
65
geoip2.records.Continent.__init__

stubs/geoip2/METADATA.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
version = "0.1"
1+
version = "3.0"
2+
obsolete_since = "4.0.2"
23
python2 = true
34
requires = ["types-maxminddb"]

0 commit comments

Comments
 (0)