cool-easter-32542
09/21/2023, 11:27 AMBUILD file
python_requirement(
requirements=["sudachipy==0.5.4"],
)
pants.toml file
[GLOBAL]
pants_version = "2.17.0"
backend_packages = [
"pants.backend.python",
]
[python]
enable_resolves = true
interpreter_constraints = ["==3.11.*"]
Run generate-lockfiles generates error
17:02:29.96 [INFO] Completed: Generate lockfile for python-default
17:02:29.96 [ERROR] 1 Exception encountered:
Engine traceback:
in `generate-lockfiles` goal
ProcessExecutionFailure: Process 'Generate lockfile for python-default' failed with exit code 1.
stdout:
stderr:
running dist_info
creating /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info
writing /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/dependency_links.txt
writing requirements to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/requires.txt
writing top-level names to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/top_level.txt
writing manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/SOURCES.txt'
reading manifest template '<http://MANIFEST.in|MANIFEST.in>'
warning: no previously-included files found matching 'dartsclone/*.cpp'
writing manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone.egg-info/SOURCES.txt'
creating '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpwuj_aky0/build/dartsclone-0.9.0.dist-info'
/Users/raj/.cache/pants/named_caches/pex_root/venvs/ad940cf308890fb1e50bd9766a0c9457b7dbd2bd/db8266b13362d394ecbbe9b1d67bbc2c832a080c/lib/python3.11/site-packages/setuptools/_distutils/dist.py:265: UserWarning: Unknown distribution option: 'use_scm_version'
warnings.warn(msg)
running dist_info
creating /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info
writing /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/dependency_links.txt
writing entry points to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/entry_points.txt
writing requirements to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/requires.txt
writing top-level names to /private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/top_level.txt
writing manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/SOURCES.txt'
reading manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/SOURCES.txt'
reading manifest template '<http://MANIFEST.in|MANIFEST.in>'
adding license file 'LICENSE'
writing manifest file '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy.egg-info/SOURCES.txt'
creating '/private/var/folders/gq/3hk7c5wd3dlcyh7wfn_zzlg40000gn/T/pants-sandbox-pynKWv/.tmp/tmpkbc7v7tl/build/SudachiPy-0.0.0.dist-info'
No distribution metadata found for sudachipy==0.5.4.
Given distribution metadata for:
cython==3.0.2
dartsclone==0.9
sortedcontainers==2.1
sudachipy==0
Use `--keep-sandboxes=on_failure` to preserve the process chroot for inspection.
Additionally, I have tried using all possible pip version in `python.pip_version`(for pants 2.17).
Versions 22.2.2, 22.3, 22.3.1, 23.0, 23.0.1, 23.1, 23.1.1, 23.1.2, latest have the above issue, however 20.3.4-patched is working fine
pantsbuild/pantscool-easter-32542
09/22/2023, 6:57 AM