requirements: remove unused imports, move some to devel reqs
All checks were successful
Run tests and linters / test (pull_request) Successful in 2m48s

These requirements are no longer needed. Move pytest and munch to devel reqs,
because they are only needed for tests.

Related: #306
Co-authored-by: Kamil Páral <kparal@redhat.com>
This commit is contained in:
Jaroslav Groman 2026-06-15 21:58:58 +02:00 committed by Kamil Páral
commit 3fbc4de037
3 changed files with 5 additions and 20 deletions

View file

@ -1,8 +1,12 @@
# include production dependencies
## include production dependencies
-r requirements.txt
## tests
# tests use postgresql and forgejo containers
testcontainers ~= 4.14.0
pytest
pytest-cov
munch
## linters
python-language-server[rope]
@ -13,7 +17,6 @@ ruff
types-Flask
munch-stubs
types-requests
types-mock
types-setuptools
## documentation

View file

@ -5,27 +5,15 @@ Werkzeug ~= 3.1.6
alembic
# bodhi-client 5.7.5 because of compatibility with Bodhi 6 server
bodhi-client >= 5.7.5
email_validator
flask-oidc >= 2.3.1
Flask-SQLAlchemy
iso8601
Jinja2
kitchen
koji
mock
munch
psycopg[binary,pool]
py
pycurl
pyforgejo
pytest-cov
pytest
# bugzilla 3.2.0 because of API auth changes:
# https://listman.redhat.com/archives/bugzilla-announce-list/2022-February/msg00000.html
python-bugzilla >= 3.2.0
python-openid-cla
python-openid-teams
python3-openid
SQLAlchemy ~= 2.0.0
# WTForms introduced breaking changes in 3.2.0

View file

@ -58,15 +58,9 @@ setup(
"Flask",
"iso8601",
"Jinja2",
"kitchen",
"munch",
"pycurl",
# bugzilla 3.2.0 because of API auth changes:
# https://listman.redhat.com/archives/bugzilla-announce-list/2022-February/msg00000.html
"python-bugzilla >= 3.2.0",
"python-openid-cla",
"python-openid-teams",
"python3-openid",
"SQLAlchemy",
"Werkzeug",
"WTForms",