From 7b77a1db1326841ee07e1965e5c346576c58d8d0e12e7b4be007b1b349abdfba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 14 Aug 2025 09:23:54 +0000 Subject: [PATCH] Accepting request 1299349 from home:mcalabkova:branches:devel:languages:python - Update to 6.0.0 (bsc#1248089, CVE-2025-55197) * security: Limit decompressed size for FlateDecode filter * Stop testing on Python 3.8 and start testing on Python 3.14 * Allow writing/updating all properties of an embedded file * Modernize license specifiers * Performance optimization for LZW decoding * Add PDF/A XMP metadata support * Add basic support for JBIG2 by using jbig2dec * Use the correct name StandardEncoding for the predefined cmap (#3156) by @stefan6419846 OBS-URL: https://build.opensuse.org/request/show/1299349 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pypdf?expand=0&rev=11 --- python-pypdf-5.3.1.tar.gz | 3 --- python-pypdf-6.0.0.tar.gz | 3 +++ python-pypdf.changes | 14 +++++++++++++- python-pypdf.spec | 8 +++----- 4 files changed, 19 insertions(+), 9 deletions(-) delete mode 100644 python-pypdf-5.3.1.tar.gz create mode 100644 python-pypdf-6.0.0.tar.gz diff --git a/python-pypdf-5.3.1.tar.gz b/python-pypdf-5.3.1.tar.gz deleted file mode 100644 index ed68b24..0000000 --- a/python-pypdf-5.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c6089ad527376dbe362db25528ec9951843b42394de6830149cae6bd515a5bf -size 8045063 diff --git a/python-pypdf-6.0.0.tar.gz b/python-pypdf-6.0.0.tar.gz new file mode 100644 index 0000000..3ed9963 --- /dev/null +++ b/python-pypdf-6.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:feca8b75cea9bbdecfb51c94c05118323495988fbb3e1f93bd0add7a00f66207 +size 8072420 diff --git a/python-pypdf.changes b/python-pypdf.changes index 14707d7..3542dbe 100644 --- a/python-pypdf.changes +++ b/python-pypdf.changes @@ -1,8 +1,20 @@ +------------------------------------------------------------------- +Thu Aug 14 08:43:50 UTC 2025 - Markéta Machová + +- Update to 6.0.0 (bsc#1248089, CVE-2025-55197) + * security: Limit decompressed size for FlateDecode filter + * Stop testing on Python 3.8 and start testing on Python 3.14 + * Allow writing/updating all properties of an embedded file + * Modernize license specifiers + * Performance optimization for LZW decoding + * Add PDF/A XMP metadata support + * Add basic support for JBIG2 by using jbig2dec + ------------------------------------------------------------------- Fri Mar 14 10:03:23 UTC 2025 - Felix Stegmeier - Update to 5.3.1: -i * Use the correct name StandardEncoding for the predefined cmap (#3156) by @stefan6419846 + * Use the correct name StandardEncoding for the predefined cmap (#3156) by @stefan6419846 * Handle inline images containing EI sequences (#3152) by @stefan6419846 * Fix check box value which should be name object (#3124) by @stefan6419846 * Fix stream position on inline image fallback extraction (#3120) by @stefan6419846 diff --git a/python-pypdf.spec b/python-pypdf.spec index a622b5b..f0e5c5e 100644 --- a/python-pypdf.spec +++ b/python-pypdf.spec @@ -18,19 +18,17 @@ %{?sle15_python_module_pythons} Name: python-pypdf -Version: 5.3.1 +Version: 6.0.0 Release: 0 Summary: PDF toolkit License: BSD-3-Clause URL: https://github.com/py-pdf/pypdf Source0: https://github.com/py-pdf/pypdf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: %{python_module flit} +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes -%if 0%{python_version_nodots} < 311 -Requires: python-typing_extensions -%endif Provides: python3-PyPDF2 = %version-%release Obsoletes: python3-PyPDF2 < %version-%release BuildArch: noarch