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.14.2
Date: Wed, 01 Jul 2026 16:32:05 GMT [thread overview]
Message-ID: <178292352521.1.5295362285469631909.rpms-python-pypdf-6fa04f0dfcdc@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-pypdf
Branch : rawhide
Commit : 6fa04f0dfcdc05b0da05d58b7a243f5bec4d5f18
Author : Tadej Janež <tadej.j@nez.si>
Date : 2026-06-30T10:38:12+00:00
Stats : +13/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pypdf/c/6fa04f0dfcdc05b0da05d58b7a243f5bec4d5f18?branch=rawhide
Log:
Update to version 6.14.2
- Remove Tox handling parts since Tox is no longer used upstream.
- Manually specify test dependencies since the upstream doesn't specify
them separately from dev dependencies.
- Run tests with pytest. Exclude tests requiring external network access
and sample files not included in the source tarball.
- Add fonts extra.
---
diff --git a/.gitignore b/.gitignore
index 2a5d86e..c366c6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/pypdf-4.2.0.tar.gz
+/pypdf-6.14.2.tar.gz
diff --git a/python-pypdf.spec b/python-pypdf.spec
index ceec7e2..c7d38ca 100644
--- a/python-pypdf.spec
+++ b/python-pypdf.spec
@@ -2,7 +2,7 @@
%global forgeurl https://github.com/py-pdf/pypdf
Name: python-%{srcname}
-Version: 4.2.0
+Version: 6.14.2
Release: %autorelease
Summary: Pure-Python PDF library
@@ -15,6 +15,11 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-docs
BuildRequires: sed
+# Test dependencies added manually since pyproject.toml doesn't specify them
+# separately from dev dependencies.
+BuildRequires: python3dist(pytest)
+BuildRequires: python3dist(pytest-socket)
+BuildRequires: python3dist(pytest-timeout)
%global _description %{expand:
pypdf is a free and open-source pure-python PDF library capable of splitting,
@@ -29,7 +34,7 @@ Summary: %{summary}
%description -n python3-pypdf %_description
-%pyproject_extras_subpkg -n python3-pypdf crypto,full,image
+%pyproject_extras_subpkg -n python3-pypdf crypto,fonts,image,full
%package doc
Summary: Documentation for %{name}
@@ -41,18 +46,13 @@ This package provides additional documentation for %{name}.
%prep
%autosetup -p1 -n %{srcname}-%{version}
-# Fix test dependencies
-sed -i tox.ini \
- -e 's/pycryptodome/pycryptodomex/' \
- -e '/pytest-socket/d'
-
# Use local intersphinx inventory
sed -r \
-e 's|https://docs.python.org/\{python_version\}|%{_docdir}/python3-docs/html|' \
-i docs/conf.py
%generate_buildrequires
-%pyproject_buildrequires -t -x crypto,docs,full,image
+%pyproject_buildrequires -x crypto,fonts,image,full,docs
%build
%pyproject_wheel
@@ -66,7 +66,9 @@ rm -rf html/{.buildinfo,.doctrees}
%pyproject_save_files %{srcname}
%check
-%tox
+# 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"
%files -n python3-%{srcname} -f %{pyproject_files}
# https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/4Y2VRLVAR3DJXBSFVDYJMU3G4ZNPGEU6/
diff --git a/sources b/sources
index 3a14d09..3fc3627 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pypdf-4.2.0.tar.gz) = 99fe599a81ae7e115ee6fca82ffabaff613ee49756a7e937de32a4d59b5731effe5cc3a076d92423b2299896a6ecab41ab5096aea6836fec79ba637e2c7b7620
+SHA512 (pypdf-6.14.2.tar.gz) = 798df3e54a3185a790efbd15f8fc0a0eaff06e6695a4b9529da2108df0391f400f2da483b8cb5cb0c7bc9b131fb54dcc787095787203178853a0fa2573a0428a
reply other threads:[~2026-07-01 16:32 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=178292352521.1.5295362285469631909.rpms-python-pypdf-6fa04f0dfcdc@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