Commit Graph

59 Commits

Author SHA256 Message Date
ec1aa1147e 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
6db6aebbbd - 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
d3eb0513a9 Accepting request 1172891 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1172891
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=27
2024-05-09 10:14:39 +00:00
6d9456f89d - update to 8.15.1:
* Reformat with ruff.
  * Various updates to build procedures and wheel generation

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=54
2024-05-02 08:23:42 +00:00
aac6f6daeb Accepting request 1167774 from devel:languages:python
- update to 8.15.0:
  * Rebuild wheels with QPDF 11.9.0.
  * Relaxed dependency requirements on lxml, now that that project
    is publishing wheels for less common platforms again.

OBS-URL: https://build.opensuse.org/request/show/1167774
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=26
2024-04-15 18:18:10 +00:00
cb103c3b50 - update to 8.15.0:
* Rebuild wheels with QPDF 11.9.0.
  * Relaxed dependency requirements on lxml, now that that project
    is publishing wheels for less common platforms again.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=52
2024-04-15 09:03:28 +00:00
6d9e9960f9 Accepting request 1163291 from devel:languages:python
- update to 8.14.0:
  * Added QPDF_FUTURE environment variable for compile time testing
    of new QPDF features.
  * Added new code to suppress console window from appearing on
    Windows in some situations when decoding JBIG2.
  * Updated GitHub Actions versions.

OBS-URL: https://build.opensuse.org/request/show/1163291
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=25
2024-03-28 12:55:35 +00:00
d52ca3622a - update to 8.14.0:
* Added QPDF_FUTURE environment variable for compile time testing
    of new QPDF features.
  * Added new code to suppress console window from appearing on
    Windows in some situations when decoding JBIG2.
  * Updated GitHub Actions versions.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=50
2024-03-28 10:44:05 +00:00
1c61ad703a Accepting request 1158438 from devel:languages:python
- update to 8.13.0:
  * Enabled PyPy 3.10 support.
  * Rebuilt wheels with QPDF 11.8.0.
  * Improved test coverage slightly.
  * Minor performance improvement when using file streams.
  * Minor update to metadata documentation.

OBS-URL: https://build.opensuse.org/request/show/1158438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=24
2024-03-17 21:14:49 +00:00
096a847e66 - update to 8.13.0:
* Enabled PyPy 3.10 support.
  * Rebuilt wheels with QPDF 11.8.0.
  * Improved test coverage slightly.
  * Minor performance improvement when using file streams.
  * Minor update to metadata documentation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=48
2024-03-16 10:01:09 +00:00
d162769d1b Accepting request 1157520 from devel:languages:python
- remove unneeded ipython buildrequires

OBS-URL: https://build.opensuse.org/request/show/1157520
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=23
2024-03-13 21:20:51 +00:00
572f873827 - remove unneeded ipython buildrequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=46
2024-03-13 10:18:10 +00:00
e04fdebdf9 Accepting request 1141499 from devel:languages:python
- update to 8.11.2:
  * Fixed handling of XMP metadata when metadata contains objects
    in a default namespace.
  * Replaced all relative imports with absolute imports.
  * Rebuilt with QPDF 11.7.0.
  * Added support for setting page boxes to a rectangle directly,
    e.g. ``page.mediabox = rectangle`` - previously rectangle had
    to manually converted to an array.
  * Fixed rendering of PDF and individual pages in Jupyter/IPython.
    Newer versions of these tools are now pickier about what types
    of data they render, and don't render PDFs directly; we now
    provide SVG which works well. Requires installation of MuPDF
    as before.
  * Fixed rendering of inline images in Jupyter/IPython, which was
    not implemented.
  * Fixed build process to use new artifacts v4 actions on GitHub.

OBS-URL: https://build.opensuse.org/request/show/1141499
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=22
2024-01-25 17:42:05 +00:00
23530bcbd1 - update to 8.11.2:
* Fixed handling of XMP metadata when metadata contains objects
    in a default namespace.
  * Replaced all relative imports with absolute imports.
  * Rebuilt with QPDF 11.7.0.
  * Added support for setting page boxes to a rectangle directly,
    e.g. ``page.mediabox = rectangle`` - previously rectangle had
    to manually converted to an array.
  * Fixed rendering of PDF and individual pages in Jupyter/IPython.
    Newer versions of these tools are now pickier about what types
    of data they render, and don't render PDFs directly; we now
    provide SVG which works well. Requires installation of MuPDF
    as before.
  * Fixed rendering of inline images in Jupyter/IPython, which was
    not implemented.
  * Fixed build process to use new artifacts v4 actions on GitHub.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=44
2024-01-22 22:45:36 +00:00
3fd7404c16 Accepting request 1135318 from devel:languages:python
- update to 8.10.1:
  * Rebuilt with QPDF 11.6.4.
  * Replaced use of a custom C++ logger with sharing QPDF's.
    It is still relayed to the Python logger.
  * Added a simpler API for adding attachments from bytes data.
  * Deprecated use of Object.parse(str) in favor of
    Object.parse(bytes).

    The former, unfortunately, implemented some operations backwards
    are used in a page
    with multiple compression filters
  * Documentation updates.

OBS-URL: https://build.opensuse.org/request/show/1135318
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=21
2023-12-28 22:02:03 +00:00
0dfda51f24 - update to 8.10.1:
* Rebuilt with QPDF 11.6.4.
  * Replaced use of a custom C++ logger with sharing QPDF's.
    It is still relayed to the Python logger.
  * Added a simpler API for adding attachments from bytes data.
  * Deprecated use of Object.parse(str) in favor of
    Object.parse(bytes).
    The former, unfortunately, implemented some operations backwards
    are used in a page
    with multiple compression filters
  * Documentation updates.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=42
2023-12-27 14:01:56 +00:00
dde5110848 Accepting request 1133036 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1133036
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=20
2023-12-14 21:03:29 +00:00
2f65cbf3f6 Accepting request 1132933 from home:jonapap
- update to 8.9.0
  * Overhauled documentation
  * Added new pikepdf.canvas module with rudimentary content stream creation functions
  * Fixed pikepdf.Matrix.rotated() so it now rotates in the advertised direction
  * pikepdf.PdfMatrix is now deprecated, in favor of pikepdf.Matrix
  * Improve behavior around truthiness of pikepdf.Name
  * Implemented Page.artbox and Page.bleedbox to access these page dimension boxes
  * Fixed exception on certain PdfImage.__repr__ when the image’s mode was invalid
  * Fixed some minor issues that caused code coverage to miss some covered lines

OBS-URL: https://build.opensuse.org/request/show/1132933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=40
2023-12-14 09:41:02 +00:00
3270c54b3c Accepting request 1132902 from home:ecsos:python
- Update to 8.9.0
  - Overhauled documentation. Previously the documentation could only
    be generated in an environment where pikepdf was compiled and installed,
    since generating the final result depended on executing pikepdf.
    Now, these dynamic features are removed and the documentation is static.
    All documentation that was defined in C++ has been pulled out and defined
    in Python stub files instead, which means compiled binaries are no longer
    needed to access documentation. This change simplifies the generation of
    documentation and makes it easier for IDEs to look up function signatures.
  - Similarly, typing is now defined only in Python stub files.
- Update to 8.8.0
  - Added new pikepdf.canvas module with rudimentary content stream creation functions.
- Update to 8.7.1
  - Fixed pikepdf.Matrix.rotated() so it now rotates in the advertised direction.
- Update to 8.7.0
  - pikepdf.PdfMatrix is now deprecated, in favor of pikepdf.Matrix.
    The former, unfortunately, implemented some operations backwards 
    compared to the PDF reference manual. The new class fixes these issues,
    and adds more functionality, promoting transformation matrix to first class objects.
    PdfMatrix is now deprecated and will be removed in the next major release.
  - Improve behavior around truthiness of pikepdf.Name.
- Update to 8.6.0
  - Implemented Page.artbox and Page.bleedbox to access these page dimension boxes.
- Update to 8.5.3
  - Fixed exception on certain PdfImage.__repr__ when the image's mode was invalid.
  - Fixed some minor issues that caused code coverage to miss some covered lines.
  - Removed some unused code.

OBS-URL: https://build.opensuse.org/request/show/1132902
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=39
2023-12-14 08:09:20 +00:00
8806678452 Accepting request 1119887 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1119887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=19
2023-10-24 18:09:14 +00:00
85a4cd8f15 Accepting request 1119380 from home:uncomfyhalomacro:branches:devel:languages:python
- update to 8.5.2:
  * Fix incorrect usage of sys_platform
  * Don't install psutil on Windows and update other test dependencies
  * Move psutil-needing tests to their own script
  * Raise hypothesis deadlines
  * Fix a few type hints
  * Fix return values of global set/get fns and add get_access_default_mmap to pyi
  * Update binary wheel list
  * Simplify atomic_overwrite exception handler
  * Increase arm64 build coverage - add musl and cp312
  * Stop building PyPy3.8 wheels due to lack of Pillow support
  * Implementation AFRelationship for AttachedFileSpec
  * docs: update info about creating PDFs
  * Change to building against libqpdf v11.6.1
  * Disable pp3.10 since numpy binary wheels aren't released yet
  * Merge branch 'trusted-release'
  * Try adding url to see if it suppresses legacy warning
  * Merge branch 'm-holger-rect'
  * rect: tidy and prepare for release
  * Fixing use of typing | on Python 3.9
  * Add Python 3.8 shim
  * Improve CCITT tests
  * Implement Decode array to better support weird CCITTs
  * Fix another CCITT inversion issue
  * Improve available version documentation
  * Better documentation for atomic_overwrite
  * Fix saving file opened from BytesIO on Windows
  * Change atomic_overwite to use exclusive creation
  * black doesn't support py312 yet
  * Update documentation for 3.12 support
  * Update note about needsappearances
  * Allow Python 3.12 build to fail
  * Test Python 3.12 pre-release
  * Merge pull request #504 from m-holger/qm
  * Fix link to QPDF manual
  * Add docs back to sdist
  * build: found a way to make RTD trigger again
  * build: Replace deprecated "::set-output"
  * Add Rectangle operators '<=' and '&'
- Use pyproject

OBS-URL: https://build.opensuse.org/request/show/1119380
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=37
2023-10-24 07:53:18 +00:00
c9db95fd7d Accepting request 1100657 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1100657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=18
2023-07-26 11:23:43 +00:00
5fdedb3adc Accepting request 1100619 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1100619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=35
2023-07-25 14:32:28 +00:00
c44f037cb5 - update to 8.2.1:
* Support for Python 3.7 is dropped.
  * Added Page.form_xobjects, which returns all Form XObjects that
    are used in a page 
  * Fixed an issue with extracting images that were compressed
    with multiple compression filters 
  * Improved Object.repr() to avoid printing the entire contents
    of large object trees such as those in PDFs with structural
    element trees.
  * Fixed error when attempting to convert XMP metadata to
    DocumentInfo when the author was omitted.
  * Added a method to add items to the document table of contents.
  * Adjusted stream preview (with __repr__) so it does not attempt
    to decompress very long
  * Removed uses of deprecated function datetime.utcnow()
  * Adjusted timeline of potentially flaky hypothesis test.
  * PyPy 3.10 is now supported on some platforms.
  * PyPy 3.8 support will be dropped in the next major release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=34
2023-07-24 07:54:45 +00:00
af0e5b867c Accepting request 1085975 from devel:languages:python
- update to 6.2.8.post1:
  * Drop PyPy3.7 from wheel builds, since dependencies (lxml, Pillow)
    no longer provide it.
  * Fixed some tests that randomly failed on Windows due to newline
    handling issues.

OBS-URL: https://build.opensuse.org/request/show/1085975
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=17
2023-05-10 14:19:41 +00:00
b5de9d078f - update to 6.2.8.post1:
* Drop PyPy3.7 from wheel builds, since dependencies (lxml, Pillow)
    no longer provide it.
  * Fixed some tests that randomly failed on Windows due to newline
    handling issues.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=32
2023-05-10 06:40:18 +00:00
8c75a7f8bd Accepting request 1046279 from devel:languages:python
- update to 6.2.7:
  * Removed a debug message during mmap.
  * Fixed errors when using AccessMode.mmap
  * Fixed noisy log message.
  * Made some flakey tests less flakey.
  * Fixed deprecated information in setup.cfg. Thanks @mgorny.
  * Rebuild binary wheels using zlib 1.2.13. Source build unchanged.

OBS-URL: https://build.opensuse.org/request/show/1046279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=16
2023-01-03 14:05:23 +00:00
5b6c316af5 - update to 6.2.7:
* Removed a debug message during mmap.
  * Fixed errors when using AccessMode.mmap
  * Fixed noisy log message.
  * Made some flakey tests less flakey.
  * Fixed deprecated information in setup.cfg. Thanks @mgorny.
  * Rebuild binary wheels using zlib 1.2.13. Source build unchanged.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=30
2023-01-02 19:10:56 +00:00
c472742612 Accepting request 1030049 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1030049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=15
2022-10-20 09:11:37 +00:00
cf226caae5 Accepting request 1010227 from home:CJ:branches:devel:languages:python
- Update to version 6.2.0:
  * Add new keyword argument Pdf.save
- version 6.1.0: Rebuild wheels with qpdf 11.1.1.
- version 6.0.2:
  * Fixed large increase in binary wheel file size for linux wheels.
  * Provide macOS and Linux wheels for Python 3.11.
- version 6.0.1:
  * Use qpdf 11.1.0
- version 6.0.0:
  * pikepdf 6.0.0 released to align with backward incompatible
    changes in qpdf 11.
  * Remove deprecated APIs
- version 5.6.1:
  * Made treatment of CCITT image photometry ignore BlackIs1.
- version 5.6.0:
  * Improved support for extracting the contents of inline images.
  * Marked some "always should have been private" functions as deprecated
    with removal planned for v6, mainly in pikepdf.models.image.
  * Fixed all Python documentation style inconsistencies.
- version 5.5.0:
  * Fixed undefined behavior on creating NameTree on direct object.
  * Fixed sdist with coverage build.
  * Added support for specifying QPDF's library build directory, for
    compatibility with QPDF's transition to cmake.
  * QPDF_* environment variables will modify build paths even when CFLAGS
    is defined.
  * Fixed case where GIL was not held while discarding a certain exception.
  * Now using cibuildwheel 2.9.0.
  * Many typo fixes.
- version 5.4.2:
  * Fixed Pages.__eq__ not returning NotImplemented when it ought to.
  * Fixed possible problems with NameTree and NumberTree.__eq__ operators.
  * Changed to SPDX license headers throughout.
- version 5.4.1:
  * Fixed ReadTheDocs build, updated versions, fixed a test warning, improved
    coverage, modernized type annotations.
- version 5.4.0:
  * New feature: pikepdf.Job bindings to QPDFJob API.
  * New feature: pikepdf.NumberTree to support manipulation of number trees.
  * Many improvements to pikepdf.NameTree including the ability to instantiate
    a new name tree.
  * Several memory leaks were fixed.
  * Rebuilt against pybind11 2.10.0.
- version 5.3.2: Build system requires changed to setuptools-scm 7.0.5.
- version 5.3.1:
  * Fixed issue with parsing inline images, causing loss of data after inline
    images were encountered in a content stream. :issue:`299
- version 5.3.0:
  * Binary wheels for Linux aarch64 are now being rolled automatically.
  * Refactor JBIG2 handling to make JBIG2 decoders more testable and pluggable.
  * Fixed some typing issues around ObjectHelper.
  * Exposed some pikepdf settings that were attached to the private _qpdf
    module in a new pikepdf.settings module.
- version 5.2.0:
  * Avoid versions of setuptools_scm found to cause build issues. :issue:`359`
  * Improved unhelpful error message when attemping to save a file with
    invalid encryption settings. :issue:`341`
  * Added workaround for XMP metadata blocks that are missing the expected
    namespace tag. :issue:`349`
  * Minor code improvements, removed some deprecated private methods.

OBS-URL: https://build.opensuse.org/request/show/1010227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=28
2022-10-19 20:04:55 +00:00
cc13f4a04e Accepting request 983253 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/983253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=14
2022-06-17 19:21:11 +00:00
e0a9cd6070 Accepting request 983202 from home:badshah400:branches:devel:languages:python
Update to version 5.1.5 (Bonus: fixes build failures in Factory).

OBS-URL: https://build.opensuse.org/request/show/983202
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=26
2022-06-17 08:16:31 +00:00
107a522a8d Accepting request 965218 from devel:languages:python
- update to 5.1.0:
  * Rebuild against QPDF 10.6.3.
  * Improvements to Makefile for Apple Silicon wheels.
  * Fix issue where Pdf.check() would report a failure if JBIG2 decoder was not
    installed and the PDF contains JBIG2 content.
  * Some errors and inconsistencies are in the "pdfdoc" encoding provided by pikepdf
    have been corrected, in conjunction with fixes in libqpdf.
  * libqpdf 10.6.2 is required.
  * Previously, looking up the number of a page, given the page, required a linear
    search of all pages. We now use a newer QPDF API that allows quicker lookups.
  * Fixed gcc linker error with linking to a source-compiled version of qpdf. Thanks @jerkenbilt.
  * Fixed dead/obsolete link to old QPDF manual. Thanks @m-holger.
  * Rebuild binary wheels against qpdf 10.5.0. Note 10.6.0 has been released but
    requires further changes so does not work yet.
  * Removed some workarounds to support now-unsupported versions of pybind11.
  * Adjusted hypothesis test settings so it does not randomly fail on PyPy.
  * Mention vector vs raster images in documentation.
  * JBIG2 decoding is now more tightly integrated. In particular, we can now decode
    more types of JBIG2 image and they can be decoded using either the object or
    image interface.
  * Switch to tomli for TOML parsing.
  * Refactor image tests to use hypothesis more effectively and use more random issues,
    fixing many errors along the way.
  * Fixed two instances of a Python object being copied without the GIL held.
    May have caused some instability. Thanks @rwgk.
  * Further improvements to handling of 2- and 4-bit per component images. Major
    refactoring of relevant code and improved testing.
  * Mark pybind11 2.9 as supported. Thanks @QuLogic.
  * Improved support for images with bits per component set to values between 2 and 7
    inclusive.

OBS-URL: https://build.opensuse.org/request/show/965218
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=13
2022-03-29 18:12:01 +00:00
426bf2fb90 - update to 5.1.0:
* Rebuild against QPDF 10.6.3.
  * Improvements to Makefile for Apple Silicon wheels.
  * Fix issue where Pdf.check() would report a failure if JBIG2 decoder was not
    installed and the PDF contains JBIG2 content.
  * Some errors and inconsistencies are in the "pdfdoc" encoding provided by pikepdf
    have been corrected, in conjunction with fixes in libqpdf.
  * libqpdf 10.6.2 is required.
  * Previously, looking up the number of a page, given the page, required a linear
    search of all pages. We now use a newer QPDF API that allows quicker lookups.
  * Fixed gcc linker error with linking to a source-compiled version of qpdf. Thanks @jerkenbilt.
  * Fixed dead/obsolete link to old QPDF manual. Thanks @m-holger.
  * Rebuild binary wheels against qpdf 10.5.0. Note 10.6.0 has been released but
    requires further changes so does not work yet.
  * Removed some workarounds to support now-unsupported versions of pybind11.
  * Adjusted hypothesis test settings so it does not randomly fail on PyPy.
  * Mention vector vs raster images in documentation.
  * JBIG2 decoding is now more tightly integrated. In particular, we can now decode
    more types of JBIG2 image and they can be decoded using either the object or
    image interface.
  * Switch to tomli for TOML parsing.
  * Refactor image tests to use hypothesis more effectively and use more random issues,
    fixing many errors along the way.
  * Fixed two instances of a Python object being copied without the GIL held.
    May have caused some instability. Thanks @rwgk.
  * Further improvements to handling of 2- and 4-bit per component images. Major
    refactoring of relevant code and improved testing.
  * Mark pybind11 2.9 as supported. Thanks @QuLogic.
  * Improved support for images with bits per component set to values between 2 and 7
    inclusive.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=24
2022-03-27 18:26:34 +00:00
086308b500 Accepting request 947963 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/947963
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=12
2022-01-22 07:18:28 +00:00
4ff3bff02f Accepting request 947864 from home:ecsos
- Add versions to build requieres so Leap 15.3 can build.

OBS-URL: https://build.opensuse.org/request/show/947864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=23
2022-01-21 14:43:01 +00:00
66e89abf87 Accepting request 931985 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/931985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=11
2021-11-18 09:33:59 +00:00
25f5027cc5 Accepting request 931979 from home:ecsos
- Update to 2.12.2
  - Rebuild wheels against libqpdf 10.3.2.
  - Enabled building Linux PyPy x86_64 wheels.
  - Fixed a minor issue where the inline images would have their
    abbreviations expanded when unparsed. While unlikely to be
    problematic, inline images usually use abbreviations in their
    metadata and should be kept that way.
  - Added notes to documentation about loading PDFs through Python
    file streams and cases that can lead to poor performance.
- Fix build error for Leap and Tumblweed.

OBS-URL: https://build.opensuse.org/request/show/931979
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=22
2021-11-17 15:12:41 +00:00
e69ca87b26 Accepting request 897977 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/897977
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=10
2021-06-07 20:43:55 +00:00
c3da75623c Accepting request 897750 from home:mnhauke
- Update to version 2.12.1
  * Fixed documentation typo and updated precommit settings.
  * Ongoing improvements to code coverage: now related to image
    handling.
- Update to version 2.12.0
  * Complete bindings for ``pikepdf.Annotation`` (useful for
    interpreting PDF form widgets, comments, etc.)
  * Ongoing improvements to code coverage: minor bug fixes,
    unreachable code removal, more coverage.
- Update to version 2.11.4
  * Fix issue #160, 'Tried to call pure virtual function
    "TokenFilter::handle_token"'; this was a Python/C++
    reference counting problem.
- Update to version 2.11.3
  * Check for versions of jbig2dec that are too old to be
    supported (lacking the necessary command line arguments to
    extract an image from a PDF).
  * Fix setup.py typo: cmd_class changed to cmdclass.

- Update to version 2.11.2
  * Added missing documentation for ``Pdf.is_encrypted``.
- Update to version 2.11.1
  * Fixed an issue with ``Object.emplace()`` not retaining the
    original object's /Parent.

OBS-URL: https://build.opensuse.org/request/show/897750
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=20
2021-06-07 07:12:14 +00:00
abcaf32efe Accepting request 884854 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/884854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=9
2021-04-14 08:10:54 +00:00
d07d3a8ef0 Accepting request 884806 from home:mnhauke
- Update to version 2.11.0
  * Add new functions: Pdf.generate_appearance_streams and
    Pdf.flatten_annotations, to support common work with PDF forms.
- Update to version 2.10.0
  * Fixed a XML External Entity (XXE) processing vulnerability in
    PDF XMP metadata parsing (CVE-2021-29421)
  * Bind new functions to check, when a PDF is opened, whether
    the password used to open the PDF matched the owner password,
    user password, or both: Pdf.user_password_matched and
    Pdf.owner_password_matched.
- Update to version 2.9.2
  * Further expansion of test coverage of several functions, and
    minor bug fixes along the way.
  * Improve parameter validation for some outline-related functions.
  * Fixed overloaded __repr__ functions in _methods.py not being
    applied.
- Update to version 2.9.1
  * Fixed function signatures for _repr_mimebundle_ functions to
    match IPython's spec.
  * Fixed some error messages regarding attempts to do strange
    things with pikepdf.Name, like pikepdf.Name.Foo = 3.
  * Eliminated code to handle an exception that provably does not
    occur.
- Update to version 2.9.0
  * We now issue a warning when attempting to use pikepdf.open
    on a bytes object where it could be either a PDF loaded into
    memory or a filename.
  * pikepdf.Page.label will now return the "ordinary" page number
    if no special rules for pages are defined.
  * Many improvements to tests and test coverage.

OBS-URL: https://build.opensuse.org/request/show/884806
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=18
2021-04-13 07:34:52 +00:00
c28383dd20 Accepting request 878602 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/878602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=8
2021-03-15 09:54:39 +00:00
15461683ca Accepting request 878572 from home:mnhauke
- Update to version 2.8.0
  * Fixed an issue with extracting data from images that had their
    DecodeParms structured as a list of dictionaries.
  * Fixed an issue where a dangling stream object is created if we
    fail to create the requested stream dictionary.
  * Calling Dictionary() and Array() on objects which are already
    of that type returns a shallow copy rather than throwing an
    exception, in keeping with Python semantics.
- Update to version 2.7.0
  * Added an option to tell Pdf.save to recompress flate streams,
    and a global option to set the flate compression level. This
    option can be use to force the recompression of flate streams
    if they are not well compressed.
  * Fixed "TypeError: only pages can be inserted" when attempting
    to an insert an unowned page using QPDF 10.2.0 or later.
- Update to version 2.6.0
  * Rebuild wheels against QPDF 10.2.0.

OBS-URL: https://build.opensuse.org/request/show/878572
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=16
2021-03-12 16:22:38 +00:00
4048651b68 Accepting request 870096 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/870096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=7
2021-02-15 22:14:16 +00:00
f15abb920b Accepting request 870092 from home:jayvdb:branches:devel:languages:python
- Add docs/*/*.rst to package contents
- Update to v2.5.2
  * See https://github.com/pikepdf/pikepdf/blob/master/docs/release_notes.rst

OBS-URL: https://build.opensuse.org/request/show/870092
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=14
2021-02-07 15:02:48 +00:00
17057bab32 Accepting request 823713 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/823713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=6
2020-09-17 12:41:34 +00:00
50b9b78f61 Accepting request 823686 from home:qantas94heavy:branches:devel:languages:python
- Update pikepdf to 1.17.3
- Allow test_object.py to run in package spec

OBS-URL: https://build.opensuse.org/request/show/823686
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=12
2020-07-31 10:19:47 +00:00
b2a09c07b3 Accepting request 796475 from devel:languages:python
- Do not pull in python2 package on py3 only software

OBS-URL: https://build.opensuse.org/request/show/796475
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pikepdf?expand=0&rev=5
2020-04-23 16:34:52 +00:00
Tomáš Chvátal
6000d43f23 - Do not pull in python2 package on py3 only software
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=10
2020-04-23 10:05:35 +00:00