gentle-flower-25372
06/28/2024, 2:48 AMgentle-flower-25372
06/28/2024, 2:52 AMgentle-flower-25372
06/28/2024, 3:05 AMraise ProcessExecutionFailure(
pants.engine.process.ProcessExecutionFailure: Process 'Building 4 requirements for docs.datamodel/sphinx-apidoc.pex from the apps/pants.lock resolve: Sphinx<6.0.0,>=5.3.0, myst-parser<2.0.0,>=1.0.0, sphinx-pyreverse<0.0.18,>=0.0.17, sphinx-rtd-theme<2.0.0,>=1.1.1' failed with exit code 1.
stdout:
stderr:
There was 1 error downloading required artifacts:
1. pyyaml 5.4.1 from <https://altana-197271086086.d.codeartifact.us-east-1.amazonaws.com/pypi/altana/simple/pyyaml/5.4.1/PyYAML-5.4.1.tar.gz>
note: This error originates from a subprocess, and is likely not a problem with pip.
better-van-82973
06/28/2024, 3:16 AMpex3 interpreter inspect --markers --tags
better-van-82973
06/28/2024, 3:18 AMresolves_to_no_binary
mapping which would force using sdists for that package: https://www.pantsbuild.org/2.23/reference/subsystems/python#resolves_to_no_binarygentle-flower-25372
06/28/2024, 3:21 AMgentle-flower-25372
06/28/2024, 3:23 AMgentle-flower-25372
06/28/2024, 3:23 AMbetter-van-82973
06/28/2024, 3:24 AMbroad-processor-92400
06/28/2024, 3:26 AMpip install pyyaml==5.4.1
on my arm macOS machine, I get build errors... so I wonder if that version of PyYAML fundamentally doesn't support this platform.
The output I get has more info than what pex is surfacing, so it's unfortunate pex isn't making this obviousbetter-van-82973
06/28/2024, 12:32 PMFile "/Users/krishnanchandra/Library/Caches/uv/.tmpsuxFrR/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 250, in add_defaults
self._add_defaults_ext()
File "/Users/krishnanchandra/Library/Caches/uv/.tmpsuxFrR/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py", line 335, in _add_defaults_ext
self.filelist.extend(build_ext.get_source_files())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 201, in get_source_files
File "/Users/krishnanchandra/Library/Caches/uv/.tmpsuxFrR/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 107, in __getattr__
raise AttributeError(attr)
AttributeError: cython_sources
Interestingly, I was able to get PyYAML==5.4.1
to install with Python 3.10 on Mac, but not with Python 3.12. So that might be another clue as to where the problem is.gentle-flower-25372
06/28/2024, 12:36 PMgentle-flower-25372
06/28/2024, 12:36 PM