Skip to content

Conversation

@github-actions
Copy link

Bootstrapping of pytest - especially on MacOS in Breeze could take
a long time - and it turns out it was because of rglob trying to
check if any of the pyproject.toml/provider.yaml files changed
and looking for "deprecation ignores". Both were using rglob, and it
turned out that even just rglobbing providers folder takes significant
amount of time with MacOS docker - because of the slow filesystem.

This has been replaced now with:

  • for pyproject.toml/provider.yaml - we use the main airflow
    pyproject.toml to know exactly which pyproject.toml/provider.yaml
    to look for (we have them in workspace definition)

  • for deprecations_ignores - we hardcode the short list of the ignores
    we have.
    (cherry picked from commit 86b0c82)

Co-authored-by: Jarek Potiuk jarek@potiuk.com

…reeze (#51223)

Bootstrapping of pytest - especially on MacOS in Breeze could take
a long time - and it turns out it was because of rglob trying to
check if any of the pyproject.toml/provider.yaml files changed
and looking for "deprecation ignores". Both were using rglob, and it
turned out that even just rglobbing providers folder takes significant
amount of time with MacOS docker - because of the slow filesystem.

This has been replaced now with:

* for pyproject.toml/provider.yaml - we use the main airflow
  pyproject.toml to know exactly which pyproject.toml/provider.yaml
  to look for (we have them in workspace definition)

* for deprecations_ignores - we hardcode the short list of the ignores
  we have.
(cherry picked from commit 86b0c82)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
@potiuk potiuk marked this pull request as ready for review May 30, 2025 10:26
@potiuk potiuk merged commit a7c5605 into v3-0-test May 30, 2025
3 checks passed
@potiuk potiuk deleted the backport-86b0c82-v3-0-test branch May 30, 2025 10:26
kaxil pushed a commit that referenced this pull request Jun 3, 2025
…reeze (#51223) (#51234)

Bootstrapping of pytest - especially on MacOS in Breeze could take
a long time - and it turns out it was because of rglob trying to
check if any of the pyproject.toml/provider.yaml files changed
and looking for "deprecation ignores". Both were using rglob, and it
turned out that even just rglobbing providers folder takes significant
amount of time with MacOS docker - because of the slow filesystem.

This has been replaced now with:

* for pyproject.toml/provider.yaml - we use the main airflow
  pyproject.toml to know exactly which pyproject.toml/provider.yaml
  to look for (we have them in workspace definition)

* for deprecations_ignores - we hardcode the short list of the ignores
  we have.
(cherry picked from commit 86b0c82)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
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.

1 participant