Skip to content
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

Python 3.9 compatibility #735

Merged
merged 1 commit into from
Mar 7, 2022
Merged

Python 3.9 compatibility #735

merged 1 commit into from
Mar 7, 2022

Conversation

vinzenz
Copy link
Member

@vinzenz vinzenz commented Oct 18, 2021

In Python 3.9 tests fail on macos because multiprocessing does no longer fork, to prevent this behavior from changing at all this PR adds a workaround for this.

Related issue #690

@github-actions
Copy link

Thank you for contributing to the Leapp project!

Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergable.
If you want to re-run tests or request review, you can use following commands as a comment:

  • leapp-ci build to run copr build and e2e tests in OAMG CI
  • review please to notify leapp developers of review request
  • /packit copr-build to submit a public copr build using packit

Please open ticket in case you experience technical problem with the CI. (RH internal only)

Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting leapp-ci build (might require several comments). If the problem persists, contact leapp-infra.

@vinzenz vinzenz requested a review from pirat89 October 18, 2021 12:06
@pirat89
Copy link
Member

pirat89 commented Nov 3, 2021

@vinzenz add please description in the commit msg. basically the PR description seems good. Plus adding the link (https://docs.python.org/3/library/multiprocessing.html#contexts-and-start-methods) for people who want to read more details could be nice bonus, but not necessary.

@pirat89
Copy link
Member

pirat89 commented Dec 2, 2021

@vinzenz I think it's good time to revive this one :)

@pirat89
Copy link
Member

pirat89 commented Jan 6, 2022

@vinzenz rebase please.

@vinzenz
Copy link
Member Author

vinzenz commented Mar 3, 2022

Hmm I thought I did rebase it back in January, but obviously I didn't - I just rebased it @pirat89

@pirat89
Copy link
Member

pirat89 commented Mar 4, 2022

/rerun

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Copr build succeeded: https://copr.fedorainfracloud.org/coprs/build/3599638

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Testing Farm request for 7to8/3598146,3599638 regression testing has been created. Once finished, results should be available here.
Full pipeline log.

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Testing Farm request for 8to9/3598146,3599638 regression testing has been created. Once finished, results should be available here.
Full pipeline log.

@pirat89
Copy link
Member

pirat89 commented Mar 4, 2022

/rerun

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Copr build succeeded: https://copr.fedorainfracloud.org/coprs/build/3600580

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Testing Farm request for 7to8/3598146,3600580 regression testing has been created. Once finished, results should be available here.
Full pipeline log.

@github-actions
Copy link

github-actions bot commented Mar 4, 2022

Testing Farm request for 8to9/3598146,3600580 regression testing has been created. Once finished, results should be available here.
Full pipeline log.

Copy link
Member

@fernflower fernflower left a comment

Choose a reason for hiding this comment

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

I can't test that unfortunately as I don't have a macos at hand.
But regression tests are fine so if you @vinzenz say it fixes your issue - I'd like to merge it.

@pirat89
Copy link
Member

pirat89 commented Mar 7, 2022

@fernflower we have confirmation from @vinzenz . merghing. thanks for co-review! I like PRs with 2+ reviews :)

@pirat89 pirat89 merged commit d3d81b1 into oamg:master Mar 7, 2022
@Rezney Rezney mentioned this pull request Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants