Skip to content

Allow direct execution from airflow standalone via uvx#64405

Merged
jscheffl merged 4 commits intoapache:mainfrom
jscheffl:feature/allow-airflow-call-via-uvx
Mar 29, 2026
Merged

Allow direct execution from airflow standalone via uvx#64405
jscheffl merged 4 commits intoapache:mainfrom
jscheffl:feature/allow-airflow-call-via-uvx

Conversation

@jscheffl
Copy link
Copy Markdown
Contributor

@jscheffl jscheffl commented Mar 29, 2026

I was in discussion with a peer who switched to dagster and he told me "I would reconsider checking with Airflow but it is so complex, if it would be possible to uvx airflow that would be cool".

So I had a bit of sleep over it and currently you need to use uvx --from apache-airflow airflow standalone... so not far away. But actually just another name-matching entry point definition is missing making it directly usable via uvx.

So this PR proposing to add another script alias and some docs for a jump-start for a local development.

If this is merged and we have a new version published with this a user can directly execute: uvx apache-airflow standalone and... boom a minute later the web UI is usable (user just need to grab the admin password from logs... but making this better is another story...)


Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {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.

@jscheffl jscheffl force-pushed the feature/allow-airflow-call-via-uvx branch from 0e22b16 to dff8d56 Compare March 29, 2026 18:17
@jscheffl jscheffl added this to the Airflow 3.2.0 milestone Mar 29, 2026
@jscheffl jscheffl added the backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch label Mar 29, 2026
@jscheffl jscheffl force-pushed the feature/allow-airflow-call-via-uvx branch from dff8d56 to 589d03d Compare March 29, 2026 19:17
@jscheffl jscheffl merged commit d71755e into apache:main Mar 29, 2026
814 of 819 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 29, 2026
…64405)

* Allow direct execution from airflow standalone via uvx

* Fix docsbuild

* Revise documentation

* Spellcheck fix documentation
(cherry picked from commit d71755e)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

Backport successfully created: v3-2-test

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-2-test PR Link

vatsrahul1001 added a commit that referenced this pull request Mar 30, 2026
…64405) (#64432)

* Allow direct execution from airflow standalone via uvx

* Fix docsbuild

* Revise documentation

* Spellcheck fix documentation
(cherry picked from commit d71755e)

Co-authored-by: Jens Scheffler <95105677+jscheffl@users.noreply.github.com>
Co-authored-by: Rahul Vats <43964496+vatsrahul1001@users.noreply.github.com>
Suraj-kumar00 pushed a commit to Suraj-kumar00/airflow that referenced this pull request Apr 7, 2026
* Allow direct execution from airflow standalone via uvx

* Fix docsbuild

* Revise documentation

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

Labels

backport-to-v3-2-test Mark PR with this label to backport to v3-2-test branch kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants