Skip to content

Commit c955e7b

Browse files
fix: simplify to PipAuthenticate with feed as primary index
The agent is network-isolated and cannot reach pypi.org. Use PipAuthenticate with the internal feed as the primary index. This will work once the feed's PyPI upstream source is fixed to properly proxy public packages. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ccc8c5b commit c955e7b

1 file changed

Lines changed: 5 additions & 11 deletions

File tree

.azure-pipelines/daily-ci-build.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -48,17 +48,11 @@ extends:
4848
inputs:
4949
versionSpec: '3.12'
5050

51-
- script: pip install artifacts-keyring --index-url https://pypi.org/simple
52-
displayName: Install Azure Artifacts keyring
53-
workingDirectory: $(Build.SourcesDirectory)
54-
55-
- script: |
56-
mkdir -p ~/.config/pip
57-
cat > ~/.config/pip/pip.conf << 'EOF'
58-
[global]
59-
index-url=https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/pypi/simple/
60-
EOF
61-
displayName: Configure pip to use Azure Artifacts feed
51+
- task: PipAuthenticate@1
52+
displayName: Authenticate with Azure Artifacts
53+
inputs:
54+
artifactFeeds: microsoftgraph/GraphDeveloperExperiences_Public
55+
onlyAddExtraIndex: false
6256

6357
- script: pip install -e ".[dev]"
6458
displayName: Install dependencies

0 commit comments

Comments
 (0)