Skip to content

Commit

Permalink
remaining usage of bare pip install (#5721)
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd authored Mar 16, 2023
1 parent f25c0d0 commit d64a68c
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions eng/pipelines/apiview-review-gen-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ jobs:
versionSpec: '$(PythonVersion)'

- script: |
pip install virtualenv aiohttp chardet trio
pip install api-stub-generator==$(ApiStubVersion) --index-url $(PythonIndexUrl)
python -m pip install virtualenv aiohttp chardet trio
python -m pip install api-stub-generator==$(ApiStubVersion) --index-url $(PythonIndexUrl)
displayName: 'Install api-stub-generator'
- template: /eng/pipelines/templates/steps/apiview-review-gen.yml
Expand Down
10 changes: 5 additions & 5 deletions eng/pipelines/doc-warden.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
versionSpec: 3.6

- script: |
pip install setuptools
pip install wheel twine readme-renderer[md]
python -m pip install setuptools
python -m pip install wheel twine readme-renderer[md]
displayName: 'Prep Environment'
- script: |
Expand Down Expand Up @@ -87,8 +87,8 @@ jobs:
versionSpec: 3.6

- script: |
pip install setuptools
pip install wheel twine readme-renderer[md]
python -m pip install setuptools
python -m pip install wheel twine readme-renderer[md]
cd $(Build.SourcesDirectory)
mkdir sdk-for-js
Expand All @@ -103,7 +103,7 @@ jobs:
displayName: 'Setup Environment'
- script: |
pip install -e $(Build.SourcesDirectory)/packages/python-packages/doc-warden/
python -m pip install -e $(Build.SourcesDirectory)/packages/python-packages/doc-warden/
displayName: 'Install doc-warden'
- script: |
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/mirror-pypi-to-dev-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- script: |
set -e
pip install -r $(Build.SourcesDirectory)/eng/scripts/download_targeted_packages_requirements.txt
python -m pip install -r $(Build.SourcesDirectory)/eng/scripts/download_targeted_packages_requirements.txt
displayName: Install Requirements
- pwsh: |
Expand Down
4 changes: 2 additions & 2 deletions eng/pipelines/templates/stages/archetype-sdk-tool-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ stages:

- script: |
python --version
pip install virtualenv aiohttp chardet trio setuptools wheel packaging
python -m pip install virtualenv aiohttp chardet trio setuptools wheel packaging
displayName: 'Setup Python Environment'
- pwsh: |
Expand Down Expand Up @@ -85,7 +85,7 @@ stages:

- script: |
set -e
pip install twine
python -m pip install twine
displayName: Install Twine
- task: TwineAuthenticate@0
Expand Down
2 changes: 1 addition & 1 deletion eng/pipelines/templates/steps/use-python-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ steps:
versionSpec: 3.8

- pwsh: |
pip install packaging==20.4
python -m pip install packaging==20.4
displayName: Prep Environment
# select the appropriate version from manifest if present
Expand Down
2 changes: 1 addition & 1 deletion packages/python-packages/api-stub-generator/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ extends:
- script: |
cd $(Build.SourcesDirectory)/packages/python-packages/api-stub-generator
pip install tox
python -m pip install tox
tox -e pytest,stubgen
displayName: Run APIView tests
2 changes: 1 addition & 1 deletion src/dotnet/APIView/apiview-sync-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ stages:

- script: |
cd $(Build.SourcesDirectory)/eng/python/apiview-syncdb/
pip install -r requirements.txt
python -m pip install -r requirements.txt
python ./sync_cosmosdb.py --dest-url $(apiview-staging-cosmos-url) --dest-key $(apiview-staging-cosmos-key) --db-name $(apiview-cosmosdb-name) --backup-connection-string $(apiview-cosmos-backup-connection)
displayName: Sync CosmosDB
2 changes: 1 addition & 1 deletion src/dotnet/APIView/apiview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ stages:

- script: |
python --version
pip install virtualenv aiohttp chardet trio
python -m pip install virtualenv aiohttp chardet trio
displayName: 'Setup Python Environment'
- pwsh: |
Expand Down
4 changes: 2 additions & 2 deletions tools/pylint-extensions/pylint-guidelines-checker/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ extends:
PackageName: 'Azure SDK Pylint Plugin'
TestSteps:
- script: |
pip install -r dev_requirements.txt
pip install -e .
python -m pip install -r dev_requirements.txt
python -m pip install -e .
displayName: 'Install Test Requirements'
workingDirectory: $(Build.SourcesDirectory)/tools/pylint-extensions/pylint-guidelines-checker
Expand Down
4 changes: 2 additions & 2 deletions tools/test-proxy/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ stages:
rootFolder: $(CLONE_LOCATION)

- pwsh: |
pip install -r dev_requirements.txt
pip install .
python -m pip install -r dev_requirements.txt
python -m pip install .
displayName: 'Install requirements and package'
workingDirectory: $(CLONE_LOCATION)/sdk/tables/azure-data-tables/
Expand Down

0 comments on commit d64a68c

Please sign in to comment.