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

Appearance settings

Commit 089fe86

Browse filesBrowse files
committed
TST: Unblock Appveyor build by patching subprocess
1 parent de51d40 commit 089fe86
Copy full SHA for 089fe86

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎.appveyor.yml

Copy file name to clipboardExpand all lines: .appveyor.yml
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ install:
9595
# pytest-cov>=2.3.1 due to https://github.com/pytest-dev/pytest-cov/issues/124
9696
- pip install -q pytest "pytest-cov>=2.3.1" pytest-rerunfailures pytest-timeout
9797

98+
# Apply patch to `subprocess` on Python versions > 2 and < 3.6.3
99+
# https://github.com/matplotlib/matplotlib/issues/9176
100+
- python -c "import sys; sys.exit(not (3,) < sys.version_info < (3,6,3))" && (
101+
curl -sL https://github.com/python/cpython/pull/1224.patch |
102+
patch -fsup 1 -d %CONDA_PREFIX% ) || ( set errorlevel= )
103+
98104
# Let the install prefer the static builds of the libs
99105
- set LIBRARY_LIB=%CONDA_PREFIX%\Library\lib
100106
- mkdir lib || cmd /c "exit /b 0"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.