quaint-telephone-89068
10/02/2025, 7:38 AM$ pants update
Failed to determine release URL for Pants: 2.28.0: pants.2.28.0-cp311-darwin_arm64.pex: URL check failed: <https://github.com/pantsbuild/pants/releases/download/release_2.28.0/pants.2.28.0-cp311-darwin_arm64.pex>: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
If this is unexpected (you are using a known good Pants version), try upgrading scie-pants first.
It may also be that the platform darwin_arm64 isn't supported for this version of Pants, or some other intermittent network/service issue.
To get help, please visit: <https://www.pantsbuild.org/community/getting-help>
I have tried both:
• setting the SSL_CERT_FILE env var:
export SSL_CERT_FILE=path_to_ca_bundle_file.pem
• setting the ca_certs_path in pants.toml file:
[GLOBAL]
pants_version = "2.28.0"
ca_certs_path = "path_to_ca_bundle_file.pem"
Unfortunately, any of these solutions don't work on my Mac.
Pants version
2.28, installed through Homebrew, just like Python.
OS
MacOS
Additional info
I could bypass this by running the same command in a Docker container. Setting the SSL_CERT_FILE inside the Docker was enough to resolve the issue.
pantsbuild/pants