14
0
Commit Graph

14 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
Tomáš Chvátal
2968f3fa72 Accepting request 795597 from home:mnhauke
- Update to version 1.11.1
  * We now avoid creating an empty XMP metadata entry when files
    are saved.
  * Updated documentation to describe how to delete the document
    information dictionary.
- Update to version 1.11.0
  * Prevent creation of dictionaries with invalid names (not
    beginning with /).
  * Allow pikepdf's build to specify a qpdf source tree, allowing
    one to compile pikepdf against an unreleased/modified version
    of qpdf.
  * Improved behavior of pages.p() and pages.remove() when
    invalid parameters were given.
  * Fixed compatibility with libqpdf version 10.0.1, and build
    official wheels against this version.
  * Fixed compatibility with pytest 5.x.
  * Fixed the documentation build.
  * Fixed an issue with running tests in a non-Unicode locale.
  * Fixed a test that randomly failed due to a "deadline error".
  * Removed a possibly nonfree test file.
- Update to version 1.10.4
  * Rebuild Python wheels with newer version of libqpdf. Fixes
    problems with opening certain password-protected files (#87)

OBS-URL: https://build.opensuse.org/request/show/795597
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=8
2020-04-20 05:52:20 +00:00
Tomáš Chvátal
212dd7f6df Accepting request 787775 from home:pgajdos:python
- version update to 1.10.3
  * Fixed ``isinstance(obj, pikepdf.Operator)`` not working. (#86)
  * Documentation updates.

OBS-URL: https://build.opensuse.org/request/show/787775
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=6
2020-03-24 12:30:10 +00:00
Tomáš Chvátal
06b22a468b Accepting request 785534 from home:mcalabkova:branches:devel:languages:python
- update to version 1.10.2
  * Fixed an issue where pages added from a foreign PDF were added as references
    rather than copies.
  * Documentation updates.

OBS-URL: https://build.opensuse.org/request/show/785534
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=4
2020-03-16 10:06:48 +00:00
04150d5cb5 Accepting request 774366 from home:mnhauke
Initial package for python-pikepdf

OBS-URL: https://build.opensuse.org/request/show/774366
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pikepdf?expand=0&rev=1
2020-02-14 14:51:33 +00:00