Skip to content

xbps-triggers: allow parallelism in pycompile#59871

Merged
ahesford merged 1 commit intovoid-linux:masterfrom
ahesford:itchy-trigger-finger
Apr 15, 2026
Merged

xbps-triggers: allow parallelism in pycompile#59871
ahesford merged 1 commit intovoid-linux:masterfrom
ahesford:itchy-trigger-finger

Conversation

@ahesford
Copy link
Copy Markdown
Member

Testing the changes

  • I tested the changes in this PR: briefly

Starting with Python 3.5, the compileall module supports parallel execution. Taking advantage of this greatly reduces configuration time when, for example, the python3 package is updated.

Also, the test for whether ${py3_sitelib}/${f} is a directory is superfluous, because the exact same commands are run in both branches. Let's eliminate this useless duplication.

@ahesford ahesford force-pushed the itchy-trigger-finger branch from 1517050 to 4fdd0e2 Compare April 13, 2026 19:04
@ahesford ahesford force-pushed the itchy-trigger-finger branch from 4fdd0e2 to 311042b Compare April 15, 2026 12:08
@ahesford ahesford merged commit 6ee3036 into void-linux:master Apr 15, 2026
8 checks passed
@ahesford ahesford deleted the itchy-trigger-finger branch April 15, 2026 13:34
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.

1 participant