Skip to content

Commit e1a426c

Browse files
authored
Unify pypy (#5209)
Unify pypy
2 parents 45eeb53 + 2bd97eb commit e1a426c

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
# But no exception with py27-pexpect,py27-twisted,py27-numpy.
4444
PYTEST_COVERAGE: '1'
4545
pypy:
46-
python.version: 'pypy'
46+
python.version: 'pypy2'
4747
tox.env: 'pypy'
4848
python.exe: 'pypy'
49-
# NOTE: pypy3 fails to install pip currently due to an interal error.
49+
# NOTE: pypy3 fails to install pip currently due to an internal error.
5050
# pypy3:
5151
# python.version: 'pypy3'
5252
# tox.env: 'pypy3'
@@ -86,7 +86,6 @@ jobs:
8686

8787
steps:
8888
- task: UsePythonVersion@0
89-
condition: not(startsWith(variables['python.exe'], 'pypy'))
9089
inputs:
9190
versionSpec: '$(python.version)'
9291
architecture: 'x64'
@@ -95,23 +94,6 @@ jobs:
9594
condition: eq(variables['python.needs_vc'], True)
9695
displayName: 'Install VC for py27'
9796

98-
- script: choco install python.pypy
99-
condition: eq(variables['python.exe'], 'pypy')
100-
displayName: 'Install pypy'
101-
102-
- script: choco install pypy3
103-
condition: eq(variables['python.exe'], 'pypy3')
104-
displayName: 'Install pypy3'
105-
106-
- task: PowerShell@2
107-
inputs:
108-
targetType: 'inline'
109-
script: |
110-
Invoke-WebRequest -Uri "https://bootstrap.pypa.io/get-pip.py" -OutFile "get-pip.py"
111-
$(python.exe) get-pip.py
112-
condition: startsWith(variables['python.exe'], 'pypy')
113-
displayName: 'Install pip'
114-
11597
- script: $(python.exe) -m pip install --upgrade pip && $(python.exe) -m pip install tox
11698
displayName: 'Install tox'
11799

0 commit comments

Comments
 (0)