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

beets: apply patch to fix incompatibilites with python 3.8 #94692

Merged
merged 1 commit into from Aug 6, 2020

Conversation

mweinelt
Copy link
Member

@mweinelt mweinelt commented Aug 5, 2020

Motivation for this change

548 tests in beets were failing due to a breaking change to the ast module that was backported to python 3.8.

beetbox/beets#3621
python/cpython#20649

The upstream patch did not apply cleanly onto 1.4.9, so here we are.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs 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/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

@mweinelt
Copy link
Member Author

mweinelt commented Aug 5, 2020

@GrahamcOfBorg build beets

# Fixes 548 tests due to breaking changes to the ast module
# https://github.com/beetbox/beets/pull/3621
# Can be dropped after 1.4.9
./compatibility-with-breaking-changes-to-the-ast-modul.patch
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
./compatibility-with-breaking-changes-to-the-ast-modul.patch
./compatibility-with-breaking-changes-to-the-ast-module.patch

@mweinelt mweinelt merged commit 131e9ed into NixOS:master Aug 6, 2020
@mweinelt mweinelt deleted the beets branch August 6, 2020 22:48
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.

None yet

2 participants