public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pillow-jxl-plugin] f43: Update PyO3 to 0.29
@ 2026-06-29 14:51 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-29 14:51 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-29 14:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 14:51 [rpms/python-pillow-jxl-plugin] f43: Update PyO3 to 0.29 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox