public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rst2pdf] f45: Patched for using Reportlab 5
@ 2026-08-20 19:49 Antonio Trande
  0 siblings, 0 replies; only message in thread
From: Antonio Trande @ 2026-08-20 19:49 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rst2pdf
Branch : f45
Commit : 26ea4f91faaec90382a91751584ce8cfb32bea20
Author : Antonio Trande <sagitter@fedoraproject.org>
Date   : 2026-08-20T21:42:19+02:00
Stats  : +36/-2 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rst2pdf/c/26ea4f91faaec90382a91751584ce8cfb32bea20?branch=f45

Log:
Patched for using Reportlab 5

---
diff --git a/rst2pdf-PR1307.patch b/rst2pdf-PR1307.patch
new file mode 100644
index 0000000..29942d1
--- /dev/null
+++ b/rst2pdf-PR1307.patch
@@ -0,0 +1,32 @@
+From e9ae80c6347de01681c336544c6605d62b9c9278 Mon Sep 17 00:00:00 2001
+From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
+Date: Thu, 18 Jun 2026 15:42:27 +0000
+Subject: [PATCH] Update reportlab requirement from ~=4.0 to >=4,<6
+
+Updates the requirements on [reportlab](https://www.reportlab.com/) to permit the latest version.
+
+---
+updated-dependencies:
+- dependency-name: reportlab
+  dependency-version: 5.0.0
+  dependency-type: direct:production
+...
+
+Signed-off-by: dependabot[bot] <support@github.com>
+---
+ pyproject.toml | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index fd9c5730b..ec36ebd77 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -29,7 +29,7 @@ dependencies = [
+     "packaging~=26.0",
+     "pygments~=2.0",
+     "pyyaml>=6.0.1",
+-    "reportlab~=4.0",
++    "reportlab>=4,<6",
+ ]
+ description = "Convert reStructured Text to PDF via ReportLab."
+ dynamic = ["version"]

diff --git a/rst2pdf.spec b/rst2pdf.spec
index fa7f22f..927a68b 100644
--- a/rst2pdf.spec
+++ b/rst2pdf.spec
@@ -1,13 +1,15 @@
-
 Name: rst2pdf
 Version: 0.105
 Release: %autorelease
 Summary: Tool for transforming reStructuredText to PDF
 License: MIT
-
 URL: https://rst2pdf.org/
 Source0: %{pypi_source}
 
+# Permit reportlab-5 requirement
+# https://github.com/rst2pdf/rst2pdf/pull/1307
+Patch0:  rst2pdf-PR1307.patch
+
 BuildRequires: python3-devel
 BuildRequires: %{py3_dist setuptools}
 BuildArch: noarch

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-20 19:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 19:49 [rpms/rst2pdf] f45: Patched for using Reportlab 5 Antonio Trande

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox