Skip to content

Auto-upgrade sphinx-airflow-theme in prek hook#63763

Merged
potiuk merged 1 commit intoapache:mainfrom
potiuk:upgrade-sphinx-airflow-theme-prek-hook
Mar 17, 2026
Merged

Auto-upgrade sphinx-airflow-theme in prek hook#63763
potiuk merged 1 commit intoapache:mainfrom
potiuk:upgrade-sphinx-airflow-theme-prek-hook

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Mar 16, 2026

Add sphinx-airflow-theme to the upgrade-important-versions prek hook so it
automatically fetches the latest version from
https://airflow.apache.org/sphinx-airflow-theme/LATEST_VERSION.txt and updates
the whl URL in devel-common/pyproject.toml.

Also fix selective checks tests (add update-uv-lock to skip-prek-hooks
expectations) and resolve mypy errors in selective_checks.py (widen type
annotations for mixed SelectiveTestType enum keys, add type-ignore comments
for tomli/requests imports).


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Opus 4.6 (1M context)

Generated-by: Claude Opus 4.6 (1M context) following the guidelines

@boring-cyborg boring-cyborg bot added area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch labels Mar 16, 2026
@potiuk potiuk force-pushed the upgrade-sphinx-airflow-theme-prek-hook branch from 19238e6 to 3bc54cd Compare March 16, 2026 23:22
@potiuk potiuk force-pushed the upgrade-sphinx-airflow-theme-prek-hook branch from 3bc54cd to a739a4b Compare March 16, 2026 23:35
Copy link
Member

@gopidesupavan gopidesupavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@potiuk potiuk force-pushed the upgrade-sphinx-airflow-theme-prek-hook branch 4 times, most recently from 4eb56c5 to 949d93a Compare March 17, 2026 00:26
@potiuk potiuk mentioned this pull request Mar 17, 2026
1 task
Add sphinx-airflow-theme to the upgrade-important-versions prek hook so
it automatically fetches the latest version from
https://airflow.apache.org/sphinx-airflow-theme/LATEST_VERSION.txt and
updates the whl URL in devel-common/pyproject.toml.

Also fix selective checks tests (add update-uv-lock to skip-prek-hooks
expectations) and resolve mypy errors in selective_checks.py.
@potiuk potiuk force-pushed the upgrade-sphinx-airflow-theme-prek-hook branch from 949d93a to 939cf5b Compare March 17, 2026 01:54
@potiuk potiuk merged commit 5c77949 into apache:main Mar 17, 2026
106 of 108 checks passed
@potiuk potiuk deleted the upgrade-sphinx-airflow-theme-prek-hook branch March 17, 2026 02:11
@github-actions
Copy link

Backport failed to create: v3-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 5c77949 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:dev-tools backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants