Repository navigation
[main] Upgrade important CI environment - #73822
Merged
Merged
Conversation
Member
|
Rebased after merging #73802 |
potiuk
force-pushed
the
ci-upgrade-main
branch
from
September 28, 2026 09:39
bbb71d5 to
cd3fa8a
Compare
potiuk
marked this pull request as ready for review
September 28, 2026 09:39
potiuk
requested review from
amoghrajesh,
ashb,
bugraoz93,
gopidesupavan,
hussein-awala,
jason810496,
jscheffl,
o-nikolas and
potiuk
as code owners
September 28, 2026 09:39
jscheffl
approved these changes
Sep 28, 2026
github-actions
Bot
force-pushed
the
ci-upgrade-main
branch
from
September 30, 2026 06:35
cd3fa8a to
b3f2eab
Compare
github-actions
Bot
requested review from
choo121600,
dheerajturaga,
ephraimbuddy,
henry3260,
jedcunningham,
shahar1 and
vatsrahul1001
as code owners
September 30, 2026 06:35
github-actions
Bot
force-pushed
the
ci-upgrade-main
branch
from
October 2, 2026 06:32
b3f2eab to
2c22215
Compare
Lee-W
approved these changes
Oct 2, 2026
Lee-W
marked this pull request as ready for review
October 2, 2026 06:46
Contributor
Author
|
Quickest fix: git fetch upstream main && git rebase upstream/main
rm uv.lock && uv lock
git add uv.lock && git rebase --continue
git push --force-with-leaseAutomated nudge — ignore if you're not ready to rebase. This comment is updated in place on future |
github-actions
Bot
force-pushed
the
ci-upgrade-main
branch
from
October 5, 2026 06:46
2c22215 to
059d0dc
Compare
potiuk
marked this pull request as ready for review
October 5, 2026 07:33
potiuk
approved these changes
Oct 5, 2026
github-actions
Bot
force-pushed
the
ci-upgrade-main
branch
from
October 16, 2026 06:30
64e488f to
2351deb
Compare
shahar1
marked this pull request as ready for review
October 16, 2026 09:33
github-actions
Bot
force-pushed
the
ci-upgrade-main
branch
from
October 19, 2026 06:46
2351deb to
ee7851f
Compare
Lee-W
marked this pull request as ready for review
October 19, 2026 07:46
Lee-W
force-pushed
the
ci-upgrade-main
branch
from
October 19, 2026 09:47
ee7851f to
caf5723
Compare
potiuk
force-pushed
the
ci-upgrade-main
branch
from
October 19, 2026 11:08
caf5723 to
7aa3e0e
Compare
- snowflake: snowflake-sqlalchemy (up to 1.11.1) cannot be imported on SQLAlchemy 2.1, which made ORMSelectCompileState private. Cap sqlalchemy<2.1 in the provider; the workspace lock resolves back to SQLAlchemy 2.0.54. Removing the cap is tracked in #75118. - airflow-core: type the dag_display_name and duration hybrid expressions against the class (type[...] -> ColumnElement) and fix _get_dialect's return type, so mypy holds on SQLAlchemy 2.0 and 2.1. - common.ai: declare the OpenAI Decisions and System One vendors added in pydantic-ai 2.53/2.55; reject sqlglot >= 30.22's exp.ListStage (Snowflake LIST/LS @stage) on the allow_writes path; adapt tests to pydantic-ai's streamed Anthropic requests and new request counting, and to sqlglot's MySQL "--+" tokenization. Generated-by: Claude Opus 5
#75078 dropped the type: ignores in this expression, which only held while mypy did not check the body; typing cls as type[Backfill] keeps it clean on SQLAlchemy 2.0 and 2.1, as dag_display_name and DagRun.duration already are. Also annotate the Anthropic stream fixture so mypy can index its events. Generated-by: Claude Opus 5
potiuk
force-pushed
the
ci-upgrade-main
branch
from
October 19, 2026 15:12
b188b15 to
43058e2
Compare
This was referenced Oct 20, 2026
This was referenced Oct 20, 2026
Merged
potiuk
added a commit
that referenced
this pull request
Oct 20, 2026
…#75231) * [v3-4-test] Make airflow-core typing hold for SQLAlchemy 2.0 and 2.1 (#74629) SQLAlchemy 2.1 turns Select/Row/Result into TypeVarTuple generics, so `Select[tuple[X]]` now means a one-column select of a tuple, and rows unpack to the real (possibly nullable) column types instead of Any. No parameterised `Select` spelling is valid on both versions, so helpers that only refine a select they receive are generic over it, and helpers that build their own select return an unparameterised `Select`. Nullable columns are narrowed with `is None` checks rather than cast; the pool and asset-event queries already exclude NULL there, while get_authorized_pools now skips pools whose name is NULL. The 12-column task instance row, beyond SQLAlchemy's typed select() overloads, is unpacked into locals declared with their column types. Type-checks with mypy on both SQLAlchemy 2.0.54 and 2.1.4. (cherry picked from commit 675b02a) Generated-by: Claude Opus 5 * [v3-4-test] Cap SQLAlchemy below 2.1 and type models for 2.0 and 2.1 The v3-4-test lock resolved SQLAlchemy 2.1.4, which snowflake-sqlalchemy cannot import and which broke mypy in the CI image. This ports the parts of #73822 that main uses for the same upgrade: the snowflake provider cap that keeps the workspace lock on SQLAlchemy 2.0.54, and the hybrid-expression typing in DagRun, DagModel and Backfill that holds on both versions. Generated-by: Claude Opus 5 --------- Co-authored-by: Dev-iL <[email protected]>
vatsrahul1001
pushed a commit
that referenced
this pull request
Oct 20, 2026
…#75231) * [v3-4-test] Make airflow-core typing hold for SQLAlchemy 2.0 and 2.1 (#74629) SQLAlchemy 2.1 turns Select/Row/Result into TypeVarTuple generics, so `Select[tuple[X]]` now means a one-column select of a tuple, and rows unpack to the real (possibly nullable) column types instead of Any. No parameterised `Select` spelling is valid on both versions, so helpers that only refine a select they receive are generic over it, and helpers that build their own select return an unparameterised `Select`. Nullable columns are narrowed with `is None` checks rather than cast; the pool and asset-event queries already exclude NULL there, while get_authorized_pools now skips pools whose name is NULL. The 12-column task instance row, beyond SQLAlchemy's typed select() overloads, is unpacked into locals declared with their column types. Type-checks with mypy on both SQLAlchemy 2.0.54 and 2.1.4. (cherry picked from commit 675b02a) Generated-by: Claude Opus 5 * [v3-4-test] Cap SQLAlchemy below 2.1 and type models for 2.0 and 2.1 The v3-4-test lock resolved SQLAlchemy 2.1.4, which snowflake-sqlalchemy cannot import and which broke mypy in the CI image. This ports the parts of #73822 that main uses for the same upgrade: the snowflake provider cap that keeps the workspace lock on SQLAlchemy 2.0.54, and the hybrid-expression typing in DagRun, DagModel and Backfill that holds on both versions. Generated-by: Claude Opus 5 --------- Co-authored-by: Dev-iL <[email protected]>
6 of 7 tasks
28 of 93 tasks
1 task done
This was referenced Oct 29, 2026
1 task done
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.
This PR upgrades important dependencies of the CI environment.
Dependency floors
Raised:
boto3,botocore: 1.42.79 → 1.42.93 (airflow-e2e-tests/pyproject.toml, providers/amazon/pyproject.toml, providers/hashicorp/pyproject.toml)azure-keyvault-secrets: 4.10.0 → 4.11.0 (providers/microsoft/azure/pyproject.toml)google-api-python-client: 2.193.0 → 2.194.0 (providers/google/pyproject.toml)google-cloud-bigtable: 2.35.0 → 2.36.0 (providers/google/pyproject.toml)google-cloud-dataflow-client: 0.12.0 → 0.13.0 (providers/google/pyproject.toml)google-cloud-dlp: 3.35.0 → 3.36.0 (providers/google/pyproject.toml)google-cloud-pubsub: 2.36.0 → 2.37.0 (providers/google/pyproject.toml)google-cloud-spanner: 3.63.0 → 3.65.0 (providers/google/pyproject.toml)google-cloud-texttospeech: 2.35.0 → 2.36.0 (providers/google/pyproject.toml)google-cloud-translate: 3.25.0 → 3.26.0 (providers/google/pyproject.toml)Skipped:
azure-ai-projects: 2.5+ needs openai>=3, broke main (Revert "[main] Upgrade important CI environment" #73621, Capazure-ai-projectsbelow 2.5 so the CI image passes pip check #73627)azure-kusto-data: held back by !=5.0.0 in providers/microsoft/azure/pyproject.tomlazure-search-documents: held back by !=12.0.0 in providers/microsoft/azure/pyproject.toml