John Sirois

Results 332 comments of John Sirois

I could document things better, but several of the options don't really make sense unless the venv is built from a `--pex-repository` (`--bin-path` and `--scope` come to mind). What exactly...

Ok, thanks - that helps. Yeah, the idea is a normal venv via requirements or from a `--lock` is just a normal venv.

It turned out there was never a problem with POSIX locks, there was an enormous 9 month goose chase that ended up being caused by Pants not synchronously waiting for...

The `pex3 cache {dir,info,purge}` command now exists. Although `pex3 cache purge` only allows purging either the whole Pex cache or individual verticals, it does so safely with a lock in...

> I am requesting a pex3 cache add command so the pex cache can be hydrated with external artifacts like [npm](https://zameermanji.com/blog/2023/1/10/building-and-installing-an-npm-package-offline/#hydrating-the-cache). This would enable building PEXes in an offline environment...

All Pip versions Pex supports support the following for `pip wheel`: ``` --no-build-isolation Disable isolation when building a modern source distribution. Build dependencies specified by PEP 518 must be already...

@zmanji - I'm re-reading this issue on a quest to re-look at all outstanding issues you've filed. They tend to be good ones. > due to https://github.com/pypa/pip/issues/6543 it's not possible...

Ok, That picked cleanly, although I had to remove a Python3.5+-style type annotation so this still works with Python 2.7: https://github.com/pex-tool/pip/pull/13

Ok, that does the trick for the OP. You can have your fortune read by Pex using Pip 20.3.4+patched on musl libc.

Alright - the fix for this is released in 2.12.0: ``` :; wget https://github.com/indygreg/python-build-standalone/releases/download/20221220/cpython-3.10.9+20221220-x86_64_v3-unknown-linux-musl-install_only.tar.gz :; tar xvzf cpython-3.10.9+20221220-x86_64_v3-unknown-linux-musl-install_only.tar.gz :; wget https://github.com/pantsbuild/pex/releases/download/v2.12.0/pex :; ./fortune.pex /usr/share/games/fortunes/fortunes You will stop at nothing to...