Skip to content

Conversation

Copy link

Copilot AI commented Nov 5, 2025

Python 3.10 verification pipeline failed due to setuptools version conflict. Modern pip (25.3+) uses isolated build environments with latest setuptools by default, conflicting with the explicitly installed setuptools 65.7 in the user environment.

Changes

  • Removed pip install --upgrade pip from both CPU and CUDA test pipelines
  • Removed --no-build-isolation flag previously added as workaround
  • Kept setuptools 65.7 installation for Python < 3.11 where required by setup.py

Before

- script: |
    if python3 -c "import sys; exit(0 if sys.version_info < (3, 11) else 1)"; then
      python3 -m pip install --upgrade pip setuptools==65.7
    else
      python3 -m pip install --upgrade pip
    fi
    python3 -m pip install --no-build-isolation .[test,cpuworker]

After

- script: |
    if python3 -c "import sys; exit(0 if sys.version_info < (3, 11) else 1)"; then
      python3 -m pip install --upgrade setuptools==65.7
    fi
    python3 -m pip install .[test,cpuworker]

Pip upgrade was the root cause—removing it allows pip's default build isolation to work correctly without version conflicts.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI changed the title [WIP] Fix Azure test pipeline in CI/CD CI/CD - Remove pip upgrade from Azure test pipelines Nov 5, 2025
Copilot AI requested a review from abuccts November 5, 2025 04:17
Base automatically changed from hongtaozhang/fix-test-pipeline to main November 5, 2025 05:15
@guoshzhao guoshzhao closed this Nov 5, 2025
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.

3 participants