diff --git a/pikepdf-9.11.0.tar.gz b/pikepdf-9.11.0.tar.gz new file mode 100644 index 0000000..6078db0 --- /dev/null +++ b/pikepdf-9.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ad6bffba08849c21eee273ba0b6fcd4b6a9cff81bcbca6988f87a765ba62163 +size 4546289 diff --git a/pikepdf-9.4.2.tar.gz b/pikepdf-9.4.2.tar.gz deleted file mode 100644 index 432a96b..0000000 --- a/pikepdf-9.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0108c063bc56dc2dbfc87f20533a728342a938f4c85e39773866b71255aa8388 -size 2914992 diff --git a/python-pikepdf.changes b/python-pikepdf.changes index 68d4981..edf2cfb 100644 --- a/python-pikepdf.changes +++ b/python-pikepdf.changes @@ -1,3 +1,86 @@ +------------------------------------------------------------------- +Tue Sep 30 06:48:05 UTC 2025 - Dirk Müller + +- update to 9.11.0: + - Upgraded to cibuildwheel 3.1.4. + - We now build wheels for the CPython 3.14 prerelease (but + without freethreading, since lxml does not release wheels with + freethreading). + - Now using uv for building. + - Fixed broken link in documentation. + - Migrated all remaining uses of "dumb" pointer holders to + ``py::smart_holder``. + - Updated contributing guidelines and build steps. + - Fixed type signature of AttachedFileSpec to clarify its usage. + - Fixed missing default /Decode for image masks. {issue}`664` + - Fixed a missing dependency for ReadTheDocs documentation + generation. + - Upgraded to pybind11 3.0, which is now required. Changed many + of our pointer holder types to use the py::smart_holder. + - ``Pdf.check()`` is now deprecated, in favor of ``Pdf.check_pdf_syntax()``. + - Use explicit page number substitution in mupdf to avoid + problems in how it names output files. {issue}`661` + - Upgraded to cibuildwheel 3.0.0. + - C++-20 compiler is now required for building pikepdf. + - Fixed a reference counting test on Python 3.14a. + - We no longer build PyPy wheels by default. + - If a folder named ``../qpdf`` is found, we automatically use + that as the companion qpdf when building. For developers this + means building works without setting environment variables. + Environment variables can still be set to redirect to specific + installation. + - Introduced a new {class}`DimensionedFont` to avoid breaking + changes in other code (mainly OCRmyPDF) that subclasses + {class}`Font`. Remove the new abstract methods from + {class}`Font. + - Added a significant new feature to support filling and + rendering PDF forms. Thanks @dmjohnsson23. See `pikepdf.form` + and `pikepdf.canvas`. + - Now building wheels against qpdf 12.2.0. + - We no longer build PyPy wheels on Windows, due to strange test + failures that appear there and nowhere else. + - Merged {pr}`639`, a branch containing support for calculating + the current transformation matrix at time of rendering. This is + a valuable building block for users wishing to determine when + and where images are drawn. + - Clarified need for setuptools 77.0.3 to build. {issue}`648` + - `pikepdf.Object` that are indirect objects now raise an + exception on attempts to hash them (add to dict-type + containers), since they are in fact potentially + mutable. For now, direct objects can still be hashed, but this + is likely to be discontinued. {issue}`647` + - Wheels are now built against qpdf 12.0.0, which should bring + performance improvements for most workloads. + - qpdf 11.9.0 is now the minimum build requirement. + - We no longer build PyPy wheels on macOS, due to poor supporting + infrastructure and unfixed issues. pikepdf will likely drop + PyPy in its next major release. + - `pikepdf._core._ObjectList` no longer reports its `repr()` + correctly on Windows. This issue appears to be a compiler bug + in MSVC++ and has no known resolution, but also very minor + impact. + - setuptools 77.0.3 is now required for building. + - Updates to tooling. + - Fixed an issue where temporary files could be left behind when + using allow_overwriting_input=True and a SIGINT is sent while + the file is being flushed to disk, or generally within a + specific timing window. + - Fixed an issue via OCRmyPDF by replacing an invalid Document + Info dictionary with a valid dictionary. + - Bump version to address sigstore build issues. + - Pillow dropped PyPy 3.9 so we're dropping it too. + - Created setter for Outline management to make manipulating outlines easier. + - pikepdf now sets XMP properties as subelements instead of + inline properties, in line with the XMP specification. + - pikepdf an issue with converting certain images to PIL + - Added a new `pikepdf.exceptions` module which organizes all + exceptions more conveniently. + - pikepdf now tries harder to extract corrupt images in a PDF + when they are found. + - Fixed an issue where an exception handler referred to an object + not in scope, causing another exception. + - Dropped a comment about an unsupported dependency. + ------------------------------------------------------------------- Thu Nov 21 10:01:31 UTC 2024 - Dirk Müller diff --git a/python-pikepdf.spec b/python-pikepdf.spec index 8752a01..e2a1c46 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -1,7 +1,7 @@ # # spec file for package python-pikepdf # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # Copyright (c) 2020-2021, Martin Hauke # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-pikepdf -Version: 9.4.2 +Version: 9.11.0 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.12.0} -BuildRequires: %{python_module pybind11-devel >= 2.12.0} +BuildRequires: %{python_module pybind11 >= 3.0.0} +BuildRequires: %{python_module pybind11-devel >= 3.0.0} BuildRequires: %{python_module pytest >= 6.2.5} BuildRequires: %{python_module pytest-cov >= 3.0.0} BuildRequires: %{python_module pytest-forked}