Skip to content

Commit e2ba08f

Browse files
committed
Fix missing mod_wsgi in the venv
Fedora instance fails with. See: https://pagure.io/fedora-infra/ansible/pull-request/3077#comment-228037
1 parent 6ad07e6 commit e2ba08f

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ EXPOSE 5001
109109

110110
# Validate virtual environment
111111
RUN /app/entrypoint.sh python -c 'import resultsdb' \
112-
&& mod_wsgi-express module-config \
112+
&& /app/entrypoint.sh python -c 'import mod_wsgi.server' \
113+
&& /app/entrypoint.sh mod_wsgi-express module-config \
113114
&& /app/entrypoint.sh resultsdb --help
114115

115116
ENTRYPOINT ["/app/entrypoint.sh"]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ dependencies = [
3030
"opentelemetry-instrumentation-sqlalchemy>=0.46b0,<1.0.0",
3131
"tenacity>=9.0.0,<10.0.0",
3232
"setuptools>=80.9.0",
33+
"mod-wsgi>=5.0.2",
3334
]
3435

3536
[project.optional-dependencies]

uv.lock

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)