Skip to content

Commit e1734eb

Browse files
fix: let PipAuthenticate handle feed URL and credentials
Set onlyAddExtraIndex: false so PipAuthenticate sets PIP_INDEX_URL (primary index) with the authenticated feed URL. Removed explicit --index-url flags that were bypassing the auth token. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ffde6d9 commit e1734eb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,13 @@ extends:
5252
displayName: Authenticate with Azure Artifacts
5353
inputs:
5454
artifactFeeds: microsoftgraph/GraphDeveloperExperiences_Public
55+
onlyAddExtraIndex: false
5556

56-
- script: python -m pip install --upgrade pip --index-url https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/pypi/simple/
57+
- script: python -m pip install --upgrade pip
5758
displayName: Upgrade pip
5859
workingDirectory: $(Build.SourcesDirectory)
5960

60-
- script: pip install -e ".[dev]" --index-url https://microsoftgraph.pkgs.visualstudio.com/0985d294-5762-4bc2-a565-161ef349ca3e/_packaging/GraphDeveloperExperiences_Public/pypi/simple/
61+
- script: pip install -e ".[dev]"
6162
displayName: Install dependencies
6263
workingDirectory: $(Build.SourcesDirectory)
6364

0 commit comments

Comments
 (0)