You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#828 introduced build-time detection of resolution errors but this new facility can trip erroneously when environment markers are in-play. For example, as discovered upgrading Pants to Pex 2.1.0 in pantsbuild/pants#8881:
$ python2 -mpex --disable-cache --interpreter-constraint "CPython==3.6.*" pytest pytest-cov pytest-rerunfailures pytest-timeout setuptools==44.0.0
Failed to resolve compatible distributions:
1: importlib-metadata==1.4.0 requires configparser>=3.5; python_version < "3" but None was resolved
2: importlib-metadata==1.4.0 requires contextlib2; python_version < "3" but None was resolved
3: importlib-metadata==1.4.0 requires pathlib2; python_version < "3" but None was resolved
4: pytest==5.3.3 requires pathlib2>=2.2.0; python_version < "3.6" but None was resolved
Here it is correct to not resolve any of the 4 mentioned items since they all only apply for python <3.6 whereas the pex is being built for 3.6.
The text was updated successfully, but these errors were encountered:
#828 introduced build-time detection of resolution errors but this new facility can trip erroneously when environment markers are in-play. For example, as discovered upgrading Pants to Pex 2.1.0 in pantsbuild/pants#8881:
Here it is correct to not resolve any of the 4 mentioned items since they all only apply for python <3.6 whereas the pex is being built for 3.6.
The text was updated successfully, but these errors were encountered: