-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Automate exclusion of providers in lowest-dependency tests #41991
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
Automate exclusion of providers in lowest-dependency tests #41991
Conversation
d49157d to
6d5c9c3
Compare
|
That one should also speed up "lowest dependencies" test in main - because we - erroneously excluded |
|
I think the followup to #41967 I am writing will also address this problem. |
We can compare and choose better one :) |
0102e45 to
5ecbaaf
Compare
|
Actually this one also solves "main" failures of Python 3.12 "Lowest dependencies" tests that I've seen recently! |
Or we can have defense in depth :D |
63075e2 to
34917b0
Compare
The "lowest" dependency tests had "hard-coded" exclusion for those providers that were excluded in specific python versions. This change automates it: * selective checks produce dictionary python -> excluded versions * the dictionary (as string) is passed to unit tests in actions * the dictionary (as string) is passed to breeze container as EXCLUDED_PROVIDERS variable * "is_provider_excluded.py" checks if the provider is excluded and exits with success if so Related: apache#41555
34917b0 to
52227f2
Compare
The "lowest" dependency tests had "hard-coded" exclusion for those providers that were excluded in specific python versions.
This change automates it:
Related: #41555
^ 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.rstor{issue_number}.significant.rst, in newsfragments.