Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

TST: Unblock Appveyor build by patchingsubprocess#9395

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

Kojoley
Copy link
Member

@KojoleyKojoley commentedOct 13, 2017
edited
Loading

closes#9176

.appveyor.yml Outdated
@@ -95,6 +95,12 @@ install:
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout

# 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
Member

Choose a reason for hiding this comment

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

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

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

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

@tacaswelltacaswell added this to the2.1.1 (next bug fix release) milestoneOct 13, 2017
@KojoleyKojoleyforce-pushed thetst-appveyor-unblock-subprocess branch from869b84d to6e38b4fCompareOctober 13, 2017 19:17
.appveyor.yml Outdated
# 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
Contributor

Choose a reason for hiding this comment

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

I thought only Py3 was affected? Both from my (possibly incorrect) remembering of what used to fail and fromhttps://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
MemberAuthor

Choose a reason for hiding this comment

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

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

@KojoleyKojoleyforce-pushed thetst-appveyor-unblock-subprocess branch from6e38b4f to089fe86CompareOctober 14, 2017 11:20
@tacaswelltacaswell merged commit8b85dfb intomatplotlib:masterOct 14, 2017
dstansby added a commit that referenced this pull requestOct 14, 2017
@KojoleyKojoley deleted the tst-appveyor-unblock-subprocess branchJanuary 5, 2020 21:15
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell left review comments

@anntzeranntzeranntzer approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v2.1.1
Development

Successfully merging this pull request may close these issues.

Appveyor build failing
3 participants
@Kojoley@tacaswell@anntzer

[8]ページ先頭

©2009-2025 Movatter.jp