public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/python-pypdf] rawhide: Update to version 6.15.0
Date: Tue, 11 Aug 2026 06:53:44 GMT [thread overview]
Message-ID: <178643122446.1.239989471179841297.rpms-python-pypdf-7f8b757c9cba@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pypdf
Branch : rawhide
Commit : 7f8b757c9cbae482e15ad01a7d4417d6353e13b6
Author : Tadej Janež <tadej.j@nez.si>
Date : 2026-08-11T08:39:57+02:00
Stats : +24/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/python-pypdf/c/7f8b757c9cbae482e15ad01a7d4417d6353e13b6?branch=rawhide
Log:
Update to version 6.15.0
Disable newly added RTL (Arabic/Hebrew) text shaping support for now
since Fedora doesn't provide the necessarity dependencies.
Assisted-by: Claude Opus 5
---
diff --git a/python-pypdf.spec b/python-pypdf.spec
index 90fb675..5e81e2e 100644
--- a/python-pypdf.spec
+++ b/python-pypdf.spec
@@ -10,7 +10,7 @@
%global forgeurl https://github.com/py-pdf/pypdf
Name: python-%{srcname}
-Version: 6.14.2
+Version: 6.15.0
Release: %autorelease
Summary: Pure-Python PDF library
@@ -60,7 +60,23 @@ This package provides additional documentation for %{name}.
%endif
%prep
-%autosetup -p1 -n %{srcname}-%{version}
+%autosetup -p1 -n pypdf-%{version}
+
+# Fedora currently doesn't provide python-bidi nor arabic-reshaper, so drop the
+# optional RTL (Arabic/Hebrew) text shaping support: the "rtl_text" extra,
+# and its two entries in the "full" extra.
+# Note that pypdf degrades gracefully,
+# pypdf.generic._appearance_stream.HAS_RTL_SUPPORT becomes False.
+sed -i -e '/^rtl_text = \[$/,/^\]$/d' \
+ -e '/^ *"arabic-reshaper",$/d' \
+ -e '/^ *"python-bidi"$/d' \
+ pyproject.toml
+# Fail loudly rather than silently shipping broken dependencies if upstream
+# reformats the extras in a future release.
+if grep -qE 'arabic-reshaper|python-bidi' pyproject.toml; then
+ echo 'ERROR: RTL extras removal failed, update the sed expressions above' >&2
+ exit 1
+fi
%if %{with docs}
# Use local intersphinx inventory
@@ -90,7 +106,11 @@ rm -rf html/{.buildinfo,.doctrees}
%if %{with tests}
# Deselect tests downloading files from external hosts and tests requiring
# sample files which are not included in the source tarball.
-%pytest -m "not enable_socket and not samples"
+# Additionally, deselect the test_appearance_stream_rtl test which tests the
+# reshaped/reordered RTL output and has no guard for missing
+# python-bidi/arabic-reshaper, which are dropped in %%prep.
+%pytest -m "not enable_socket and not samples" \
+ --deselect tests/test_appearance_stream.py::test_appearance_stream_rtl
%endif
%files -n python3-%{srcname} -f %{pyproject_files}
diff --git a/sources b/sources
index 3fc3627..516495e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pypdf-6.14.2.tar.gz) = 798df3e54a3185a790efbd15f8fc0a0eaff06e6695a4b9529da2108df0391f400f2da483b8cb5cb0c7bc9b131fb54dcc787095787203178853a0fa2573a0428a
+SHA512 (pypdf-6.15.0.tar.gz) = ea4138958ad75707cc536e670420d6cf4c57c4b10f85a46bee763d7b045254aa39d75a4f22303fcc8e104e97581316013f85a084e7baf4ab647e3268792f9dfe
reply other threads:[~2026-08-11 6:53 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=178643122446.1.239989471179841297.rpms-python-pypdf-7f8b757c9cba@fedoraproject.org \
--to=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