quaint-telephone-89068
11/21/2022, 6:11 PM./pants lint :: on native M1:
Failed to resolve compatible artifacts from lock 3rdparty/lockfiles/resolves/pants-plugins.lockfile for 1 target:
1. /Users/david.cain/.asdf/installs/python/3.8.14/bin/python3.8:
Failed to resolve all requirements for cp38-cp38-macosx_12_0_arm64 interpreter at /Users/david.cain/.asdf/installs/python/3.8.14/bin/python3.8 from 3rdparty/lockfiles/resolves/pants-plugins.lockfile:
Configured with:
build: True
use_wheel: True
Dependency on pantsbuild-pants not satisfied, 1 incompatible candidate found:
1.) pantsbuild-pants 2.15a1 (via: pantsbuild.pants<2.16,>=2.15.0a0) does not have any compatible artifacts:
<https://files.pythonhosted.org/packages/e6/ab/726a3bfb6917ebd8afacd51218ae74b091e9f9dbc56d9563ae032156c9d8/pantsbuild.pants-2.15.0a1-cp39-cp39-manylinux2014_x86_64.whl>
<https://files.pythonhosted.org/packages/26/31/73ddc6e67e8d860c812c8a72825f7c280eeef731208a327dfc3ddd3186a0/pantsbuild.pants-2.15.0a1-cp39-cp39-macosx_10_15_x86_64.whl>
<https://files.pythonhosted.org/packages/88/d9/b5519dfc41180e1e77ba77617b5e010d347d62ff3f84ff7634bf2705adc4/pantsbuild.pants-2.15.0a1-cp39-cp39-macosx_10_16_x86_64.whl>
<https://files.pythonhosted.org/packages/a9/01/02389079a9ec0f7d392af694f135a4e8c3e0b95decdcfba41c7fea4003e6/pantsbuild.pants-2.15.0a1-cp37-cp37m-macosx_10_15_x86_64.whl>
<https://files.pythonhosted.org/packages/ac/d8/b2c76941ac8c26ddaac8374bfc718b69948aa8d60ae714763997a267dcb1/pantsbuild.pants-2.15.0a1-cp38-cp38-manylinux2014_x86_64.whl>
<https://files.pythonhosted.org/packages/b5/61/4a9c2f947f22995abf303cc32611b46297fbe7555e9464707b7afa85f15a/pantsbuild.pants-2.15.0a1-cp38-cp38-macosx_10_15_x86_64.whl>
<https://files.pythonhosted.org/packages/bf/0d/c3f8ca3a0c73242f71a1c9b6f1721a943bb53195b0659166a7f69e68ab26/pantsbuild.pants-2.15.0a1-cp39-cp39-macosx_11_0_arm64.whl>
<https://files.pythonhosted.org/packages/f2/dd/3c9c256fa9bb8dac82465e12a852f35c83aeb9e18a2b90734f2c2976f72c/pantsbuild.pants-2.15.0a1-cp38-cp38-macosx_11_0_x86_64.whl>
<https://files.pythonhosted.org/packages/fa/51/6675a59a5d627881b3fcf6b19b51bd01dc73d618cd6d08a89523900f52fd/pantsbuild.pants-2.15.0a1-cp37-cp37m-macosx_10_16_x86_64.whl>
<https://files.pythonhosted.org/packages/fe/d9/35a394cd267a1911506cc4cbcb08cda15c38b68dacfcbee1ed62f7716e4e/pantsbuild.pants-2.15.0a1-cp37-cp37m-manylinux2014_x86_64.whl>
I thought it might be an issue with our lockfile, but looking on PyPI I don't see any *_macosx_12_0_* wheels.
Describe the solution you'd like
Add *_macosx_12_0_* wheels to the artifacts built during releases.
Describe alternatives you've considered
I'm completely ignorant in this area so I'm not sure if it's possible to "trick" Pants into using the *_macosx_11_0_* wheels. If so we would be willing to try that 😄
Additional context
The user is running macOS 12.6 Monterey on their arm64 machine (I originally thought they'd upgraded to v13 Ventura, but I was wrong). I'm also running 12.6 Monterey on my x86_64 machine and haven't hit this problem 🤔
pantsbuild/pantsuser
11/22/2022, 6:35 PM