Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Airflow and dependencies #93

Merged
merged 1 commit into from
Jul 26, 2024
Merged

Upgrade Airflow and dependencies #93

merged 1 commit into from
Jul 26, 2024

Conversation

lwrubel
Copy link
Collaborator

@lwrubel lwrubel commented Jul 26, 2024

Seems like a good time to get Airflow and dependencies updated and see what that process might involve for the future.

I reviewed the Airflow suggested docker-compose.yaml for anything new with the latest release, but nothing more was involved there than updating the Airflow version number.

To upgrade Python dependencies:

uv pip compile pyproject.toml -o requirements.txt --upgrade

Tested with unit tests and also running the DAG locally.

@@ -1,4 +1,4 @@
FROM apache/airflow:2.9.2-python3.12
FROM apache/airflow:2.9.3-python3.12
Copy link
Contributor

Choose a reason for hiding this comment

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

I was wondering if it would be living too dangerously to install the latest version?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Upgrading Airflow feels like upgrading Rails to me. Do we upgrade patch version automatically there but not minor?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I know some upgrades are a more manual process.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I'll go ahead and merge this but open to figuring out how to loosen up the Airflow upgrade process.

@lwrubel lwrubel merged commit 183bff7 into main Jul 26, 2024
1 check passed
@lwrubel lwrubel deleted the airflow-upgrade-2-9-3 branch July 26, 2024 21:18
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.

2 participants