Skip to content

Ensure that build-test uses pypi - #48291

Open
chidozieononiwu wants to merge 1 commit into
mainfrom
UnblockPythonTests
Open

Ensure that build-test uses pypi#48291
chidozieononiwu wants to merge 1 commit into
mainfrom
UnblockPythonTests

Conversation

@chidozieononiwu

Copy link
Copy Markdown
Member

This pull request updates the build-test.yml pipeline template to streamline Python version selection and package source configuration. The most important changes are grouped below:

Python environment setup:

  • Replaced the use-python-version.yml template with the UsePythonVersion@0 pipeline task, allowing for direct specification of the Python version and enabling unstable versions via the allowUnstable input.

Package source configuration:

  • Added a new PowerShell step to explicitly set PIP_INDEX_URL and UV_DEFAULT_INDEX environment variables, ensuring that test checks use the official PyPI repository for Python packages.
  • Removed the auth-dev-feed.yml template step, which previously authenticated to the Azure Artifacts feed, since tests now pull packages directly from PyPI.

Copilot AI review requested due to automatic review settings July 28, 2026 02:51
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
9 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates build-test pipelines to use Python directly and install test dependencies from PyPI.

Changes:

  • Uses UsePythonVersion@0 directly.
  • Configures pip and uv to use PyPI.
  • Removes Azure Artifacts authentication.

Copilot AI review requested due to automatic review settings July 28, 2026 03:56

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.

Comment on lines +24 to +28
- task: UsePythonVersion@0
displayName: "Use Python ${{ parameters.PythonVersion }}"
inputs:
versionSpec: ${{ parameters.PythonVersion }}
allowUnstable: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants