Skip to content

[25.11] python3Packages.weasyprint: 66.0 -> 68.0 - #482601

Merged
wolfgangwalther merged 3 commits into
NixOS:staging-25.11from
DutchGerman:backport-481900-to-release-25.11
Jan 23, 2026
Merged

wolfgangwalther merged 3 commits into
NixOS:staging-25.11from
DutchGerman:backport-481900-to-release-25.11

Conversation

@DutchGerman

Copy link
Copy Markdown
Contributor

Backport of #481900 to release-25.11 (security-related).

Cherry-picked commits:

  • python3Packages.tinycss2: 1.4.0 -> 1.5.1 (from d1ce5aa)
  • python3Packages.pillow: 12.0.0 -> 12.1.0 (from 63bf133)
  • python3Packages.weasyprint: 66.0 -> 68.0 (from c6eda5c)

Tested: nix build .#python3Packages.weasyprint

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

@github-actions github-actions Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This report is automatically generated by the PR / Check / cherry-pick CI workflow.

Some of the commits in this PR require the author's and reviewer's attention.

Sometimes it is not possible to cherry-pick exactly the same patch.
This most frequently happens when resolving merge conflicts.
The range-diff will help to review the resolution of conflicts.

If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.

Warning

Difference between a5e3f67 and original c6eda5c may warrant inspection.

Show diff
@@ Commit message
     Release notes: https://github.com/Kozea/WeasyPrint/releases/tag/v68.0
     Changelog: https://github.com/Kozea/WeasyPrint/compare/v66.0...v68.0
 
+    (cherry picked from commit c6eda5ca8b0fa9a0254b43fdc8249afb797a80d5)
+
  ## pkgs/development/python-modules/weasyprint/default.nix ##
 @@
  
- buildPythonPackage (finalAttrs: {
+ buildPythonPackage rec {
    pname = "weasyprint";
 -  version = "66.0";
 +  version = "68.0";
    pyproject = true;
  
    __darwinAllowLocalNetworking = true;
-@@ pkgs/development/python-modules/weasyprint/default.nix: buildPythonPackage (finalAttrs: {
+@@ pkgs/development/python-modules/weasyprint/default.nix: buildPythonPackage rec {
      owner = "Kozea";
      repo = "WeasyPrint";
-     tag = "v${finalAttrs.version}";
+     tag = "v${version}";
 -    hash = "sha256-wmEDVEbikBpOQ5394IBPWQRjWZOLfMzEGxTtq4tt2Tw=";
 +    hash = "sha256-kAJgSQz1RKrPwzO7I5xHXyXcXYJtvca9izjrAgTy3ek=";
    };
  
    patches = [
-@@ pkgs/development/python-modules/weasyprint/default.nix: buildPythonPackage (finalAttrs: {
+@@ pkgs/development/python-modules/weasyprint/default.nix: buildPythonPackage rec {
+     "test_visibility_3"
+     "test_visibility_4"
      "test_woff_simple"
-     # AssertionError
-     "test_2d_transform"
++    # AssertionError
++    "test_2d_transform"
 +    # Reported upstream: https://github.com/Kozea/WeasyPrint/issues/2666
 +    "test_text_stroke"
    ];

Hint: The full diffs are also available in the runner logs with slightly better highlighting.

@DutchGerman
DutchGerman force-pushed the backport-481900-to-release-25.11 branch from eef06a7 to 2781fe3 Compare January 22, 2026 08:34
@wolfgangwalther wolfgangwalther added the 1.severity: security Issues which raise a security issue, or PRs that fix one label Jan 22, 2026
@wolfgangwalther

Copy link
Copy Markdown
Contributor

Needs to target staging-25.11 due to the pillow related rebuilds.

@DutchGerman
DutchGerman force-pushed the backport-481900-to-release-25.11 branch from 2781fe3 to a5e3f67 Compare January 22, 2026 08:44
@DutchGerman
DutchGerman changed the base branch from release-25.11 to staging-25.11 January 22, 2026 08:44
@nixpkgs-ci nixpkgs-ci Bot closed this Jan 22, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jan 22, 2026
@nixpkgs-ci
nixpkgs-ci Bot requested review from friedow, mweinelt and onny January 22, 2026 08:53
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches. 6.topic: python Python is a high-level, general-purpose programming language. 4.workflow: backport This targets a stable branch labels Jan 22, 2026
@wolfgangwalther

Copy link
Copy Markdown
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 482601 --package python3Packages.weasyprint
Commit: a5e3f67d2a7850c51e2e0f49b22f3585d9b39532


x86_64-linux

✅ 2 packages built:
  • python3Packages.weasyprint
  • python3Packages.weasyprint.dist (python3Packages.weasyprint.dist.dist)

@wolfgangwalther
wolfgangwalther added this pull request to the merge queue Jan 23, 2026
Merged via the queue into NixOS:staging-25.11 with commit 1c8c470 Jan 23, 2026
2 of 4 checks passed
@LeSuisse LeSuisse mentioned this pull request Jan 26, 2026
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.severity: security Issues which raise a security issue, or PRs that fix one 4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 5001+ This PR causes many rebuilds on Darwin and must target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 5001+ This PR causes many rebuilds on Linux and must target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants