Content-Length: 283936 | pFad | http://github.com/apache/airflow/pull/50916

A3 Make test_dagbag test work locally, not only in Breeze by potiuk · Pull Request #50916 · apache/airflow · GitHub
Skip to content

Make test_dagbag test work locally, not only in Breeze #50916

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

Merged
merged 1 commit into from
May 21, 2025

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented May 21, 2025

There were two issues with the test after migrating standard provider examples to ... standard provider (#49978) that made the test work only in Breeze and not in local env:

  • bad import of AIRFLOW_ROOT_PATH from scripts
  • reading system.standard import during parsing the pytest file

Both issuses fixed here.


^ 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 airflow-core/newsfragments.

There were two issues with the test after migrating standard provider
examples to ... standard provider (apache#49978) that made the test work only
in Breeze and not in local env:

* bad import of AIRFLOW_ROOT_PATH from scripts
* reading system.standard import during parsing the pytest file

Both issuses fixed here.
@potiuk potiuk added this to the Airflow 3.0.2 milestone May 21, 2025
@potiuk potiuk added the backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch label May 21, 2025
Copy link
Contributor

@rawwar rawwar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, @potiuk, for fixing this.

@potiuk potiuk merged commit 396810d into apache:main May 21, 2025
51 checks passed
@potiuk potiuk deleted the make-test-dagbag-py-works-locally branch May 21, 2025 18:11
github-actions bot pushed a commit that referenced this pull request May 21, 2025
…50916)

There were two issues with the test after migrating standard provider
examples to ... standard provider (#49978) that made the test work only
in Breeze and not in local env:

* bad import of AIRFLOW_ROOT_PATH from scripts
* reading system.standard import during parsing the pytest file

Both issuses fixed here.
(cherry picked from commit 396810d)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Copy link

Backport successfully created: v3-0-test

Status Branch Result
v3-0-test PR Link

potiuk added a commit that referenced this pull request May 22, 2025
…50916) (#50924)

There were two issues with the test after migrating standard provider
examples to ... standard provider (#49978) that made the test work only
in Breeze and not in local env:

* bad import of AIRFLOW_ROOT_PATH from scripts
* reading system.standard import during parsing the pytest file

Both issuses fixed here.
(cherry picked from commit 396810d)

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
Labels
backport-to-v3-0-test Mark PR with this label to backport to v3-0-test branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/apache/airflow/pull/50916

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy