Skip to content

Commit

Permalink
Use correct docs dependencies in centos9 container (#1330)
Browse files Browse the repository at this point in the history
Removed the sphinx* dependencies from the development requirements, and
updated the centos9.Containerfile to use the requirements that comes
from docs/requirements.txt instead.
  • Loading branch information
r0x0d authored Aug 6, 2024
1 parent 30a923e commit 264bd41
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 7 deletions.
3 changes: 2 additions & 1 deletion Containerfiles/centos9.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV PIP pip3
ENV PYTHONDONTWRITEBYTECODE 1

ENV APP_DEV_DEPS "requirements/centos9.requirements.txt"
ENV APP_DOCS_DEPS "requirements/centos9.requirements.txt"
ENV APP_DOCS_DEPS "docs/requirements.txt"
ENV APP_MAIN_DEPS \
util-linux \
python3 \
Expand All @@ -23,6 +23,7 @@ RUN dnf update -y && dnf install -y $APP_MAIN_DEPS && dnf clean all
FROM install_main_deps as install_dev_deps
RUN curl $URL_GET_PIP | $PYTHON
COPY $APP_DEV_DEPS $APP_DEV_DEPS
COPY $APP_DOCS_DEPS $APP_DOCS_DEPS
RUN $PIP install -r $APP_DEV_DEPS -r $APP_DOCS_DEPS

FROM install_dev_deps as install_application
Expand Down
2 changes: 0 additions & 2 deletions requirements/centos7.requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,3 @@ pytest==4.6.11
pathlib2==2.3.7.post1
mock==3.0.5
pytest-cov==2.12.1
sphinx
sphinx_autodoc_typehints
2 changes: 0 additions & 2 deletions requirements/centos8.requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pytest==7.0.1
pytest-cov==3.0.0
coverage[toml]
sphinx
sphinx_autodoc_typehints
2 changes: 0 additions & 2 deletions requirements/centos9.requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
pytest==7.0.1
pytest-cov==3.0.0
coverage[toml]
sphinx
sphinx_autodoc_typehints

0 comments on commit 264bd41

Please sign in to comment.