Skip to content

fix python venv stub races when the same command runs in parallel - #368

Merged
jhheider merged 2 commits into
pkgxdev:mainfrom
cfgnunes:venv_parallel
Oct 16, 2026
Merged

jhheider merged 2 commits into
pkgxdev:mainfrom
cfgnunes:venv_parallel

Conversation

@cfgnunes

Copy link
Copy Markdown
Contributor

Skip the virtualenv rewrite when it already points at the current interpreter, so concurrent pkgx runs do not clobber pyvenv.cfg, shebangs, or venv/bin/python.

Fix the issue: #367

Skip the virtualenv rewrite when it already points at the current interpreter, so concurrent pkgx runs do not clobber pyvenv.cfg, shebangs, or venv/bin/python.
@jhheider

Copy link
Copy Markdown
Contributor

added a test, and made what are hopefully some improvements. i'll release brewkit, and then rebuild pdfannots after.

@jhheider
jhheider merged commit 254d140 into pkgxdev:main Oct 16, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants