public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pillow-jxl-plugin] f43: Update PyO3 to 0.29
Date: Mon, 29 Jun 2026 14:51:14 GMT	[thread overview]
Message-ID: <178274467452.1.4794073338160299111.rpms-python-pillow-jxl-plugin-7c96ccec04fc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-pillow-jxl-plugin
Branch : f43
Commit : 7c96ccec04fc0152a7a2321b2101f835587c061e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-29T15:49:11+01:00
Stats  : +43/-38 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pillow-jxl-plugin/c/7c96ccec04fc0152a7a2321b2101f835587c061e?branch=f43

Log:
Update PyO3 to 0.29

---
diff --git a/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch b/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
deleted file mode 100644
index aa953a3..0000000
--- a/0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 8484653d052edcf906f5bc6e2d33957f30a4dced Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Sat, 20 Jun 2026 22:02:36 +0100
-Subject: [PATCH 2/2] Downstream-only: patch out the generate-import-lib
- feature
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-It is only relevant on Windows, and depends on the corresponding pyo3
-feature – which is not packaged for that reason.
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index a7bbd92..cc589ce 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -9,7 +9,7 @@ name = "pillow_jxl"
- crate-type = ["cdylib"]
- 
- [dependencies]
--pyo3 = { version="0.27.1", features = ["extension-module", "generate-import-lib"] }
-+pyo3 = { version="0.27.1", features = ["extension-module"] }
- jpegxl-rs = { version="0.11.2", default-features = false }
- half = "2.7.1"
- 
--- 
-2.54.0
-

diff --git a/0002-Update-PyO3-to-0.29.patch b/0002-Update-PyO3-to-0.29.patch
new file mode 100644
index 0000000..89b43dd
--- /dev/null
+++ b/0002-Update-PyO3-to-0.29.patch
@@ -0,0 +1,31 @@
+From d7c80275362ee7de9f75d1a4e4e450acee378fdb Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Sat, 20 Jun 2026 22:02:36 +0100
+Subject: [PATCH 2/2] Update PyO3 to 0.29
+
+https://pyo3.rs/main/changelog.html#0290---2026-06-11
+
+Fixes:
+
+    https://rustsec.org/advisories/RUSTSEC-2026-0176.html
+    https://rustsec.org/advisories/RUSTSEC-2026-0177.html
+---
+ Cargo.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Cargo.toml b/Cargo.toml
+index a7bbd92..1afa00d 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -9,7 +9,7 @@ name = "pillow_jxl"
+ crate-type = ["cdylib"]
+ 
+ [dependencies]
+-pyo3 = { version="0.27.1", features = ["extension-module", "generate-import-lib"] }
++pyo3 = { version="0.29.0", features = ["extension-module"] }
+ jpegxl-rs = { version="0.11.2", default-features = false }
+ half = "2.7.1"
+ 
+-- 
+2.54.0
+

diff --git a/python-pillow-jxl-plugin.spec b/python-pillow-jxl-plugin.spec
index a8590ff..fc91a03 100644
--- a/python-pillow-jxl-plugin.spec
+++ b/python-pillow-jxl-plugin.spec
@@ -5,12 +5,11 @@ Summary:        Pillow plugin for JPEG-XL
 # GPL-3.0-or-later for code
 # CC-BY and CC-BY-SA for test images
 SourceLicense:  GPL-3.0-or-later AND CC-BY-4.0 AND CC-BY-SA-4.0
-
+# BSD-2-Clause OR Apache-2.0 OR MIT
 # GPL-3.0-or-later
-# MIT
 # MIT OR Apache-2.0
 # Unlicense OR MIT
-License:        GPL-3.0-or-later AND MIT AND (Apache-2.0 OR MIT) AND (Unlicense OR MIT)
+License:        GPL-3.0-or-later AND (Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
 # LICENSE.dependencies contains a full license breakdown
 
 URL:            https://github.com/Isotr0py/pillow-jpegxl-plugin
@@ -19,11 +18,17 @@ Source:         %{url}/archive/v%{version}/pillow-jpegxl-plugin-%{version}.tar.g
 # drop custom build system that is unnecessary and only breaks stuff
 Patch:          0001-Unconditionally-dynamically-link-libjxl.patch
 
-# Downstream-only: patch out the generate-import-lib feature
+# Update PyO3 to 0.29
+#
+# https://pyo3.rs/main/changelog.html#0290---2026-06-11
+#
+# Fixes:
+#
+#     https://rustsec.org/advisories/RUSTSEC-2026-0176.html
+#     https://rustsec.org/advisories/RUSTSEC-2026-0177.html
 #
-# It is only relevant on Windows, and depends on the corresponding pyo3
-# feature – which is not packaged for that reason.
-Patch:          0002-Downstream-only-patch-out-the-generate-import-lib-fe.patch
+# https://github.com/Isotr0py/pillow-jpegxl-plugin/pull/156
+Patch:          0002-Update-PyO3-to-0.29.patch
 
 BuildRequires:  cargo-rpm-macros >= 24
 BuildRequires:  python3-devel

                 reply	other threads:[~2026-06-29 14:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178274467452.1.4794073338160299111.rpms-python-pillow-jxl-plugin-7c96ccec04fc@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox