Hi Pants team. I am new to Pants and I am trying t...
# general
Hi Pants team. I am new to Pants and I am trying to get it working inside my company environment. When running
.pants --version
I encounter the following error.
Copy code
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1122)'))': /simple/virtualenv/
I think this warning comes from
Copy code
"${python}" "${pex_path}" -r requirements.txt -c virtualenv -o virtualenv.pex
In my company, we have artifactory mirrors /simple. I am wondering how to config pants to use that?
Don't have anything to add, but following because we are also talking of using artifactory in the future and I'd like to know the resolution.
slightly on tangent, but you’ll need at some point this: https://www.pantsbuild.org/docs/python-third-party-dependencies#custom-repositories
Hi welcome! If you haven't yet seen it, bump on this page: https://www.pantsbuild.org/v2.10/docs/restricted-internet-access
cool @hundreds-father-404. I am trying to download the PEX then running it. but I got the following error. any clue?
Copy code
./pants --version
11:10:21.32 [INFO] Initializing scheduler...
11:10:21.48 [ERROR] no path specified
👀 1
huh, what version is this?
I downloaded release_2.10.0rc2 and modified the pants.toml in the example-python repo which i am playing with. @hundreds-father-404
I am still facing this issue. Any suggestion?