Skip to content

Add tests to PythonOperator#30583

Closed
vincbeck wants to merge 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/add-tests-to-python-operator
Closed

Add tests to PythonOperator#30583
vincbeck wants to merge 1 commit into
apache:mainfrom
aws-mwaa:vincbeck/add-tests-to-python-operator

Conversation

@vincbeck

Copy link
Copy Markdown
Contributor

Reopening #30362 after being reverted. I did not make any modifications from #30362 so please do not merge until be sure it wont cause main to fail again.

Opening this one to see if tests are passing

@potiuk


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

@potiuk potiuk added the full tests needed We need to run full set of tests for this PR to merge label Apr 11, 2023
@potiuk potiuk closed this Apr 11, 2023
@potiuk potiuk reopened this Apr 11, 2023
@potiuk

potiuk commented Apr 11, 2023

Copy link
Copy Markdown
Member

Applied "full tests needed" label/closed and reopened to build for all python versions for better visibility.

FYI - you can convert it to Draft to make sure it is not going to be merged accidentally @vincbeck

@potiuk
potiuk marked this pull request as draft April 11, 2023 15:40
@potiuk

potiuk commented Apr 11, 2023

Copy link
Copy Markdown
Member

(I just converted it to Draft)

@vincbeck

Copy link
Copy Markdown
Contributor Author

Applied "full tests needed" label/closed and reopened to build for all python versions for better visibility.

FYI - you can convert it to Draft to make sure it is not going to be merged accidentally @vincbeck

Good call! Thanks for doing it

@eladkal

eladkal commented Apr 11, 2023

Copy link
Copy Markdown
Contributor

mmm tests pass. So what did we miss in the first attempt?

@potiuk

potiuk commented Apr 11, 2023

Copy link
Copy Markdown
Member

mmm tests pass. So what did we miss in the first attempt?

VERY GOOD QUESTION. I have no idea :) . I could not reproduce it back then either, but reverting it helped ... One thing that came to my mind is that it was only happening on "self-hosted runners" of ours (this is the only difference of the public PR vs. main run.

I will push the code myself in a separate draft PR to verify that hypothesis

@potiuk

potiuk commented Apr 11, 2023

Copy link
Copy Markdown
Member

Draft PR of mine running here #30588

@aws-airflow-bot
aws-airflow-bot force-pushed the vincbeck/add-tests-to-python-operator branch from ecf57b6 to 1dfbed6 Compare April 16, 2023 07:53
@o-nikolas
o-nikolas force-pushed the vincbeck/add-tests-to-python-operator branch 2 times, most recently from 7b8093d to 4eef359 Compare April 16, 2023 10:19
Previously deserialization error thrown a pretty mysterious ValueError
in case for example there was a Python version mismatch - the python
object serialized in one version of Python produced "version error"
messsage. This change turns such ValueError in specific
Deserilization error, with better message explaining possible reason,
but also without loosing the cause.

Co-authored-by: Shahar Epstein <[email protected]>
Co-authored-by: Vincent <[email protected]>
@aws-airflow-bot
aws-airflow-bot force-pushed the vincbeck/add-tests-to-python-operator branch from 4eef359 to bf3d01a Compare April 17, 2023 14:53
@vincbeck vincbeck closed this Apr 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full tests needed We need to run full set of tests for this PR to merge kind:documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants