Description
I use only the database functionality of this package, and do all web management myself using aiohttp. It would be great if this package didn't pull requests
into my dependency graph as my application is entirely async, (and also didn't force my aiohttp version to be less than 4 in case that ever gets updated).
I think you can use the extras_require
argument to setup()
(with setuptools) to add optional dependencies. Maybe something like:
extras_require={
"all": ["requests>=2.24.0,<3.0.0", "aiohttp>=3.6.2,<4.0.0"],
"requests": "requests>=2.24.0,<3.0.0",
"aiohttp": "aiohttp>=3.6.2,<4.0.0",
}
For reference: https://setuptools.readthedocs.io/en/latest/userguide/dependency_management.html#id7
And example: https://github.com/palantir/python-language-server/blob/0fa74bae6fbb331498dbc39b6257d74357edea2f/setup.py#L51
Additionally, I see that urllib3
is listed in the requirements, but I don't see it being imported anywhere. Maybe that can be removed?