plain-librarian-97976
09/07/2023, 3:37 AMProcessExecutionFailure: Process 'Building src.galaxy-core.api/server.pex with 23 requirements: StrEnum<0.5.0,>=0.4.9, boto3-stubs<2.0.0,>=1.26.122, boto3<2.0.0,>=1.26.108, fastparquet<0.9.0,>=0.8.3, freezegun<2.0.0,>=1.2.2, gensim<5.0.0,>=4.2.0, grpcio-health-checking<2.0.0,>=1.48.1, grpcio-reflection<2.0.0,>=1.48.1, grpcio<2.0.0,>=1.48.0, jupyterlab<4.0.0,>=3.4.5, matplotlib<4.0.0,>=3.5.3, msgpack<2.0.0,>=1.0.5, numpy<2.0.0,>=1.23.3, pandas-stubs<2.0.0,>=1.5.0, pandas<2.0.0,>=1.5.1, protobuf==3.20.3, pyarrow<10.0.0,>=9.0.0, pytest<8.0.0,>=7.1.2, python-json-logger<3.0.0,>=2.0.4, redis, scikit-learn==1.1.1, seaborn<0.12.0,>=0.11.2, snowflake-connector-python<3.0.0,>=2.7.12' failed with exit code 1.
stdout:
stderr:
pid 39022 -> /Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/bin/python -sE /Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /Users/senthil/.cache/pants/named_caches/pex_root/pip_cache --log /private/var/folders/wx/8rwbq4jd4mn17l0tty796qlr0000gn/T/pants-sandbox-6nbG4l/.tmp/pex-pip-log.86o81vi8/pip.log download --dest /Users/senthil/.cache/pants/named_caches/pex_root/downloads/resolver_download.9yq_bpf1/cp310-cp310-linux_x86_64 --only-binary :all: StrEnum<0.5.0,>=0.4.9 boto3-stubs<2.0.0,>=1.26.122 boto3<2.0.0,>=1.26.108 fastparquet<0.9.0,>=0.8.3 freezegun<2.0.0,>=1.2.2 gensim<5.0.0,>=4.2.0 grpcio-health-checking<2.0.0,>=1.48.1 grpcio-reflection<2.0.0,>=1.48.1 grpcio<2.0.0,>=1.48.0 jupyterlab<4.0.0,>=3.4.5 matplotlib<4.0.0,>=3.5.3 msgpack<2.0.0,>=1.0.5 numpy<2.0.0,>=1.23.3 pandas-stubs<2.0.0,>=1.5.0 pandas<2.0.0,>=1.5.1 protobuf==3.20.3 pyarrow<10.0.0,>=9.0.0 pytest<8.0.0,>=7.1.2 python-json-logger<3.0.0,>=2.0.4 redis scikit-learn==1.1.1 seaborn<0.12.0,>=0.11.2 snowflake-connector-python<3.0.0,>=2.7.12 --platform manylinux2014_x86_64 --platform linux_x86_64 --implementation cp --python-version 310 --abi cp310 --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with 2 and STDERR:
ERROR: Exception:
Traceback (most recent call last):
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3021, in _dep_map
return self.__dep_map
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2815, in __getattr__
raise AttributeError(attr)
AttributeError: _DistInfoDistribution__dep_map
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 223, in _main
status = self.run(options, args)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 180, in wrapper
return func(self, options, args)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/commands/download.py", line 130, in run
requirement_set = resolver.resolve(
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 121, in resolve
self._result = resolver.resolve(
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 453, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 347, in resolve
failure_causes = self._attempt_to_pin_criterion(name, criterion)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 207, in _attempt_to_pin_criterion
criteria = self._get_criteria_to_update(candidate)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 198, in _get_criteria_to_update
for r in self._p.get_dependencies(candidate):
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 170, in get_dependencies
return [
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/provider.py", line 170, in <listcomp>
return [
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 247, in iter_dependencies
requires = self.dist.requires() if with_requires else ()
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 2736, in requires
dm = self._dep_map
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3023, in _dep_map
self.__dep_map = self._compute_dependencies()
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3040, in _compute_dependencies
common = frozenset(reqs_for_extra(None))
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3037, in reqs_for_extra
if not req.marker or req.marker.evaluate({'extra': extra}):
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 336, in evaluate
return _evaluate_markers(self._markers, current_environment)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 252, in _evaluate_markers
lhs_value = _get_env(environment, lhs.value)
File "/Users/senthil/.cache/pants/named_caches/pex_root/venvs/41379f21c5956cff0d35ab1ef014bb72e1fe14dc/9597c406ef809932a60be727d37a33a92f74b34b/lib/python3.10/site-packages/pip/_vendor/packaging/markers.py", line 232, in _get_env
raise UndefinedEnvironmentName(
pip._vendor.packaging.markers.UndefinedEnvironmentName: 'python_full_version' does not exist in evaluation environment.
Failed to resolve for platform linux_x86_64-cp-310-cp310. Resolve requires evaluation of unknown environment marker: 'python_full_version' does not exist in evaluation environment.
[tool.poetry.dependencies]
python = ">=3.10,<3.11"
protobuf = "3.20.3"
grpcio = "^1.48.0"
grpcio-health-checking = "^1.48.1"
grpcio-reflection = "^1.48.1"
python-json-logger = "^2.0.4"
pandas = "^1.5.1"
StrEnum = "^0.4.9"
boto3 = "^1.26.108"
boto3-stubs = "^1.26.122"
msgpack = "^1.0.5"
redis = "*"
I’m trying to install redis with pants and I face this error. Any idea?broad-processor-92400
09/07/2023, 3:53 AMplain-librarian-97976
09/07/2023, 5:38 AMpants run
. It tries to create a pex file of the server with it dependencies and it failsenough-analyst-54434
09/07/2023, 12:53 PMenough-analyst-54434
09/07/2023, 12:54 PMenough-analyst-54434
09/07/2023, 12:56 PMenough-analyst-54434
09/07/2023, 12:57 PMenough-analyst-54434
09/07/2023, 12:59 PM