-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make aiohttp and requests optional dependencies
- Loading branch information
Showing
5 changed files
with
41 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,7 @@ authors = [ | |
{name = "Gregory Oschwald", email = "[email protected]"}, | ||
] | ||
dependencies = [ | ||
"aiohttp>=3.6.2,<4.0.0", | ||
"maxminddb>=2.5.1,<3.0.0", | ||
"requests>=2.24.0,<3.0.0", | ||
] | ||
requires-python = ">=3.9" | ||
readme = "README.rst" | ||
|
@@ -38,6 +36,12 @@ classifiers = [ | |
test = [ | ||
"pytest-httpserver>=1.0.10", | ||
] | ||
aiohttp = [ | ||
"aiohttp>=3.6.2,<4.0.0", | ||
] | ||
requests = [ | ||
"requests>=2.24.0,<3.0.0", | ||
] | ||
|
||
[tool.ruff.lint] | ||
select = ["ALL"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,3 +45,6 @@ deps = | |
types-requests | ||
voluptuous-stubs | ||
commands = mypy geoip2 tests | ||
extras = | ||
aiohttp | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters