Skip to content

Remove legacy Airflow 3 test tooling#2346

Merged
tatiana merged 1 commit into
mainfrom
cleanup-airflow3-tooling
Feb 11, 2026
Merged

Remove legacy Airflow 3 test tooling#2346
tatiana merged 1 commit into
mainfrom
cleanup-airflow3-tooling

Conversation

@pankajkoti
Copy link
Copy Markdown
Contributor

This PR removes the scripts/airflow3/ dev tooling added in PR #1627 (venv, env vars, install-from-main script, etc.).

The recommendation to test Airflow 3 is to use hatch test matrix (e.g. hatch run tests:test with matrix airflow=3.0 or 3.1) to run Cosmos with Airflow 3.

closes: #1734
related: #1627

Copilot AI review requested due to automatic review settings February 10, 2026 07:17
@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 10, 2026

Deploy Preview for astronomer-cosmos canceled.

Name Link
🔨 Latest commit 3af5110
🔍 Latest deploy log https://app.netlify.com/projects/astronomer-cosmos/deploys/698c688e11df9100086999ca

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes the legacy scripts/airflow3/ developer tooling for local Airflow 3 setups, aligning Airflow 3 testing with the documented hatch test matrix approach.

Changes:

  • Deleted Airflow 3 local setup scripts (env setup, venv creation, install-from-main workflow).
  • Removed the Airflow 3 pinned requirements list and local test helper script.
  • Removed related README and .gitignore entries under scripts/airflow3/.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
scripts/airflow3/tests.sh Removed legacy Airflow 3 test helper script.
scripts/airflow3/setup.sh Removed legacy venv creation and dependency install script for Airflow 3.
scripts/airflow3/requirements.txt Removed legacy Airflow 3 requirements list.
scripts/airflow3/install_from_main.sh Removed legacy script for installing Airflow from main branch.
scripts/airflow3/env.sh Removed legacy environment variable setup for local Airflow 3.
scripts/airflow3/README.md Removed legacy documentation for running Airflow 3 locally.
scripts/airflow3/.gitignore Removed ignore rules specific to the deleted Airflow 3 tooling.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@pankajkoti pankajkoti force-pushed the cleanup-airflow3-tooling branch from 3a34cdc to 3af5110 Compare February 11, 2026 11:31
@tatiana tatiana merged commit e5d97b2 into main Feb 11, 2026
10 checks passed
@tatiana tatiana deleted the cleanup-airflow3-tooling branch February 11, 2026 12:41
@tatiana tatiana added this to the Cosmos 1.14.0 milestone Feb 11, 2026
pankajastro added a commit that referenced this pull request May 11, 2026
## Summary
- Follow-up to #2346, which removed the Airflow 3 dev tooling under
`scripts/airflow3/` (`setup.sh`, `env.sh`, `install_from_main.sh`,
`requirements.txt`, `tests.sh`, `README.md`, `.gitignore`) and
redirected users to the hatch test matrix. That PR missed the `dags/`
subfolder, leaving 8 files behind.
- Nothing in the repo references `scripts/airflow3/` anymore (verified
via `grep` across `*.sh`, `*.py`, `*.yaml`, `*.yml`, `*.toml`, `*.cfg`,
`Dockerfile*`, `*.md`, `*.rst` — the only hit is an obsolete CHANGELOG
entry).
- Of the 8 remaining files: 5 are symlinks back to `dev/dags/`, 2
(`basic_cosmos_dag.py`, `example_operators.py`) are stale/diverged
copies of files that already exist with up-to-date content in
`dev/dags/`, and `hello.py` is a 29-line BashOperator hello-world smoke
test with no Cosmos imports.

Deletes the directory to finish the cleanup started in #2346.

## Test plan
- [x] `git grep` confirms no remaining references to `scripts/airflow3`
in code, scripts, CI, or docs
- [x] Existing `dev/dags/` contains current, maintained versions of the
non-trivial DAGs (`basic_cosmos_dag.py`, `basic_cosmos_task_group.py`,
`example_operators.py`, `example_virtualenv*.py`,
`jaffle_shop_kubernetes.py`, `simple_dag_async.py`)
- [x] No CI workflow or hatch script invokes anything from this path

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
tatiana pushed a commit that referenced this pull request May 20, 2026
## Summary
- Follow-up to #2346, which removed the Airflow 3 dev tooling under
`scripts/airflow3/` (`setup.sh`, `env.sh`, `install_from_main.sh`,
`requirements.txt`, `tests.sh`, `README.md`, `.gitignore`) and
redirected users to the hatch test matrix. That PR missed the `dags/`
subfolder, leaving 8 files behind.
- Nothing in the repo references `scripts/airflow3/` anymore (verified
via `grep` across `*.sh`, `*.py`, `*.yaml`, `*.yml`, `*.toml`, `*.cfg`,
`Dockerfile*`, `*.md`, `*.rst` — the only hit is an obsolete CHANGELOG
entry).
- Of the 8 remaining files: 5 are symlinks back to `dev/dags/`, 2
(`basic_cosmos_dag.py`, `example_operators.py`) are stale/diverged
copies of files that already exist with up-to-date content in
`dev/dags/`, and `hello.py` is a 29-line BashOperator hello-world smoke
test with no Cosmos imports.

Deletes the directory to finish the cleanup started in #2346.

## Test plan
- [x] `git grep` confirms no remaining references to `scripts/airflow3`
in code, scripts, CI, or docs
- [x] Existing `dev/dags/` contains current, maintained versions of the
non-trivial DAGs (`basic_cosmos_dag.py`, `basic_cosmos_task_group.py`,
`example_operators.py`, `example_virtualenv*.py`,
`jaffle_shop_kubernetes.py`, `simple_dag_async.py`)
- [x] No CI workflow or hatch script invokes anything from this path

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

Cleanup Airflow 3 tooling added for working on Cosmos before AF3 release

3 participants