Skip to content

Upgrade pydantic properly via uv pip compile#3006

Closed
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-pydantic-properly
Closed

Upgrade pydantic properly via uv pip compile#3006
Copilot wants to merge 2 commits intomainfrom
copilot/upgrade-pydantic-properly

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 17, 2026

PR #3003 only bumped pydantic-core (2.41.5 → 2.42.0) without updating pydantic, causing an unsatisfiable dependency conflict: pydantic==2.12.5 pins pydantic-core==2.41.5 exactly.

Changes

  • Re-ran uv pip compile with --upgrade-package pydantic --upgrade-package pydantic-core to upgrade both atomically
  • pydantic stays at 2.12.5 and pydantic-core stays at 2.41.5 — correct, since pydantic 2.13.0 (which requires pydantic-core 2.42.0) only has beta releases
  • Compile also refreshed transitive dependency annotations (added async-timeout, exceptiongroup, taskgroup, tomli; cleaned up httpx[http2]httpx and pyjwt[crypto]pyjwt extras)

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • releases.astral.sh
    • Triggering command: /home/REDACTED/.local/bin/uv uv pip compile requirements.in -o /tmp/requirements_new.txt --python-version 3.10 --upgrade-package pydantic --upgrade-package pydantic-core (dns block)
  • test-cosmosdb-account.documents.azure.com
    • Triggering command: /home/REDACTED/work/azure-search-openai-demo/azure-search-openai-demo/.venv/bin/pytest pytest tests/ -x -q --ignore=tests/e2e.py --ignore=tests/test_app.py (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI linked an issue Mar 17, 2026 that may be closed by this pull request
…ckage pydantic --upgrade-package pydantic-core

Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix upgrade of pydantic based on failed PR Upgrade pydantic properly via uv pip compile Mar 17, 2026
Copilot AI requested a review from pamelafox March 17, 2026 18:27
@pamelafox
Copy link
Copy Markdown
Collaborator

@copilot This PR does not seem to actually upgrade Pydantic then?

@pamelafox pamelafox closed this Mar 29, 2026
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.

Upgrade pydantic properly

2 participants