Commit d5b6d44
Split providers out of the main "airflow/" tree into a UV workspace project (#42505)
This is only a partial split so far. It moves all the code and tests, but
leaves the creation of `core/` to a separate PR as this is already large
enough.
In addition to the straight file rename the other changes I had to make here
are:
- Some mypy/typing fixes.
Mypy can be fragile about what it picks up when, so maybe some of those
changes were caused by that. But the typing changes aren't large.
- Improve typing in common.sql type stub
Again, likely a mypy file oddity, but the types should be safe
- Removed the `check-providers-init-file-missing` check
This isn't needed now that airflow/providers shouldn't exist at all in the
main tree.
- Create a "dev.tests_common" package that contains helper files and common
pytest fixtures
Since the provider tests are no longer under tests/ they don't automatically
share the fixtures from the parent `tests/conftest.py` so they needed
extracted.
Ditto for `tests.test_utils` -- they can't be easily imported in provider
tests anymore, so they are moved to a more explicit shared location.
In future we should switch how the CI image is built to make better use of UV
caching than our own approach as that would remvoe a lot of custom code.1 parent efcb554 commit d5b6d44
3 files changed
Lines changed: 16 additions & 18 deletions
File tree
- providers
- src/airflow/providers/cncf/kubernetes/executors
- tests/cncf/kubernetes/executors
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
| 485 | + | |
485 | 486 | | |
486 | 487 | | |
487 | 488 | | |
| |||
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | | - | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | 276 | | |
287 | 277 | | |
288 | 278 | | |
| |||
Lines changed: 15 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
784 | 784 | | |
785 | 785 | | |
786 | 786 | | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
787 | 802 | | |
788 | 803 | | |
789 | 804 | | |
| |||
1858 | 1873 | | |
1859 | 1874 | | |
1860 | 1875 | | |
1861 | | - | |
1862 | | - | |
1863 | | - | |
1864 | | - | |
1865 | | - | |
1866 | | - | |
1867 | | - | |
1868 | | - | |
1869 | 1876 | | |
1870 | 1877 | | |
1871 | 1878 | | |
| |||
0 commit comments