Skip to content

Commit

Permalink
requirements-ci.txt is replaced by requirements-dev.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
henryborchers committed Jan 10, 2024
1 parent d938e89 commit bbace37
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 19 deletions.
6 changes: 3 additions & 3 deletions ci/docker/linux/jenkins/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ RUN python -m pip --no-cache-dir install --upgrade pip && \
FROM base_python AS wheel_builder
ARG PIP_EXTRA_INDEX_URL
ARG PIP_INDEX_URL
COPY requirements-ci.txt /requirements/
COPY requirements-dev.txt /requirements/
COPY requirements/ /requirements/requirements/

ARG PIP_FIND_LINKS
RUN mkdir -p ${PIP_FIND_LINKS} && \
pip wheel --wheel-dir=${PIP_FIND_LINKS} --no-cache-dir -r /requirements/requirements-ci.txt
pip wheel --wheel-dir=${PIP_FIND_LINKS} --no-cache-dir -r /requirements/requirements-dev.txt

FROM base_python AS conan_builder
ARG CONAN_USER_HOME
Expand Down Expand Up @@ -107,7 +107,7 @@ ARG PIP_TRUSTED_HOST
COPY --from=wheel_builder ${PIP_FIND_LINKS}/* ${PIP_FIND_LINKS}/
COPY --from=wheel_builder requirements/ /requirements
RUN pip install --no-index --no-cache-dir --find-links=${PIP_FIND_LINKS} \
-r /requirements/requirements-ci.txt
-r /requirements/requirements-dev.txt

ARG CONAN_USER_HOME
COPY --from=conan_builder ${CONAN_USER_HOME}/.conan/ ${CONAN_USER_HOME}/.conan/
Expand Down
8 changes: 4 additions & 4 deletions ci/docker/linux/tox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ RUN mkdir -p /.cache/pip && \

FROM wheel_builder_base AS conan_builder
ARG CONAN_USER_HOME
COPY requirements/requirements-ci-freeze.txt /tmp/requirements-ci-freeze.txt
RUN python3 -m pip install pip --upgrade && pip3 install --no-cache-dir -r /tmp/requirements-ci-freeze.txt
COPY requirements/requirements-dev-freeze.txt /tmp/requirements-dev-freeze.txt
RUN python3 -m pip install pip --upgrade && pip3 install --no-cache-dir -r /tmp/requirements-dev-freeze.txt
COPY ci/docker/shared/conan/remotes.json ${CONAN_USER_HOME}/.conan/remotes.json
COPY conanfile.py /tmp/conanfile.py
COPY ci/docker/linux/tox/update_conan_compiler.py /tmp/update_conan_compiler.py
Expand All @@ -41,8 +41,8 @@ ARG PIP_EXTRA_INDEX_URL
ARG PIP_INDEX_URL

COPY requirements/ /tmp/requirements/requirements/
COPY requirements-ci.txt /tmp/requirements/requirements-ci.txt
RUN python3 -m pip install pip --upgrade && pip3 install --no-cache-dir -r /tmp/requirements/requirements-ci.txt
COPY requirements-dev.txt /tmp/requirements/requirements-dev.txt
RUN python3 -m pip install pip --upgrade && pip3 install --no-cache-dir -r /tmp/requirements/requirements-dev.txt


COPY --from=conan_builder ${CONAN_USER_HOME}/.conan/ ${CONAN_USER_HOME}/.conan/
Expand Down
4 changes: 2 additions & 2 deletions ci/docker/windows/tox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ RUN certutil -addstore -f root roots.sst ; `
ARG PIP_EXTRA_INDEX_URL
ARG PIP_INDEX_URL
COPY requirements-ci.txt c:/python_requirments/
COPY requirements-dev.txt c:/python_requirments/
COPY requirements/ c:/python_requirments/requirements
RUN py -3.8 -m pip install --upgrade pip ; `
py -3.9 -m pip install --upgrade pip ; `
py -3.10 -m pip install --upgrade pip ; `
py -3.11 -m pip install --upgrade pip ; `
py -3.12 -m pip install --upgrade pip ; `
python -m pip install pip --upgrade ; pip install --no-cache-dir -r c:/python_requirments/requirements-ci.txt
python -m pip install pip --upgrade ; pip install --no-cache-dir -r c:/python_requirments/requirements-dev.txt
ARG CONAN_USER_HOME
COPY --from=CONAN_BUILDER ${CONAN_USER_HOME}/.conan/ ${CONAN_USER_HOME}/.conan/
Expand Down
4 changes: 2 additions & 2 deletions ci/docker/windows/tox_no_vs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ RUN certutil -addstore -f root roots.sst ; `
ARG PIP_EXTRA_INDEX_URL
ARG PIP_INDEX_URL

COPY requirements-ci.txt c:/python_requirments/
COPY requirements-dev.txt c:/python_requirments/
COPY requirements/ c:/python_requirments/requirements
RUN python -m pip install pip --upgrade ; pip install --no-cache-dir -r c:/python_requirments/requirements-ci.txt
RUN python -m pip install pip --upgrade ; pip install --no-cache-dir -r c:/python_requirments/requirements-dev.txt

ARG PIP_DOWNLOAD_CACHE
RUN New-Item -type directory -path ${Env:PIP_DOWNLOAD_CACHE} -Force
Expand Down
5 changes: 0 additions & 5 deletions requirements-ci.txt

This file was deleted.

4 changes: 3 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
-r requirements/requirements-tox.txt
-r requirements/requirements-dev.txt
-r requirements/requirements-dev-freeze.txt
-r requirements/requirements-tox.txt
-r requirements/requirements-extras.txt
1 change: 0 additions & 1 deletion requirements/requirements-ci.txt

This file was deleted.

File renamed without changes.
3 changes: 2 additions & 1 deletion requirements/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ pytest
pytest-bdd<4.0
sphinx
toml
uiucprescon.build @ git+https://github.com/UIUCLibrary/uiucprescon_build.git@v0.1.0
uiucprescon.build @ git+https://github.com/UIUCLibrary/uiucprescon_build.git@v0.1.0
twine

0 comments on commit bbace37

Please sign in to comment.