fix: Configured Microsoft Package Feed Proxy - #1147
Open
Priyanka2-Microsoft wants to merge 8 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This pull request updates the development environment to ensure all Python and Node.js package installations are routed through the Microsoft Package Feed Proxy. This is essential for compatibility with Microsoft-managed devices, where direct access to public registries may be blocked. The changes affect Dockerfiles, environment variables, configuration files, and documentation to enforce the use of internal package feeds for pip, uv, and npm, and also add timing for npm install steps for better diagnostics.
Package feed proxy enforcement and configuration:
https://packagefeedproxy.microsoft.io/pypi/simple/as the index URL at the top of all relevantrequirements.txtfiles and in the[tool.uv]section ofpyproject.tomlto ensure all Python package installations use the Microsoft Package Feed Proxy. [1] [2] [3] [4].npmrcwith the internal registry URL and updated Dockerfiles, environment variables, anddevcontainer.jsonto route all npm installations through the proxy. [1] [2] [3] [4] [5]LocalDevelopmentSetup.md) to explain the proxy setup and how to override it if needed.Development container and CI improvements:
.devcontainer/Dockerfileto usebookwormand set environment variables for pip, uv, and npm registries. [1] [2]devcontainer.jsonanddevcontainer-lock.jsonto specify the correct node feature configuration and lock down feature versions. [1] [2]CI pipeline and automation updates:
Build and setup scripts:
npm installsteps in shell and PowerShell scripts, as well as in Dockerfiles, to help diagnose slow installs. [1] [2] [3] [4]These changes collectively ensure a seamless development and CI experience on Microsoft-managed devices by routing all package installations through the required internal proxies.
Does this introduce a breaking change?
How to Test
What to Check
Verify that the following are valid
Other Information