bitter-ability-32190
04/04/2022, 6:44 PMtyping_extensions
missing import from Pants after a new bootstrap on 2.11.0rc1
]
[Step 8/9] + ./pants --pants-config-files=pants.ci.toml --changed-since=origin/master --changed-dependees=transitive test
...
[Step 8/9] File "/home/buildagent/.cache/pants/setup/bootstrap-Linux-x86_64/2.11.0rc1_py38/lib/python3.8/site-packages/pants/util/dirutil.py", line 18, in <module>
[Step 8/9] from typing_extensions import Literal
[Step 8/9] ModuleNotFoundError: No module named 'typing_extensions'
typing_extensions
in it.--quiet
from the pip install
in the bootstrap script:
Requirement already satisfied: typing-extensions==4.0.1 in /some/path/to/typing_extensions (from pantsbuild.pants==2.11.0rc1) (4.0.1)
Should the bootstrap script use:
-I, --ignore-installed Ignore the installed packages, overwriting them. This can break your system if the existing package is of a different version or was
installed with a different package manager!
enough-analyst-54434
04/04/2022, 8:49 PMbitter-ability-32190
04/04/2022, 8:50 PMpip
is using PYTHONPATH
and thinking deps are installed.enough-analyst-54434
04/04/2022, 8:52 PMbitter-ability-32190
04/04/2022, 8:53 PMenough-analyst-54434
04/04/2022, 8:59 PM