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

Remove internal_api_call from airflow.secrets.metastore #44489

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Nov 29, 2024

Part of #44436


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk mentioned this pull request Nov 29, 2024
90 tasks
@potiuk potiuk force-pushed the remove-internal-api-from-metastore branch 2 times, most recently from b7c93a7 to 672b54f Compare November 29, 2024 21:02
@potiuk potiuk requested a review from vincbeck November 29, 2024 21:02
@shahar1
Copy link
Contributor

shahar1 commented Nov 29, 2024

Tests are 🔴

@potiuk
Copy link
Member Author

potiuk commented Nov 29, 2024

Ah... Our favorite: ImportError: cannot import name 'MetastoreBackend' from partially initialized module 'airflow.secrets.metastore' (most likely due to a circular import) (/opt/airflow/airflow/secrets/metastore.py)

@potiuk
Copy link
Member Author

potiuk commented Nov 29, 2024

One of those I want to get rid in airflow 3 by explicit rather than implicit initialization via "airflow.init".

@potiuk potiuk force-pushed the remove-internal-api-from-metastore branch from 672b54f to 2158dc4 Compare November 29, 2024 21:21
@potiuk
Copy link
Member Author

potiuk commented Nov 29, 2024

Hopefully green now :)

@shahar1
Copy link
Contributor

shahar1 commented Nov 29, 2024

Hopefully green now :)

Not yet 😅 I was too optimistic

@potiuk potiuk force-pushed the remove-internal-api-from-metastore branch from 2158dc4 to cbde852 Compare November 29, 2024 22:06
@potiuk
Copy link
Member Author

potiuk commented Nov 29, 2024

Variable too... I hate circular imports

@potiuk potiuk merged commit da0cbdc into apache:main Nov 29, 2024
49 checks passed
@potiuk potiuk deleted the remove-internal-api-from-metastore branch November 29, 2024 22:40
@potiuk
Copy link
Member Author

potiuk commented Nov 29, 2024

Uff :)

potiuk added a commit to potiuk/airflow that referenced this pull request Nov 30, 2024
The changes apache#44490, apache#44491, apache#44489 removed internal_api_call
decorator from a few methods but did not remove them from method map.

This PR is a follow-up.
potiuk added a commit that referenced this pull request Nov 30, 2024
The changes #44490, #44491, #44489 removed internal_api_call
decorator from a few methods but did not remove them from method map.

This PR is a follow-up.
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
LefterisXefteris pushed a commit to LefterisXefteris/airflow that referenced this pull request Jan 5, 2025
The changes apache#44490, apache#44491, apache#44489 removed internal_api_call
decorator from a few methods but did not remove them from method map.

This PR is a follow-up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants