2 Commits

Author SHA256 Message Date
1a1fd326b9 Accepting request 1225560 from devel:languages:python
- update to 9.4.2:
  * Internal type assertion error messages from qpdf that previously
    triggered a RuntimeError will now raise a PdfError. Generally
    these errors only occur in corrupted files.
  * When we are updating XMP in the processing of saving, errors
    from updating XML are wrapped differently to clarify the
    context in which the error occurs.
  * Fixed a process abort in JBIG2 handling related to cleanup of
    Python objects owned by C++ code.
  * Fixed inconsistent behavior when setting metadata records to an
    empty value.  :issue:`622`
  * Added missing Python 3.13 wheels for a few platforms that were
    missing them, mainly ARM Linux, musllinux/Alpine, and Windows.
  * Since Homebrew has ended support for macOS 12, macOS 13 is now
    the minimum requirement for Intel macOS.
  * Suppressed some spurious warnings during build tests.
  * Integrated OSS Fuzz.
  * Prevented generation of PDF date strings with invalid trailing
    apostrophes, while still accepting them.
  * Improved error message on parsing invalid date strings.
  * Dropped support for Python 3.8 (end of life October 2024).
  * Fixed some inconsistencies with the pikepdf.Rectangle class.
  * Python 3.13 with free-threading added to test matrix.
  * Removed wheel package as build requirement since modern packing
    no longer needs it.
  * Updated C++/Python exception translation to new pybind11
    2.12.0+ protocol, fixing possible undefined behavior in
    multithreaded applications.
  * pybind11 2.12.0 is now required.
  * qpdf 11.9.1 is now used to build wheels.

OBS-URL: https://build.opensuse.org/request/show/1225560
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=28
2024-11-21 14:19:27 +00:00
47ae5804bc - update to 9.4.2:
* Internal type assertion error messages from qpdf that previously
    triggered a RuntimeError will now raise a PdfError. Generally
    these errors only occur in corrupted files.
  * When we are updating XMP in the processing of saving, errors
    from updating XML are wrapped differently to clarify the
    context in which the error occurs.
  * Fixed a process abort in JBIG2 handling related to cleanup of
    Python objects owned by C++ code.
  * Fixed inconsistent behavior when setting metadata records to an
    empty value.  :issue:`622`
  * Added missing Python 3.13 wheels for a few platforms that were
    missing them, mainly ARM Linux, musllinux/Alpine, and Windows.
  * Since Homebrew has ended support for macOS 12, macOS 13 is now
    the minimum requirement for Intel macOS.
  * Suppressed some spurious warnings during build tests.
  * Integrated OSS Fuzz.
  * Prevented generation of PDF date strings with invalid trailing
    apostrophes, while still accepting them.
  * Improved error message on parsing invalid date strings.
  * Dropped support for Python 3.8 (end of life October 2024).
  * Fixed some inconsistencies with the pikepdf.Rectangle class.
  * Python 3.13 with free-threading added to test matrix.
  * Removed wheel package as build requirement since modern packing
    no longer needs it.
  * Updated C++/Python exception translation to new pybind11
    2.12.0+ protocol, fixing possible undefined behavior in
    multithreaded applications.
  * pybind11 2.12.0 is now required.
  * qpdf 11.9.1 is now used to build wheels.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=56
2024-11-21 10:04:58 +00:00
4 changed files with 56 additions and 6 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:653aceedb2b3a4cdb579a55aaf78632b434b7cd53e2557b2bc8c8590bfe1d92b
size 2870723

3
pikepdf-9.4.2.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0108c063bc56dc2dbfc87f20533a728342a938f4c85e39773866b71255aa8388
size 2914992

View File

@@ -1,3 +1,53 @@
-------------------------------------------------------------------
Thu Nov 21 10:01:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 9.4.2:
* Internal type assertion error messages from qpdf that previously
triggered a RuntimeError will now raise a PdfError. Generally
these errors only occur in corrupted files.
* When we are updating XMP in the processing of saving, errors
from updating XML are wrapped differently to clarify the
context in which the error occurs.
* Fixed a process abort in JBIG2 handling related to cleanup of
Python objects owned by C++ code.
* Fixed inconsistent behavior when setting metadata records to an
empty value. :issue:`622`
* Added missing Python 3.13 wheels for a few platforms that were
missing them, mainly ARM Linux, musllinux/Alpine, and Windows.
* Since Homebrew has ended support for macOS 12, macOS 13 is now
the minimum requirement for Intel macOS.
* Suppressed some spurious warnings during build tests.
* Integrated OSS Fuzz.
* Prevented generation of PDF date strings with invalid trailing
apostrophes, while still accepting them.
* Improved error message on parsing invalid date strings.
* Dropped support for Python 3.8 (end of life October 2024).
* Fixed some inconsistencies with the pikepdf.Rectangle class.
* Python 3.13 with free-threading added to test matrix.
* Removed wheel package as build requirement since modern packing
no longer needs it.
* Updated C++/Python exception translation to new pybind11
2.12.0+ protocol, fixing possible undefined behavior in
multithreaded applications.
* pybind11 2.12.0 is now required.
* qpdf 11.9.1 is now used to build wheels.
* Modernized copyright information to REUSE.toml specification.
* Added a new test file for a rare case, CCITT with EndOfLine=True.
* Fixed handling of CalRGB and CalGray images with palettes.
* Fixed a test suite failure when numpy 2.1 is installed. :issue:`603`
* Prevented use of setuptools 72+ since it seems to introduce build errors.
* Added a missing #include header. :issue:`600`
* Fixed an issue where small floating point values would be recorded in
scientific notation, contrary to the PDF specification. :issue:`598`
* Fixed some false positive warnings on Windows C++ compilers.
* Improved support for Python 3.13 pre-release.
* Fixed a potential resource leak if we opened a file to read it
as a PDF but it was not a valid PDF.
* When overwriting an existing PDF with ``Pdf.save()``, pikepdf
now attempts to retain the original file permissions and
ownership.
* Fixed missing return type for PageList.Extend. :issue:`592`
-------------------------------------------------------------------
Thu May 2 08:23:18 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -19,7 +19,7 @@
%{?sle15_python_module_pythons}
Name: python-pikepdf
Version: 8.15.1
Version: 9.4.2
Release: 0
Summary: Read and write PDFs with Python, powered by qpdf
License: MPL-2.0
@@ -36,8 +36,8 @@ BuildRequires: %{python_module hypothesis >= 6.36}
BuildRequires: %{python_module lxml >= 4.8}
BuildRequires: %{python_module packaging}
BuildRequires: %{python_module psutil >= 5.9}
BuildRequires: %{python_module pybind11 >= 2.10.1}
BuildRequires: %{python_module pybind11-devel >= 2.10.0}
BuildRequires: %{python_module pybind11 >= 2.12.0}
BuildRequires: %{python_module pybind11-devel >= 2.12.0}
BuildRequires: %{python_module pytest >= 6.2.5}
BuildRequires: %{python_module pytest-cov >= 3.0.0}
BuildRequires: %{python_module pytest-forked}