8000 multiprocessing use should be optional during setup by mdboom · Pull Request #2114 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

multiprocessing use should be optional during setup #2114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 4, 2013

Conversation

mdboom
Copy link
Member
@mdboom mdboom commented Jun 3, 2013

Some platforms don't support it.

It is used for 2to3 conversion on 1.2.x. It is used to determine the Gtk versions on 1.3.x. We should fix both problems.

@@ -299,13 +299,27 @@ def run_2to3(self, files):
filtered = [x for x in files if should_2to3(x, self.build_lib)]
if sys.platform.startswith('win') or 'TRAVIS' in os.environ:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you remember why we need to do this for travis builds? Travis has may threads available to it and this would really benefit from being parallelised...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#1781

Using multiprocessing on Travis was causing "Permission denied" errors -- but maybe it no longer does that, since clearly we're able to run our tests in parallel now.

Note, however, that this only applies to 1.2.x -- 1.3.x doesn't parallelize 2to3 because distribute is doing the 2to3 for us over there, and it doesn't support it -- it's most likely possible by overriding something or monkey-patching, but I haven't really spent any time looking into it.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I haven't really spent any time looking into it.

Ah. Don't worry about it. The tests (on v1.3.x) are now much quicker than they were.

mdboom added a commit that referenced this pull request Jun 4, 2013
multiprocessing use should be optional during setup
@mdboom mdboom merged commit 3404855 into matplotlib:v1.2.x Jun 4, 2013
@mdboom mdboom deleted the multiprocessing-during-setup-1-2 branch August 7, 2014 13:52
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
0