Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/physionet-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ jobs:
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
source $VIRTUAL_ENV/bin/activate
if [ ${{matrix.pip3}} = 'poetry' ]; then
pip3 install poetry
pip3 install "poetry<2"
poetry config virtualenvs.create false
poetry config installer.modern-installation false
poetry install --no-root
else
pip3 install -r requirements.txt
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,14 @@ RUN wget https://github.com/bemoody/lightwave/archive/0.73.tar.gz -O lightwave.t
&& (cd lightwave-* && make sandboxed-lightwave && mkdir -p /usr/local/bin && install -m 4755 sandboxed-lightwave /usr/local/bin) \
&& rm -rf lightwave*

RUN pip install poetry \
RUN pip install "poetry<2" \
&& rm -rf /root/.cache/pip

WORKDIR /code
COPY pyproject.toml poetry.lock ./

RUN poetry config virtualenvs.create false \
&& poetry config installer.modern-installation false \
&& poetry install --no-root \
&& rm -rf /root/.cache/pypoetry /root/.cache/pip

Expand Down
Loading