Hmm, I am getting `ERROR: No matching distribution...
# general
f
Hmm, I am getting
ERROR: No matching distribution found for psycopg2==2.9.6
. I am on a mac, and I am able to install psycopg2 both from my local environment, and from the Docker environment (python:3.9.15) which I am assuming that pants is using when attempting to generate the lockfile. What gives?
Hmm, I guess I should use
psycopg2-binary
, but that makes a downstream dependency fail (Tusker..)
That's not a Pants problem though I guess.
r
I don't see any mac specific wheel. https://pypi.org/project/psycopg2/#files
f
Right! Doesn't the generate-lockfiles command use the Docker environment then?
e
It does not, but it also doesn't need wheels - it can work with sdists. There are improvements in Pex 2.1.122+ (Latest is 2.1.137) that do the least possible work when encountering an sdist. What version of Pants are you using?
f
Oooof, sorry about the delayed response. I was on 2.15. Can try again with 2.16.