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

Allow running airflow against sqlite in-memory DB for tests #37144

Merged
merged 1 commit into from Feb 2, 2024

Conversation

ashb
Copy link
Member

@ashb ashb commented Feb 2, 2024

This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.

Related to #36774 which was released in 2.8.1 -- prior to that this worked without problem

This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.
@ashb ashb added this to the Airflow 2.8.2 milestone Feb 2, 2024
@ashb ashb merged commit 7324400 into main Feb 2, 2024
57 checks passed
@ashb ashb deleted the allow-sqlite-temp-db branch February 2, 2024 13:58
@jedcunningham jedcunningham added the type:misc/internal Changelog: Misc changes that should appear in change log label Feb 9, 2024
jedcunningham pushed a commit that referenced this pull request Feb 9, 2024
This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.

(cherry picked from commit 7324400)
potiuk pushed a commit that referenced this pull request Feb 13, 2024
This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.

(cherry picked from commit 7324400)
ephraimbuddy pushed a commit that referenced this pull request Feb 22, 2024
This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.

(cherry picked from commit 7324400)
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
…7144)

This makes no sense for production workloads, but it is useful for
writing tests of Airflow operators etc.

I also moved the warning from configure_vars to convigure_orm so that it
is checked after local settings have been applied in case that changes
anything.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants