my builds started to fail at the installation stage
on python3.8 all goes fine
$ python --version
Python 3.8.0
$ pip --version
pip 19.3 from /home/travis/virtualenv/python3.8.0/lib/python3.8/site-packages/pip (python 3.8)
$ pip install tox-travis
$ tox
.package installdeps: flit
py38 create: /home/travis/build/avaldebe/PyPMS/.tox/py38
py38 installdeps: pytest
py38 inst: /home/travis/build/avaldebe/PyPMS/.tox/.tmp/package/1/PyPMS-0.1.5.tar.gz
[...]
but on python3.6 and 3.7 the installation fails
$ python --version
Python 3.6.7
$ pip --version
pip 19.0.3 from /home/travis/virtualenv/python3.6.7/lib/python3.6/site-packages/pip (python 3.6)
$ pip install tox-travis
$ tox
.package create: /home/travis/build/avaldebe/PyPMS/.tox/.package
.package installdeps: flit
py36 create: /home/travis/build/avaldebe/PyPMS/.tox/py36
py36 installdeps: pytest, pytest-black, pytest-mypy
py36 inst: /home/travis/build/avaldebe/PyPMS/.tox/.tmp/package/1/PyPMS-0.1.5.tar.gz
ERROR: invocation failed (exit code 1), logfile: /home/travis/build/avaldebe/PyPMS/.tox/py36/log/py36-2.log
================================== log start ===================================
Processing ./.tox/.tmp/package/1/PyPMS-0.1.5.tar.gz
Missing build time requirements in pyproject.toml for file:///home/travis/build/avaldebe/PyPMS/.tox/.tmp/package/1/PyPMS-0.1.5.tar.gz: 'setuptools' and 'wheel'.
This version of pip does not implement PEP 517 so it cannot build a wheel without 'setuptools' and 'wheel'.
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/travis/build/avaldebe/PyPMS/.tox/py36/lib/python3.6/tokenize.py", line 452, in open
buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-req-build-8cdyu2ei/setup.py'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-req-build-8cdyu2ei/
BTW, I’m using flit to setup/install the package and tox to run my tests