chore(requirements): improve requirements management (#1710)

* chore(py2): get rid of Python 2 specific requirements

* chore(ci-windows): unify linux and windows requirements

---------

Co-authored-by: Stevie Gayet <stegayet@users.noreply.github.com>
This commit is contained in:
Stevie Gayet 2023-05-16 15:34:34 +02:00 committed by GitHub
parent e0392add4c
commit 2ebb698932
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 17 deletions

View File

@ -1,13 +0,0 @@
pytest-cov
codecov
-r extras/redis.txt
-r extras/yaml.txt
-r extras/msgpack.txt
-r extras/azureservicebus.txt
-r extras/azurestoragequeues.txt
-r extras/consul.txt
-r extras/librabbitmq.txt
-r extras/zookeeper.txt
-r extras/brotli.txt
-r extras/zstd.txt
-r extras/sqlalchemy.txt

View File

@ -1,11 +1,15 @@
pytest-cov pytest-cov
codecov; sys_platform == 'win32'
librabbitmq>=2.0.0; sys_platform == 'win32'
-r extras/redis.txt -r extras/redis.txt
-r extras/mongodb.txt pymongo>=4.1.1; sys_platform != 'win32'
-r extras/yaml.txt -r extras/yaml.txt
-r extras/msgpack.txt -r extras/msgpack.txt
-r extras/azureservicebus.txt -r extras/azureservicebus.txt
-r extras/azurestoragequeues.txt -r extras/azurestoragequeues.txt
-r extras/sqs.txt boto3==1.26.104; sys_platform != 'win32'
pycurl==7.43.0.5; sys_platform != 'win32'
urllib3==1.26.15; sys_platform != 'win32'
-r extras/consul.txt -r extras/consul.txt
-r extras/zookeeper.txt -r extras/zookeeper.txt
-r extras/brotli.txt -r extras/brotli.txt

View File

@ -27,9 +27,8 @@ deps=
-r{toxinidir}/requirements/dev.txt -r{toxinidir}/requirements/dev.txt
apicheck,pypy3.9,3.8,3.9,3.10,3.11: -r{toxinidir}/requirements/default.txt apicheck,pypy3.9,3.8,3.9,3.10,3.11: -r{toxinidir}/requirements/default.txt
apicheck,pypy3.9,3.8,3.9,3.10,3.11: -r{toxinidir}/requirements/test.txt apicheck,pypy3.9,3.8,3.9,3.10,3.11: -r{toxinidir}/requirements/test.txt
apicheck,pypy3.9,linux,3.8-linux,3.9-linux,3.10-linux,3.11-linux: -r{toxinidir}/requirements/test-ci.txt apicheck,pypy3.9,3.8,3.9,3.10,3.11: -r{toxinidir}/requirements/test-ci.txt
apicheck,3.8-linux,3.9-linux,3.10-linux,3.11-linux: -r{toxinidir}/requirements/extras/confluentkafka.txt apicheck,3.8-linux,3.9-linux,3.10-linux,3.11-linux: -r{toxinidir}/requirements/extras/confluentkafka.txt
3.8-windows,3.9-windows,3.10-windows,3.11-windows: -r{toxinidir}/requirements/test-ci-windows.txt
apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt apicheck,linkcheck: -r{toxinidir}/requirements/docs.txt
flake8,pydocstyle,mypy: -r{toxinidir}/requirements/pkgutils.txt flake8,pydocstyle,mypy: -r{toxinidir}/requirements/pkgutils.txt