Repository navigation
Fix provider test acessing importlib-resources - #18228
Conversation
|
(retriggering CI) |
|
The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease. |
|
Oops sorry I didn’t see the re-trigger above. |
391e2d3 to
63c54f3
Compare
63c54f3 to
556597a
Compare
|
I have reverted the |
|
I’ve applied the importlib-resources version bump. My change is different from #18209 in several ways:
|
Uhhhggrrr |
|
WTH this seems to break |
That looks an unrelated failure that affects main branch too: https://github.com/apache/airflow/runs/3607014793#step:6:8000 |
This change touches Seems that Botocore patchlevel was released yesterday and it breaks the test apparently. https://pypi.org/project/botocore/1.21.42/ This is our early-warning for new dependencies breaking Airflow at its best. We should take a look at this failed kinesis test and fix it (either fix the test or limit botocore). Only PRs that are updating setup.py (and main) are affected. All other PRs are not, which limits the impact of such dependencies breaking our build. This can be reproduced locally by building the image with newer dependencies |
Don't think so, we have pinned boto3 to <1.18 ( Line 186 in 29d700d Which pins botocore version ( And from CI (https://github.com/apache/airflow/pull/18228/checks?check_run_id=3606187405#step:8:1157): |
Could be also another dependency :). |
When you look at the logs of the failed tests - this is the exact command that we can run to reproduce this exact environment (inspect the versions installed/rerun tests and try to find out the diff between the installed/constraints). |
|
Interesting, we had a dev version of moto |
|
Yay my guess is correct. The dev version was pulled because previously we had Moto likely made some backward incompatibility changes recently to make Unfortunately pip does not provide a way to express greater than or equal to 2.2.1.dev9, but only allow prereleases from 2.2.1, not 2.2.2 onwards, so the best we can do is to bump the specifier to |
TIL! So it was close guess. boto and moto - only one letter different ;). I will add a feature to show diff vs. "fixed" constraints whenever we get a failure on "eager upgrade" build and make it quite prominent with some description like: If you see an unexpected test failures here, it might be because of upgraded dependencies (this build was run with eager upgrade on dependencies due to changed setup.* files) Please check if the test also fails in |
Fix #18225.