Skip to content

Commit

Permalink
Dependencies: Temporarily accept either requirements.txt and requirem…
Browse files Browse the repository at this point in the history
…ents.dev.txt in the dev container

As part of rucio/rucio#6750, we split
`requirements.txt` in `rucio/rucio` into separate requirements files,
depending on the application. We are keeping this change unreleased
until the next major Rucio release.

Until then, integration tests on `rucio/rucio:master` will use the new
`requirements.dev.txt` file, while the ones on `rucio/rucio:release-34`
will use the old `requirements.txt` file.

This commit is a temporary fix which will be removed after the next
major release. This issue will remain open until then: rucio#323
  • Loading branch information
rdimaio committed Jun 10, 2024
1 parent 0f2ab96 commit 9f8d52f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ RUN mkdir -p \

RUN python3 -m pip install --no-cache --upgrade pip && \
python3 -m pip install --no-cache --upgrade setuptools wheel && \
if [ -r /tmp/rucio/requirements/requirements.dev.txt ]; then \
if [ -r /tmp/rucio/requirements/requirements.txt ]; then \
python3 -m pip install --no-cache --upgrade -r /tmp/rucio/requirements/requirements.txt ; \
elif [ -r /tmp/rucio/requirements/requirements.dev.txt ]; then \
python3 -m pip install --no-cache --upgrade -r /tmp/rucio/requirements/requirements.dev.txt ; \
else \
python3 -m pip install --no-cache --upgrade -r /tmp/rucio/etc/pip-requires-client \
Expand Down

0 comments on commit 9f8d52f

Please sign in to comment.