Skip to content

Commit

Permalink
Avoid using broken pip 2020-resolver (#2904)
Browse files Browse the repository at this point in the history
Apparently new resolved can get into endless loops of building packages.

Related: pypa/pip#8713
  • Loading branch information
ssbarnea authored Oct 19, 2020
1 parent 44554b3 commit b33262a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
build:
name: ${{ matrix.tox_env }}
runs-on: ubuntu-latest
# limit potential endless looks like we had with build-containers
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,11 @@ molecule-vagrant \
"

# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917006
RUN PIP_USE_FEATURE=2020-resolver python3 -m pip install -U wheel pip setuptools
RUN python3 -m pip install -U wheel pip setuptools

ADD . .

RUN \
PIP_USE_FEATURE=2020-resolver \
python3 -m pip wheel \
-w dist --no-build-isolation \
".[${MOLECULE_EXTRAS}]" testinfra ${MOLECULE_PLUGINS}
Expand Down Expand Up @@ -186,7 +185,6 @@ COPY --from=molecule-builder \
/usr/src/molecule/dist

RUN \
PIP_USE_FEATURE=2020-resolver \
python3 -m pip install \
${PIP_INSTALL_ARGS} \
"molecule[${MOLECULE_EXTRAS}]" testinfra ${MOLECULE_PLUGINS} && \
Expand Down

0 comments on commit b33262a

Please sign in to comment.