Hi, I started getting this error when trying to bo...
# general
c
Hi, I started getting this error when trying to bootstrap Pants:
Copy code
pants.base.exceptions.BackendConfigurationError: Failed to load the pants.core.register backend: ImportError("urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: <https://github.com/urllib3/urllib3/issues/2168>")
Seems to be related to breaking changes in
urllib3==2.x
, but downgrading it to
1.x
doesn't help. The error appears when I try to run any
pants
command using a binary created before this urrlib update. How do I fix it? Thanks!
1
b
Are you using the
./pants ...
script to run, or the new binary
pants
runner? If the first one, I think the new
pants
runner might resolve it. Alternatively, one can do it via a
PIP_CONSTRAINTS=...
/ constraints file, I think https://pantsbuild.slack.com/archives/C046T6T9U/p1683661374866099?thread_ts=1683574114.661669&amp;cid=C046T6T9U walks through one way
c
I'm upgraded to pants
2.15.0
and switch to using the binary
pants
. This solved the problem, thank you!