Skip to content

python3Packages.pyssim: unbreak after recent pillow bump#251787

Merged
tjni merged 1 commit intoNixOS:masterfrom
emilylange:python3-pyssim
Aug 27, 2023
Merged

python3Packages.pyssim: unbreak after recent pillow bump#251787
tjni merged 1 commit intoNixOS:masterfrom
emilylange:python3-pyssim

Conversation

@emilylange
Copy link
Member

Description of changes

pyssim, a dependency of sitespeed-io, did break due to the recent pillow update as part of the usual python updates in staging.

Caught when running nixpkgs-review in #251400 (review)

Image.LANCZOS is a drop-in replacement for Image.ANTIALIAS. See https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

Pillow bump: bdf1a96 (#244135)

https://hydra.nixos.org/build/230653960

If someone wants to upstream this patch, feel free to do so.

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, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 23.11 Release Notes (or backporting 23.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.

@emilylange emilylange marked this pull request as ready for review August 27, 2023 14:49
@github-actions github-actions bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Aug 27, 2023
@ofborg ofborg bot requested a review from jluttine August 27, 2023 15:10
@ofborg ofborg bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Aug 27, 2023
@emilylange
Copy link
Member Author

@ofborg build python3Packages.pyssim sitespeed-io

@tjni
Copy link
Contributor

tjni commented Aug 27, 2023

This LGTM, thank you for the patch! I proposed it upstream in jterrace/pyssim#45. Could we pull the commit from there now?

@emilylange emilylange marked this pull request as draft August 27, 2023 19:50
`Image.LANCZOS` is a drop-in replacement for `Image.ANTIALIAS`.
See https://pillow.readthedocs.io/en/stable/releasenotes/10.0.0.html#constants

Pillow bump: bdf1a96

https://hydra.nixos.org/build/230653960

Co-authored-by: tjni <3806110+tjni@users.noreply.github.com>
@emilylange emilylange marked this pull request as ready for review August 27, 2023 20:00
@emilylange
Copy link
Member Author

Thanks for raising a PR upstream!

@ofborg build python3Packages.pyssim sitespeed-io

@tjni tjni merged commit a5fc4da into NixOS:master Aug 27, 2023
@emilylange emilylange deleted the python3-pyssim branch August 27, 2023 20:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants