acceptable-tent-43498
09/14/2021, 5:57 PMERROR: No matching distribution found for SQLAlchemy==1.3.22
Any ideas?hundreds-father-404
09/14/2021, 6:00 PMpex_binary
you're trying to run via ./pants run
, rather than a runtime error after the PEX has been builtacceptable-tent-43498
09/14/2021, 6:02 PMenabled = true
in the [anonymous-telemetry] section of pants.toml to enable sending anonymous stats to the Pants project to aid development, or set enabled = false
to disable it. No telemetry sent for this run. An explicit setting will get rid of this message. See https://www.pantsbuild.org/v2.6/docs/anonymous-telemetry for details.`
15:01:58.85 [INFO] Completed: Building requirements.pex with 7 requirements: Flask-Babel==2.0.0, Flask-Caching==1.9.0, Flask-Cors==3.0.10, SQLAlchemy==1.3.22, flask==1.1.2, flask_httpauth==4.4.0, pandas==1.3.1
15:01:58.85 [ERROR] Exception caught: (pants.engine.internals.scheduler.ExecutionError)
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 234, in _run_inner
return self._perform_run(goals)
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 173, in _perform_run
return self._perform_run_body(goals, poll=False)
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/bin/local_pants_runner.py", line 190, in _perform_run_body
return self.graph_session.run_goal_rules(
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/init/engine_initializer.py", line 135, in run_goal_rules
exit_code = self.scheduler_session.run_goal_rule(
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 533, in run_goal_rule
self._raise_on_error([t for _, t in throws])
File "/Users/mark/.cache/pants/setup/bootstrap-Darwin-x86_64/pants.OWhIh3/install/lib/python3.9/site-packages/pants/engine/internals/scheduler.py", line 501, in _raise_on_error
raise ExecutionError(
Exception message: 1 Exception encountered:
ProcessExecutionFailure: Process 'Building requirements.pex with 7 requirements: Flask-Babel==2.0.0, Flask-Caching==1.9.0, Flask-Cors==3.0.10, SQLAlchemy==1.3.22, flask==1.1.2, flask_httpauth==4.4.0, pandas==1.3.1' failed with exit code 1.
stdout:
stderr:
WARNING: Url 'file:////Users/mark/consulting/mesh/mesh-dash/local_packages' is ignored: it is neither a file nor a directory.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-babel/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-babel/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-babel/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-babel/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-babel/
WARNING: Url 'file:////Users/mark/consulting/mesh/mesh-dash/local_packages' is ignored: it is neither a file nor a directory.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-caching/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-caching/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-caching/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-caching/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-caching/
WARNING: Url 'file:////Users/mark/consulting/mesh/mesh-dash/local_packages' is ignored: it is neither a file nor a directory.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-cors/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-cors/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-cors/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-cors/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/flask-cors/
WARNING: Url 'file:////Users/mark/consulting/mesh/mesh-dash/local_packages' is ignored: it is neither a file nor a directory.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/sqlalchemy/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/sqlalchemy/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/sqlalchemy/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/sqlalchemy/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /Docs/packages/sqlalchemy/
ERROR: Could not find a version that satisfies the requirement SQLAlchemy==1.3.22
ERROR: No matching distribution found for SQLAlchemy==1.3.22
pid 89259 -> /Users/mark/.cache/pants/named_caches/pex_root/venvs/7862918fbb6656dd8d7eff1dd55ba13dcb07002e/10eae7756e90777b5879f0657f8627ae8200b7ae/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /Users/mark/.cache/pants/named_caches/pex_root --log /private/var/folders/2b/f1t6ly0x2273t0h7gygxmrv00000gn/T/process-executionJjLbct/.tmp/tmpi_ei_4cy/pip.log download --dest /private/var/folders/2b/f1t6ly0x2273t0h7gygxmrv00000gn/T/process-executionJjLbct/.tmp/tmp948tp9i4/usr.local.Caskroom.miniconda.base.envs.mesh.bin.python3.8 --constraint constraints.txt Flask-Babel==2.0.0 Flask-Caching==1.9.0 Flask-Cors==3.0.10 SQLAlchemy==1.3.22 flask==1.1.2 flask_httpauth==4.4.0 pandas==1.3.1 --index-url <https://pypi.org/simple/> --extra-index-url <https://dash.meshdiversity.com/Docs/packages> --find-links file:////Users/mark/consulting/mesh/mesh-dash/local_packages --retries 5 --timeout 15 exited with 1 and STDERR:
None
hundreds-father-404
09/14/2021, 6:09 PM[python-repos]
options. Do you know if you're expecting ro resolve SQLAlchemy from PyPI or from your own index?acceptable-tent-43498
09/14/2021, 6:12 PMacceptable-tent-43498
09/14/2021, 6:13 PMacceptable-tent-43498
09/14/2021, 6:13 PMacceptable-tent-43498
09/14/2021, 6:13 PMacceptable-tent-43498
09/14/2021, 6:14 PMhundreds-father-404
09/14/2021, 6:15 PMacceptable-tent-43498
09/14/2021, 6:15 PMacceptable-tent-43498
09/14/2021, 6:16 PMacceptable-tent-43498
09/14/2021, 6:17 PMhundreds-father-404
09/14/2021, 6:17 PMacceptable-tent-43498
09/14/2021, 6:18 PMhundreds-father-404
09/14/2021, 6:20 PMSQLAlchemy==1.3.22
. But I think pip's new resolver would have a better error message in that case..Still, maybe worth double checking. On that note, you could temporarily disable [python-setup].requirement_constraints
acceptable-tent-43498
09/14/2021, 6:23 PMacceptable-tent-43498
09/14/2021, 6:23 PMacceptable-tent-43498
09/14/2021, 6:24 PMacceptable-tent-43498
09/14/2021, 6:24 PMacceptable-tent-43498
09/14/2021, 6:25 PMhundreds-father-404
09/14/2021, 6:28 PM./pants dependencies --type=3rdparty --transitive path/to:pex_binary
acceptable-tent-43498
09/14/2021, 6:31 PMacceptable-tent-43498
09/14/2021, 6:31 PMhundreds-father-404
09/14/2021, 6:43 PMconstraints.txt
. See PR description at https://github.com/pantsbuild/pants/pull/12734 for an explanation of the UXenough-analyst-54434
09/14/2021, 6:43 PMenough-analyst-54434
09/14/2021, 6:45 PMacceptable-tent-43498
09/14/2021, 6:52 PM