Skip to content

Default to CFS for uv and azpysdk#46281

Draft
JennyPng wants to merge 21 commits intoAzure:mainfrom
JennyPng:azpysdk-cfs
Draft

Default to CFS for uv and azpysdk#46281
JennyPng wants to merge 21 commits intoAzure:mainfrom
JennyPng:azpysdk-cfs

Conversation

@JennyPng
Copy link
Copy Markdown
Member

@JennyPng JennyPng commented Apr 13, 2026

closes #46237

  • adds uv.toml which makes uv pip auto install from CFS instead of PyPI
  • updates docs to provide guidance on the index feed configuration
  • updates azpysdk to default to CFS unless a --pypi flag is passed
  • because of uv.toml, the azure-sdk-tools.yml was failing since it wasn't authenticated to get certain packages. I set it to just pull from PyPI since I didn't know if we wanted to authenticate to the feed in this public pipeline 🤔

- name: Configure UV indexes
run: |
echo "UV_DEFAULT_INDEX=https://pypi.org/simple/" >> "$GITHUB_ENV"
echo "UV_EXTRA_INDEX_URL=https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" >> "$GITHUB_ENV"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We test both pip and uv, so we should set PIP_INDEX_URL as well 👍

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.

Use CFS as index URL for repo and azpysdk

2 participants