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

[staging] Revert "python39: 3.9.6 -> 3.9.7" #141105

Merged
merged 1 commit into from
Oct 9, 2021

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Oct 9, 2021

Motivation for this change

This reverts commit d003f75.

Causes an unnecessary amount of breakages due to a DeprecationWarning
regarding the loop argument in asyncio, that is going to be deprecrated
in Python 3.10.

'The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.'

The ecosystem needs more time to catch up here. Broken packages are for
example aiohttp, argh and by extension alot of other packages.

aio-libs/aiohttp#6066
neithere/argh#148

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • 21.11 Release Notes (or backporting 21.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

This reverts commit d003f75.

Causes an unnecessary amount of breakages due to a DeprecationWarning
regarding the loop argument in asyncio, that is going to be deprecrated
in Python 3.10.

> 'The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.'

The ecosystem needs more time to catch up here. Broken packages are for
example aiohttp, argh and by extension alot of other packages.
@mweinelt mweinelt requested a review from FRidh as a code owner October 9, 2021 13:30
@mweinelt mweinelt changed the title Revert "python39: 3.9.6 -> 3.9.7" [staging] Revert "python39: 3.9.6 -> 3.9.7" Oct 9, 2021
@mweinelt mweinelt requested a review from jonringer October 9, 2021 13:30
@mweinelt
Copy link
Member Author

mweinelt commented Oct 9, 2021

We might be able to apply python/cpython@c967bd5 instead of reverting.

@mweinelt
Copy link
Member Author

mweinelt commented Oct 9, 2021

Applied the patch. Results are as follows:

  • aiohttp down from 610 test failures
= 47 failed, 2464 passed, 29 skipped, 1 deselected, 3 xfailed in 240.14s (0:04:00) =

Still probably best to go with the revert.

@mweinelt
Copy link
Member Author

mweinelt commented Oct 9, 2021

Merging so I can continue with #141037.

@mweinelt mweinelt merged commit 5383c19 into NixOS:staging Oct 9, 2021
@mweinelt mweinelt deleted the revert-python3.9.7 branch October 9, 2021 21:49
@bergkvist
Copy link
Member

A downside of this revert is that this patch is not included (the first release containing it is Python 3.9.7). Which means pkgs.python39 can't really be used reliably on macOS Big Sur right now.

@mweinelt
Copy link
Member Author

@bergkvist PTAL #146477

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.

2 participants