Skip to content

Commit fd8ff5a

Browse files
authored
Merge pull request #1877 from tseaver/appveyor-grpc-issue-6939-wag
WAG: try to preinstall 'grpcio' on appveyor.
2 parents 986302f + ac984e7 commit fd8ff5a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

appveyor.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ environment:
3030
- PYTHON: "C:\\Python27"
3131
PYTHON_VERSION: "2.7.11"
3232
PYTHON_ARCH: "32"
33+
INSTALL_GRPC: "1"
3334

3435
- PYTHON: "C:\\Python27-x64"
3536
PYTHON_VERSION: "2.7.11"
3637
PYTHON_ARCH: "64"
38+
INSTALL_GRPC: "1"
3739

3840
# Python 3.4.4 is the latest Python 3.4 with a Windows installer
3941
# Python 3.4.4 is the overall latest
@@ -87,6 +89,9 @@ install:
8789
# target Python version and architecture
8890
- "%CMD_IN_ENV% pip install wheel nose nose-exclude unittest2 cryptography"
8991

92+
# Work around https://github.com/grpc/grpc/issues/6939
93+
- '%CMD_IN_ENV% if "%INSTALL_GRPC%"=="1" (pip install grpcio)'
94+
9095
build_script:
9196
# Build the compiled extension
9297
- "%CMD_IN_ENV% python setup.py build"

0 commit comments

Comments
 (0)