Skip to content

xbps-triggers: allow parallelism in pycompile#59871

Open
ahesford wants to merge 1 commit intovoid-linux:masterfrom
ahesford:itchy-trigger-finger
Open

xbps-triggers: allow parallelism in pycompile#59871
ahesford wants to merge 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.

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