X Tutup
Skip to content

Use subprocess32 on python 2.7#6576

Merged
tacaswell merged 5 commits intomatplotlib:v2.xfrom
jenshnielsen:subprocess_changes2
Jul 12, 2016
Merged

Use subprocess32 on python 2.7#6576
tacaswell merged 5 commits intomatplotlib:v2.xfrom
jenshnielsen:subprocess_changes2

Conversation

@jenshnielsen
Copy link
Copy Markdown
Member

Workaround for #5314

Subprocess32 should fix the insecure string pickle error in python2.7 on OSX as seen in #5314 however the package is only tested on posix systems so don't use it on windows.

__all__ = ['Popen', 'PIPE', 'STDOUT', 'check_output', 'CalledProcessError']



Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Extra newline.

@tacaswell tacaswell added this to the 2.0 (style change major release) milestone Jun 12, 2016
@tacaswell
Copy link
Copy Markdown
Member

ping on this

@jenshnielsen jenshnielsen force-pushed the subprocess_changes2 branch from 77a5ddd to a9a6507 Compare July 10, 2016 20:05
@jenshnielsen
Copy link
Copy Markdown
Member Author

Rebased and fixed comments

setupext.py Outdated
except ImportError:
return (
"subprocess32 was not found. It used for "
" for python versions prior to 3.2 to improves"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The double for is still here. Should be Python.

@jenshnielsen jenshnielsen force-pushed the subprocess_changes2 branch from a9a6507 to 4b36ce4 Compare July 11, 2016 18:35
@tacaswell
Copy link
Copy Markdown
Member

This is failing because lib/matplotlib/compat/subprocess.py passes pep8

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.

3 participants

X Tutup