Skip to content

Commit

Permalink
.travis.yml: Force reinstall setuptools
Browse files Browse the repository at this point in the history
The version of setuptools in the Travis virtualenv is current (44.1.1),
but tox .package get-build-requires fails with:

    running egg_info
    error: 'egg_base' must be a directory name (got `src`)

Which appears to be pypa/setuptools#1136
Perhaps Debian package (copied into virtualenv) is affected?  Reinstall
to avoid the issue.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
  • Loading branch information
kevinoid committed Oct 22, 2020
1 parent cc64c00 commit 802e8a2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ jobs:
env: TOXENV=pypy3

install:
- pip install --upgrade codecov coveralls setuptools tox wheel
# Pre-installed version 44.1.1 affected by
# https://github.com/pypa/setuptools/issues/1136
- pip install --force setuptools
- pip install --upgrade codecov coveralls tox wheel

script:
- tox -vv
Expand Down

0 comments on commit 802e8a2

Please sign in to comment.