high-yak-85899
02/25/2023, 12:15 AMhigh-yak-85899
02/25/2023, 12:16 AM$ ./pants export --resolve=python-default
17:05:46.14 [INFO] Initializing scheduler...
17:05:46.96 [INFO] Scheduler initialized.
17:06:18.04 [INFO] Completed: chosen_resolve.name
17:06:21.26 [INFO] Completed: Get interpreter version
/home/nathanael/.cache/pants/named_caches/pex_root/installed_wheels/71c50e03e63506d9e56add7cd5a4d6bb9fcc7985f39e7d2e152233fc4d6fd74d/pex-2.1.111-py2.py3-none-any.whl/pex/dist_metadata.py:397: PEXWarning: Ignoring 1 `Requires` field in /home/nathanael/.cache/pants/named_caches/pex_root/unzipped_pexes/74f3628ae4574df8984c577d64332d800d17ae01/.deps/sockjs_tornado-1.0.7-py3-none-any.whl metadata:
1.) Requires: tornado
You may have issues using the 'sockjs-tornado' distribution as a result.
More information on this workaround can be found here:
<https://github.com/pantsbuild/pex/issues/1201#issuecomment-791715585>
pex_warnings.warn(
Wrote mutable virtualenv for python-default (using Python 3.8.10) to dist/export/python/virtualenvs/python-default
high-yak-85899
02/25/2023, 12:16 AMsetup.py
for the project looks normal and I don't see how it relates to the linked comment.high-yak-85899
02/25/2023, 12:19 AMhigh-yak-85899
02/25/2023, 12:19 AMenough-analyst-54434
02/25/2023, 12:55 AMpex
... yes: --no-emit-warnings
, but within Pants there would be more involved. If the dependency is direct, you might just fix it. Fork the repo, fix setup.py and use a VCS requirement.enough-analyst-54434
02/25/2023, 12:56 AMenough-analyst-54434
02/25/2023, 12:58 AM[subprocess-environment]
, and that's a pretty broad brush / big hammer: https://pex.readthedocs.io/en/v2.1.123/api/vars.html#PEX_EMIT_WARNINGS