witty-crayon-22786
03/18/2020, 12:50 AMwitty-crayon-22786
03/18/2020, 12:51 AMException message: Failed to resolve compatible distributions:
1: pendulum==1.4.4 requires tzlocal<2.0.0.0,>=1.5.0.0 but tzlocal 2.0.0 was resolved
witty-crayon-22786
03/18/2020, 12:51 AM-ldebug
does not seem to be propagated throughwitty-crayon-22786
03/18/2020, 12:52 AM-ldebug
through as a pex verbosity levelwitty-crayon-22786
03/18/2020, 12:52 AMwitty-crayon-22786
03/18/2020, 12:53 AMwitty-crayon-22786
03/18/2020, 1:03 AMFile ".pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/python/pex_build_util.py", line 188, in _resolve_multi
max_parallel_jobs=python_setup.resolver_jobs,
File ".pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 802, in resolve_multi
return list(resolve_request.resolve_distributions(ignore_errors=ignore_errors))
File ".pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 578, in resolve_distributions
self._check_resolve(resolved_distributions)
File ".pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 618, in _check_resolve
for index, failure in enumerate(unsatisfied))
doesn't appear to allow for propagating in debug info.witty-crayon-22786
03/18/2020, 1:05 AMenough-analyst-54434
03/18/2020, 2:44 AMwitty-crayon-22786
03/18/2020, 2:45 AM-ldebug
used to trigger verbose pex behavior, but now it does not.witty-crayon-22786
03/18/2020, 2:45 AMenough-analyst-54434
03/18/2020, 2:59 AMwitty-crayon-22786
03/18/2020, 3:00 AMenough-analyst-54434
03/18/2020, 3:03 AMwitty-crayon-22786
03/18/2020, 3:03 AMException caught: (pex.resolver.Unsatisfiable)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/daemon_pants_runner.py", line 278, in run
runner.run()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/local_pants_runner.py", line 293, in run
self._run()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/local_pants_runner.py", line 389, in _run
goal_runner_result = self._maybe_run_v1()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/local_pants_runner.py", line 330, in _maybe_run_v1
self._exiter,
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/goal_runner.py", line 230, in run
return self._run_goals()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/goal_runner.py", line 201, in _run_goals
result = self._execute_engine()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/bin/goal_runner.py", line 189, in _execute_engine
result = engine.execute(self._context, self._goals)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/engine/legacy_engine.py", line 21, in execute
self.attempt(context, goals)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/engine/round_engine.py", line 252, in attempt
goal_executor.attempt(explain)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/engine/round_engine.py", line 50, in attempt
task.execute()
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/backend/python/tasks/resolve_requirements.py", line 29, in execute
pex = self.resolve_requirements(interpreter, self.context.targets(has_python_requirements))
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/backend/python/tasks/resolve_requirements_task_base.py", line 96, in resolve_requirements
pex_builder.add_requirement_libs_from(req_libs, platforms=platforms)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/python/pex_build_util.py", line 135, in add_requirement_libs_from
self.add_resolved_requirements(reqs, platforms=platforms)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/python/pex_build_util.py", line 161, in add_resolved_requirements
for resolved_dist in self.resolve_distributions(reqs, platforms=platforms):
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/python/pex_build_util.py", line 152, in resolve_distributions
return self._resolve_multi(deduped_reqs, platforms=platforms, find_links=find_links)
File "/Users/stuhood/.pex/installed_wheels/ed508aff6910eb46ab1cfd7310d8ed6f117e9d0d/pantsbuild.pants-1.26.0rc1+git3f37dd50-cp36-abi3-macosx_10_11_x86_64.whl/pants/python/pex_build_util.py", line 188, in _resolve_multi
max_parallel_jobs=python_setup.resolver_jobs,
File "/Users/stuhood/.pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 802, in resolve_multi
return list(resolve_request.resolve_distributions(ignore_errors=ignore_errors))
File "/Users/stuhood/.pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 578, in resolve_distributions
self._check_resolve(resolved_distributions)
File "/Users/stuhood/.pex/installed_wheels/30c1b4c3cda65f3686f402d62ee6f52ac0358408/pex-2.1.6-py2.py3-none-any.whl/pex/resolver.py", line 618, in _check_resolve
for index, failure in enumerate(unsatisfied))
witty-crayon-22786
03/18/2020, 3:03 AMwitty-crayon-22786
03/18/2020, 3:03 AM1.26.x
branchwitty-crayon-22786
03/18/2020, 3:06 AM-ldebug
... the better question is probably just: "what should a user do when they see
Exception message: Failed to resolve compatible distributions:
1: pendulum==1.4.4 requires tzlocal<2.0.0.0,>=1.5.0.0 but tzlocal 2.0.0 was resolved
" ... based on the past, i was expecting -ldebug
to render additional infoenough-analyst-54434
03/18/2020, 3:07 AMwitty-crayon-22786
03/18/2020, 3:09 AMwitty-crayon-22786
03/18/2020, 3:10 AMwitty-crayon-22786
03/18/2020, 3:10 AMenough-analyst-54434
03/18/2020, 3:11 AMwitty-crayon-22786
03/18/2020, 3:12 AMwitty-crayon-22786
03/18/2020, 3:13 AMenough-analyst-54434
03/18/2020, 3:15 AMwitty-crayon-22786
03/18/2020, 3:15 AMwitty-crayon-22786
03/18/2020, 3:16 AM-ldebug
caused it to be more verbose, including during resolution timeenough-analyst-54434
03/18/2020, 3:16 AMenough-analyst-54434
03/18/2020, 3:17 AMenough-analyst-54434
03/18/2020, 3:18 AMenough-analyst-54434
03/18/2020, 3:18 AMwitty-crayon-22786
03/18/2020, 3:18 AMPEX_VERBOSE
when running pants as a pex gets stripped by the outer invoke of pexenough-analyst-54434
03/18/2020, 3:19 AMenough-analyst-54434
03/18/2020, 3:19 AMwitty-crayon-22786
03/18/2020, 3:20 AM-ldebug
used to result in resolver debug output from pexwitty-crayon-22786
03/18/2020, 3:20 AMenough-analyst-54434
03/18/2020, 3:20 AMenough-analyst-54434
03/18/2020, 3:20 AMenough-analyst-54434
03/18/2020, 3:21 AMenough-analyst-54434
03/18/2020, 3:22 AMwitty-crayon-22786
03/18/2020, 3:24 AMpex_build_util
:
20:23:25 00:08 [binary]
20:23:25 00:08 [py]
Invalidated 1 target.
cache for PythonBinary(BuildFileAddress(src/python/pants/util/BUILD, s3_log_aggregator)) is invalid, rebuilding
No customized shebang found for s3_log_aggregator
Dumping sources: PythonBinary(BuildFileAddress(src/python/pants/util/BUILD, s3_log_aggregator))
Dumping requirement: PythonRequirement(s3-log-parse==0.1.1)03:23:25 [DEBUG] urllib3.util.retry:pid=4001: Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
03:23:25 [DEBUG] urllib3.util.retry:pid=4001: Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
Dumping distribution: .../s3_log_parse-0.1.1-py3-none-any.whl
Dumping distribution: .../pytz-2019.1-py2.py3-none-any.whl
Dumping requirement: PythonRequirement(setuptools==40.6.3)03:23:26 [DEBUG] urllib3.util.retry:pid=4001: Converted retries value: 5 -> Retry(total=5, connect=None, read=None, redirect=None, status=None)
Dumping distribution: .../setuptools-40.6.3-py2.py3-none-any.whl
created .pants.d/binary/py/9f3432780b5f/src.python.pants.util.s3_log_aggregator/current/s3_log_aggregator.pex
created pex dist/s3_log_aggregator.pex
witty-crayon-22786
03/18/2020, 3:24 AM-ldebug
on 1.25.x
)enough-analyst-54434
03/18/2020, 3:27 AMwitty-crayon-22786
03/18/2020, 3:27 AMenough-analyst-54434
03/18/2020, 3:27 AMwitty-crayon-22786
03/18/2020, 3:27 AMenough-analyst-54434
03/18/2020, 3:27 AMenough-analyst-54434
03/18/2020, 3:28 AMwitty-crayon-22786
03/18/2020, 3:30 AMenough-analyst-54434
03/18/2020, 3:35 AMenough-analyst-54434
03/18/2020, 3:35 AMenough-analyst-54434
03/18/2020, 3:38 AMzipinfo -1 investigate.pex | grep METADATA | while read md; do echo "Requirements for $md: " && unzip -qc investigate.pex $md | grep Requires-Dist | grep tzlocal; done
enough-analyst-54434
03/18/2020, 3:39 AMwitty-crayon-22786
03/18/2020, 3:42 AMpex_build_utils
, since the ignore_errors
flag is exposed.enough-analyst-54434
03/18/2020, 3:43 AMwitty-crayon-22786
03/18/2020, 3:49 AMresolve_multi(.., ignore_errors=True)
does appear to skip validating the resolve, which allows the test to start and fail. working on adapting your command for the extracted pex under .pants.d
enough-analyst-54434
03/18/2020, 3:51 AMwitty-crayon-22786
03/18/2020, 3:54 AMclean-all
, but find .pants.d -name METADATA | while read md; do echo "Requirements for $md: " && cat $md | grep Requires-Dist | grep tzlocal; done
appears to work... reports about 5 or 6 declarations of tzlocal out of 265!witty-crayon-22786
03/18/2020, 3:55 AMwitty-crayon-22786
03/18/2020, 3:56 AMenough-analyst-54434
03/18/2020, 3:58 AMwitty-crayon-22786
03/18/2020, 3:59 AM