Results 458 comments of John Sirois

I guess the safe option for sdists is to adopt the most specific platfrom tag of the venv's interpreter. That would treat every distribution in the venv installed from an...

> It's likely not obvious to everyone that you can prebuild an sdist and have Pex use the resulting wheel. It might not be obvious, but Pex is not involved...

I like providing a useful error message. I really don't like educating the world and misleading them as a result down to some arbitrary level of detail. When things get...

> They created the venv with some tool. Pip, Poetry - who knows. What exactly would you say to a Poetry user for example? (I don't think there is actually...

I've found an obvious-after-the-fact way to stomp out the need for a long-winded partial truth by actually just re-resolving any non-dist-info dists intransitively using the existing machinery so that this...

Yeah, I think bases are covered well enough now. Whitelisting would require creating a a temp dir and symlinking the necessary individual sys.path entry elements. For 1 distribution this is...

Upgrading vendored Pip will fix this: https://github.com/pypa/pip/pull/9300; so this is just blocked on dropping Python 2 support in Pex.

I'm going to close this as fixed since you can now use `--pip-version` [^1] to select a newer Pip with support for these better error messages. This does not help...

Ubuntu systems are known to leave out (portions of) the `distutils` stdlib from their "standard" python package. For example, on Ubunutu 20.4 and many older Ubuntu distributions, installing the `python3`...

Item, 1 is now directly addressed with versioned cache entries like this: https://github.com/pex-tool/pex/blob/84a4196f131e0701b6a6a55ad464de71e9f5f5bf/pex/cache/dirs.py#L93-L95 Item 3 is mainly addressed with the `pex3 cache {dir,info,purge}` commands.