public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-nh3] rawhide: Update to 0.3.7 (Fedora#2521641)
@ 2026-08-30 7:48 Mattia Verga
0 siblings, 0 replies; only message in thread
From: Mattia Verga @ 2026-08-30 7:48 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-nh3
Branch : rawhide
Commit : a91104f098cfb77a545e2e520a0fe327c8c10029
Author : Mattia Verga <mattia.verga@proton.me>
Date : 2026-08-30T09:47:41+02:00
Stats : +3/-30 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/python-nh3/c/a91104f098cfb77a545e2e520a0fe327c8c10029?branch=rawhide
Log:
Update to 0.3.7 (Fedora#2521641)
---
diff --git a/.gitignore b/.gitignore
index b5c59d3..5fbf7fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/nh3-0.3.4.tar.gz
/nh3-0.3.5.tar.gz
/nh3-0.3.6.tar.gz
+/nh3-0.3.7.tar.gz
diff --git a/generate-import-lib-dep.patch b/generate-import-lib-dep.patch
deleted file mode 100644
index f6fe4fa..0000000
--- a/generate-import-lib-dep.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 92cdb185d3664a868cea9caf5f9739e8cc0cf4e0 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Tue, 30 Jun 2026 11:05:21 +0100
-Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20depend=20on=20deprecated=20pyo3?=
- =?UTF-8?q?/generate-import-lib=20feature?=
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
----
- Cargo.toml | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/Cargo.toml b/Cargo.toml
-index a98d0a5..24b785d 100644
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -15,5 +15,5 @@ crate-type = ["cdylib"]
-
- [dependencies]
- ammonia = "4.1.2"
--pyo3 = { version = "0.29.0", features = ["abi3-py38", "generate-import-lib"] }
-+pyo3 = { version = "0.29.0", features = ["abi3-py38"] }
- ouroboros = "0.18"
diff --git a/python-nh3.spec b/python-nh3.spec
index 65cfd74..f745e9c 100644
--- a/python-nh3.spec
+++ b/python-nh3.spec
@@ -1,15 +1,11 @@
Name: python-nh3
-Version: 0.3.6
+Version: 0.3.7
Release: %autorelease
Summary: Python binding to Ammonia HTML sanitizer Rust crate
License: MIT
URL: https://github.com/messense/nh3
Source: %{pypi_source nh3}
-# Don’t depend on deprecated pyo3/generate-import-lib feature
-# https://github.com/messense/nh3/pull/136
-Patch: %{url}/pull/136.patch#/generate-import-lib-dep.patch
-
BuildRequires: cargo-rpm-macros
BuildRequires: python3-devel
diff --git a/sources b/sources
index 31caaa3..b1f617a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (nh3-0.3.6.tar.gz) = a6527724b56fd88ea582b7f64d76727ea3aa2bac2ad53c9539a501439c6955b5e588141522e4d74b49fd862a4cfa7e022a966d3a667d3c77c81a57677bdfd03e
+SHA512 (nh3-0.3.7.tar.gz) = 74f87565b10cc1dba04ce3849b64ae514db267316dedc3fee7d2ae8c3a7bb1d7a69ab7f71d02bf62ccfde681ce5d16f347a85fd86db9ef5749bd71cc25a20d05
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-30 7:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-30 7:48 [rpms/python-nh3] rawhide: Update to 0.3.7 (Fedora#2521641) Mattia Verga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox