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

Extract version compatibility constant in tests to version_compat #44770

Closed

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Dec 8, 2024

This is extracted out of #44686 - pre-requisite for consistency check and consistency change to always use version_compat embedded in providers and avoid mistakes with importing the compat from tests in the providers code.

This is purely extraction of constants that use to be in compat module to version_compat - which will make it easy to write the pre-commit to check if version_compat from tests_modules is used accidentally.


^ 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 force-pushed the move-version-constants-to-version-compat branch from c17ef77 to 0bcd8f0 Compare December 8, 2024 11:50
This is extracted out of apache#44686 - pre-requisite for consistency
check and consistency change to always use version_compat embedded in
providers and avoid mistakes with importing the compat from tests
in the providers code.

This is purely extraction of constants that use to be in compat module
to version_compat - which will make it easy to write the pre-commit
to check if version_compat from tests_modules is used accidentally.
@potiuk potiuk force-pushed the move-version-constants-to-version-compat branch from 0bcd8f0 to f9373f9 Compare December 8, 2024 12:16
@potiuk
Copy link
Member Author

potiuk commented Dec 8, 2024

Interestingly enough - that one got a conversation started by someone who has been apparently malicious user and deleted since ... And I cannot merge it as the conversation is gone. I will raise the issue to Github and open a new PR.

@potiuk
Copy link
Member Author

potiuk commented Dec 8, 2024

@hussein-awala @gopidesupavan @jscheffl -> #44774 kind request to transfer your approvals there :)

@potiuk potiuk closed this Dec 8, 2024
@potiuk
Copy link
Member Author

potiuk commented Dec 8, 2024

Ticket created in Github Support: https://support.github.com/ticket/personal/0/3130863

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.

4 participants