Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ RUN apt-get update \
# Copy UV binaries
COPY --from=uv --chown=vscode: /uv /uvx /bin/

# Install global NPM packages
RUN npm install -g tslint-to-eslint-config typescript react-app-rewired pnpm@10.28.2
# Install global NPM packages (from the Microsoft Package Feed Proxy)
RUN npm install -g --registry=https://packagefeedproxy.microsoft.io/npm/ tslint-to-eslint-config typescript react-app-rewired pnpm@10.28.2

# Set default shell
SHELL ["/bin/bash", "-c"]
2 changes: 2 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ on:
permissions:
contents: read
actions: read
env:
PIP_INDEX_URL: https://packagefeedproxy.microsoft.io/pypi/simple/
jobs:
build:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-automation-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ env:
url: ${{ inputs.CP_WEB_URL }}
accelerator_name: "Content Processing"
test_suite: ${{ inputs.TEST_SUITE }}
PIP_INDEX_URL: https://packagefeedproxy.microsoft.io/pypi/simple/

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-automation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
url: ${{ inputs.CP_WEB_URL }}
CP_RG: ${{ inputs.CP_RG }}
accelerator_name: "Content Processing"
PIP_INDEX_URL: https://packagefeedproxy.microsoft.io/pypi/simple/

jobs:
test:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ permissions:
contents: read
actions: read
pull-requests: write
env:
PIP_INDEX_URL: https://packagefeedproxy.microsoft.io/pypi/simple/
jobs:
backend_tests:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion docs/AVMPostDeploymentGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Before starting, ensure you have:
The registration script requires the `requests` library:

```bash
pip install requests
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ requests
```

## Post-Deployment Steps
Expand Down
12 changes: 6 additions & 6 deletions docs/LocalDevelopmentSetup.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

```bash
# Install uv package manager if not already installed
pip install uv
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ uv

# Install all dependencies using uv
uv sync --python 3.12
Expand Down Expand Up @@ -362,7 +362,7 @@ source .venv/bin/activate # Linux/macOS

```bash
# Install uv package manager if not already installed
pip install uv
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ uv

# Install all dependencies using uv
uv sync --python 3.12
Expand Down Expand Up @@ -468,7 +468,7 @@ source .venv/bin/activate # Linux/macOS

```bash
# Install uv package manager if not already installed
pip install uv
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ uv

# Install all dependencies using uv
uv sync --python 3.12 --prerelease=allow
Expand Down Expand Up @@ -630,7 +630,7 @@ If you see errors when installing dependencies, ensure you're using `uv sync` in

```powershell
# Install uv if not already installed
pip install uv
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ uv

# Use uv sync which handles dependencies better
uv sync --python 3.12
Expand All @@ -645,8 +645,8 @@ If you see "PyO3 modules compiled for CPython 3.8 or older may only be initializ
```powershell
# Uninstall and reinstall with compatible versions
pip uninstall -y pydantic pydantic-core
pip install pydantic==2.12.5 pydantic-core==2.41.5
pip install --upgrade "typing-extensions>=4.14.1"
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ pydantic==2.12.5 pydantic-core==2.41.5
python -m pip install --index-url https://packagefeedproxy.microsoft.io/pypi/simple/ --upgrade "typing-extensions>=4.14.1"
```

**Explanation:** Version mismatch between pydantic and pydantic-core causes runtime errors. The compatible versions above work reliably together.
Expand Down
Empty file modified infra/scripts/post_deployment.sh
100644 → 100755
Empty file.
2 changes: 2 additions & 0 deletions infra/vscode_web/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--index-url https://packagefeedproxy.microsoft.io/pypi/simple/

azure-ai-projects==2.1.0
azure-identity==1.20.0
ansible-core~=2.17.0
8 changes: 8 additions & 0 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="microsoft-package-feed-proxy"
value="https://packagefeedproxy.microsoft.io/nuget/v3/index.json" />
</packageSources>
</configuration>
5 changes: 5 additions & 0 deletions src/ContentProcessor/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ dev = [
"ruff==0.16.0",
]

[[tool.uv.index]]
name = "microsoft-package-feed-proxy"
url = "https://packagefeedproxy.microsoft.io/pypi/simple/"
default = true

[tool.pytest.ini_options]
minversion = "8.3.4"
addopts = "-v --strict-markers --maxfail=5"
Expand Down
2 changes: 2 additions & 0 deletions src/ContentProcessor/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
--index-url https://packagefeedproxy.microsoft.io/pypi/simple/

annotated-types==0.8.0
azure-ai-inference==1.0.0b9
azure-appconfiguration==1.9.0
Expand Down
Loading