Repository navigation
Cap azure-ai-projects below 2.5 so the CI image passes pip check - #73627
Merged
potiuk merged 1 commit intoSep 23, 2026
Merged
Conversation
The openai>=2.47.0,<3 override replaces every package's openai requirement, so the resolver no longer rejects azure-ai-projects 2.5+, which requires openai>=3.0.0 unconditionally. A lock refresh then moved it to 2.7.0 and the CI image build failed in pip check. Cap it at its last openai 2.x release, which is what the resolver picks without the override.
potiuk
approved these changes
Sep 23, 2026
Member
|
Yeah. I was distracted :) |
Member
|
Thanks for fixing @kaxil. Had practically the same draft ;) |
This was referenced Sep 25, 2026
28 of 93 tasks
This was referenced Oct 22, 2026
This was referenced Oct 29, 2026
This was referenced Nov 2, 2026
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.
After #73308 refreshed
uv.lock, main started failingpip check, and #73621 reverted the refresh:The cause is the
openai>=2.47.0,<3override from #73511. A uv override replaces every package's openai requirement, not only pydantic-ai-slim's extra-gatedopenai>=3.8, which is the one it was added for. azure-ai-projects 2.5.0 moved to an unconditionalopenai>=3.0.0. Without the override the resolver keeps it at 2.4.0, because litellm and llama-index-llms-openai cap openai below 3. With the override there is no conflict left to see, souv lock --upgrademoves it to 2.7.0 and onlypip checknotices.This caps azure-ai-projects at
<2.5, the version the resolver would choose without the override. The Azure provider declaresazure-ai-projects>=2.2.0and main was already on 2.4.0, so the tested version does not change. The comment next to the override now says that any package whose next release needs openai 3 unconditionally has to be capped the same way. It also corrects the condition for dropping the override: besides the two upstream fixes it already names, google-cloud-aiplatform has to lift its litellm cap (<1.86below Python 3.14), otherwise the lock stays on a litellm that still caps openai.Checked with
breeze ci-image build --python 3.10, which runs the same frozenuv syncandpip checkas the failing job:ecfa20322b)pip checkwith the error aboveNo broken requirements found.No broken requirements found.I also ran a full
uv lock --upgradewith this change and compared the PyPI metadata of every locked package that depends on openai against the locked openai 2.54.0. azure-ai-projects was the only unconditional requirement it failed. pydantic-ai-slim'sopenai>=3.8still sits behind itsopenaiextra, whichpip checkskips, same as on main today.Moving the override to openai 3 instead does not work yet. The latest litellm (1.102.1) and llama-index-llms-openai (0.8.1) still require openai below 3, so
pip checkwould fail on them instead.The
pandasreorder inuv.lockisuv lockrestoring the order #73308's lock already had; the revert brought back the unsorted entry.{pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.