Skip to content
Snippets Groups Projects
Commit da428ab8 authored by Antoine Lambert's avatar Antoine Lambert
Browse files

requirements: Cleanup and normalize

Use lowercase only for requirement names and sort them in
lexicographical order.

Move types-* in requirements-test.txt files as they are not
required for execution.

Remove no longer used requirements-test-db.txt file and associated
testing-db extra in setup.py.
parent 55a22441
No related branches found
No related tags found
No related merge requests found
# requirements for swh.core.api
aiohttp
aiohttp_utils >= 3.1.1
Flask
blinker # dependency of sentry-sdk[flask]
flask
iso8601
msgpack >= 1.0.0
requests
blinker # dependency of sentry-sdk[flask]
types-Flask
pytest
pytest-mock
requests-mock
hypothesis >= 3.11.0
pre-commit
pytest
pytest-mock
pytz
requests-mock
types-click
types-flask
types-pytz
types-pyyaml
types-requests
......@@ -56,11 +56,10 @@ setup(
"testing-core": parse_requirements("test"),
"logging": parse_requirements("logging"),
"db": parse_requirements("db", "db-pytestplugin"),
"testing-db": parse_requirements("test-db"),
"http": parse_requirements("http"),
# kitchen sink, please do not use
"testing": parse_requirements(
"test", "test-db", "db", "db-pytestplugin", "http", "logging"
"test", "db", "db-pytestplugin", "http", "logging"
),
},
include_package_data=True,
......
......@@ -6,7 +6,7 @@ passenv = PYTHONASYNCIODEBUG
extras =
testing-core
core: logging
db: db, testing-db
db: db
server: http
deps =
cover: pytest-cov
......@@ -43,7 +43,6 @@ extras =
testing-core
logging
db
testing-db
http
deps =
mypy
......@@ -60,7 +59,6 @@ extras =
testing-core
logging
db
testing-db
http
deps =
# fetch and install swh-docs in develop mode
......@@ -83,7 +81,6 @@ extras =
testing-core
logging
db
testing-db
http
deps =
# install swh-docs in develop mode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment