FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TST: Unblock Appveyor build by patching `subprocess` by Kojoley · Pull Request #9395 · matplotlib/matplotlib · GitHub

Repository navigation

TST: Unblock Appveyor build by patching subprocess - #9395

Merged
tacaswell merged 1 commit into
matplotlib:masterfrom
Kojoley:tst-appveyor-unblock-subprocess
Oct 14, 2017
Merged

tacaswell merged 1 commit into
matplotlib:masterfrom
Kojoley:tst-appveyor-unblock-subprocess

Conversation

Kojoley commented Oct 13, 2017 •
edited
Loading

Copy link
Copy Markdown
Member

closes #9176

Comment thread .appveyor.yml Outdated

# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
# https://github.com/matplotlib/matplotlib/issues/9176
- python -c "import sys; sys.exit((2,) > sys.version_info > (3,6,3))" && (

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Shouldn't this be sys.exit((3,6,3) > sys.version_info > (2,)) ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Yes, I wrongly negated the (2,) < sys.version_info < (3,6,3) expression.

tacaswell added this to the 2.1.1 (next bug fix release) milestone Oct 13, 2017
Kojoley force-pushed the tst-appveyor-unblock-subprocess branch from 869b84d to 6e38b4f Compare October 13, 2017 19:17
Comment thread .appveyor.yml
# https://github.com/matplotlib/matplotlib/issues/9176
- python -c "import sys; sys.exit(not (2,) < sys.version_info < (3,6,3))" && (
curl -sL https://github.com/python/cpython/pull/1224.patch |
patch -fsup 1 -d %CONDA_PREFIX% ) || ( set errorlevel= )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

I thought only Py3 was affected? Both from my (possibly incorrect) remembering of what used to fail and from https://bugs.python.org/issue30121#msg300658
If it's only a py3 issue then the lower bound should be (3,); if not we can just drop the lower bound (it's not as if we will ever support py1.5 anyways :-)).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

The bug was fixed 4 years ago in Py2. Python >= 2.7.6 should not be affected.

Kojoley force-pushed the tst-appveyor-unblock-subprocess branch from 6e38b4f to 089fe86 Compare October 14, 2017 11:20
tacaswell merged commit 8b85dfb into matplotlib:master Oct 14, 2017
dstansby added a commit that referenced this pull request Oct 14, 2017
Kojoley deleted the tst-appveyor-unblock-subprocess branch January 5, 2020 21:15
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Appveyor build failing

3 participants


Back | FazBrowse Home | New Git URL