Skip to content

Commit 7eda1a5

Browse files
committed
Tweak azure-pipelines
1 parent 4ddd1f1 commit 7eda1a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

azure-pipelines.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,23 @@ jobs:
7171
cd $(checkout)
7272
git checkout $(commit)
7373
python -m pip install -U pip
74-
pip install -r requirements.txt
74+
python -m pip install -r requirements.txt
7575
python setup.py sdist
7676
displayName: 'Install and build sdist'
7777
7878
- script: |
7979
cd $(checkout)
8080
export CC=$(CC)
8181
export CXX=$(CXX)
82-
pip install "wheel==0.31.1"
82+
python -m pip install -U wheel
8383
python setup.py bdist_wheel
8484
displayName: 'Build universal wheel'
8585
condition: eq(variables['set_variables.universal'], 'True')
8686
8787
- bash: |
8888
cd $(Build.SourcesDirectory)/$(checkout)
8989
SDIST=$(python -c "import os;print(os.listdir('./dist')[0])" 2>&1)
90-
pip install dist/$SDIST
90+
python -m pip install dist/$SDIST
9191
rm -rf $(package_name)
9292
python -m pytest --pyargs $(package_name)
9393
displayName: 'Install from sdist & run tests'

0 commit comments

Comments
 (0)