-
-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
At the moment the build phase is not thread safe. Running multiple instances of tox will highly likely cause one of the instances to fail as the two processes will step on each others toe while creating the sdist package. This is especially annoying in CI environments where you want to run tox targets in parallle (e..g Jenkins). By passing in ``--parallel--safe-build`` flag tox automatically generates a unique dist folder for the current build. This way each build can use it's own version built package (in the install phase after the build), and we avoid the need to lock while building. Once the tox session finishes remove such build folders to avoid ever expanding source trees when using this feature.
- Loading branch information
1 parent
e557705
commit 75fdd74
Showing
6 changed files
with
111 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Allow to run multiple tox instances in parallel by providing the | ||
```--parallel--safe-build`` flag. - by :user:`gaborbernat` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters