On Mon, 29 Nov 2021, Scott Talbert wrote:
ERROR: py310: could not install deps [django>=2.2.*, pytest, pytest-cov,
pytest-django, pytest-xdist]; v =
InvocationError("/build/diskcache-5.2.1/.tox/py310/bin/python -m pip
install 'django>=2.2.*' pytest pytest-cov pytest-django pytest-xdist", 1)
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1:
cd /build/diskcache-5.2.1/.pybuild/cpython3_3.10_diskcache/build; tox -c
/build/diskcache-5.2.1/tox.ini --sitepa
The actual error:
ERROR: Could not find a version that satisfies the requirement
typing-extensions>=3.6.4 (from importlib-metadata)
ERROR: No matching distribution found for typing-extensions>=3.6.4
That is a really strange error. importlib-metadata requires
typing-extenstions>=3.6.4, but it's supposed to be only for python < 3.8.
Almost seems like a pip bug when comparing version strings? Perhaps its
confused with the two-digits in python 3.10?
Yep, I confirmed this is a bug in pip (and apparently a downstream one)
and filed a separate bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000826
Scott