Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented May 31, 2025

Folow up after #51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the #51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around.


^ 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.

@potiuk potiuk added the backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch label May 31, 2025
@potiuk potiuk added this to the Airflow 3.0.2 milestone May 31, 2025
@potiuk potiuk requested a review from jscheffl May 31, 2025 10:51
@potiuk potiuk force-pushed the move-example-dags-in-standard-to-example-dags branch from 0d7d1fc to 4a85b1a Compare May 31, 2025 10:54
@potiuk
Copy link
Member Author

potiuk commented May 31, 2025

@jedcunningham -> you were totally right - those example dags in provider should be placed elsewhere. We have not yet defined where they will be, but placing them in system_tests was quite wrong.

This should fix it - also example_dags for standard provider will also be included in standard provider distribution. cc: @jscheffl

@potiuk potiuk force-pushed the move-example-dags-in-standard-to-example-dags branch from 4a85b1a to 5133069 Compare May 31, 2025 12:50
@gopidesupavan
Copy link
Member

old docs fixes required?

@potiuk
Copy link
Member Author

potiuk commented May 31, 2025

old docs fixes required?

Separately, yes, some links are broken I found out.

Folow up after apache#51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the apache#51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around
@potiuk potiuk force-pushed the move-example-dags-in-standard-to-example-dags branch from 5133069 to 2015a69 Compare May 31, 2025 22:04
@potiuk potiuk merged commit cc29e02 into apache:main Jun 1, 2025
97 checks passed
@potiuk potiuk deleted the move-example-dags-in-standard-to-example-dags branch June 1, 2025 09:45
@github-actions
Copy link

github-actions bot commented Jun 1, 2025

Backport failed to create: v3-0-test. View the failure log Run details

Status Branch Result
v3-0-test Commit Link

You can attempt to backport this manually by running:

cherry_picker cc29e02 v3-0-test

This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

potiuk added a commit to potiuk/airflow that referenced this pull request Jun 1, 2025
… sources (apache#51260)

Folow up after apache#51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the apache#51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around
(cherry picked from commit cc29e02)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
potiuk added a commit that referenced this pull request Jun 1, 2025
… sources (#51260) (#51275)

Folow up after #51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the #51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around
(cherry picked from commit cc29e02)
kaxil pushed a commit that referenced this pull request Jun 3, 2025
… sources (#51260) (#51275)

Folow up after #51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the #51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around
(cherry picked from commit cc29e02)
sanederchik pushed a commit to sanederchik/airflow that referenced this pull request Jun 7, 2025
…ache#51260)

Folow up after apache#51192.

Actually choosing the same approach as for system tests was
pretty wrong and even before attempting to have final solution
for example_dags/system tests we should move the standard examples
out of "tests.system" as rightfully pointed out by Jed in
the apache#51192.

The snippets of code to run the tests as pytests are not neeeded
and they are actually even harmful as they cause import errors
when no tests_common is around
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers backport-to-v3-1-test Mark PR with this label to backport to v3-1-test branch provider:standard

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants