https://pantsbuild.org/ logo
#development
Title
# development
n

narrow-vegetable-37489

05/03/2022, 10:21 PM
Hmm, I have a pypi dependency that fails to resolve with
python-lockfile-generator=pex
("No matching distribution found") but works fine with
python-lockfile-generator=poetry
. I'm pretty sure it's because my interpreter constraints wants Python 3.9 and the dependency only publishes wheels for 3.6, 3.7 and 3.8 - which I guess results in poetry happily building from source while pex does not? Happy to file a bug if something isn't right there.
w

witty-crayon-22786

05/03/2022, 10:22 PM
PEX will build from source as well, assuming that the target platform is the one that you are running on. filing a bug for this would be appreciated!
👌 1
h

hundreds-father-404

05/03/2022, 11:47 PM
thanks for the report! we know we will for sure have 2.11.1, and this is very helpful
e

enough-analyst-54434

05/04/2022, 12:51 AM
I have no workaround for you @narrow-vegetable-37489 but I've tried to explain this all in the issue you filed at https://github.com/pantsbuild/pants/issues/15319 and filed against the underlying issue in timezonefinder here: https://github.com/jannikmi/timezonefinder/issues/132
It actually looks like the timezonefinder issue is fixed on master and they just haven't published. A VCS requirement should do the trick @narrow-vegetable-37489.
n

narrow-vegetable-37489

05/04/2022, 8:47 AM
Cool! Thanks a bunch 🙏