Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pikepdf for openSUSE:Factory checked in at 2022-03-29 20:12:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pikepdf (Old) and /work/SRC/openSUSE:Factory/.python-pikepdf.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pikepdf" Tue Mar 29 20:12:01 2022 rev:13 rq:965218 version:5.1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pikepdf/python-pikepdf.changes 2022-01-22 08:19:22.450422609 +0100 +++ /work/SRC/openSUSE:Factory/.python-pikepdf.new.1900/python-pikepdf.changes 2022-03-29 20:12:04.761954744 +0200 @@ -1,0 +2,69 @@ +Sun Mar 27 15:05:43 UTC 2022 - Dirk M??ller <dmuel...@suse.com> + +- 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. + * Additional types of runtime errors produced by libqpdf are now resolved to + ``DataDecodingError`` for improved error message clarity. + * Improved typing and documentation for several modules. + * Replaced all internal uses of deprecated standard library module distutils + with the third party packaging library. This was all for version number checking. + * Maintainers: python3-packaging is now required for installation. + Fixed incorrect default rectangle handling in ``Page.add_overlay`` and + ``Page.add_underlay``. Thanks @sjahu. :issue:`277`. + * Fixed ``Page.add_overlay`` not scaling to larger target sizes automatically. + * ``pikepdf._qpdf.ObjectHelper`` is now registered as a base class from which other + helper classes are derived such as ``pikepdf.Page``. + * Prevented implicit conversion of ObjectHelper to Object through their inclusion + as for example, parameters to a ``pikepdf.Array``. This functionality was never + intended, and was a side effect of certain ObjectHelper subclasses defining an + iterable interface that made their conversion possible. :issue:`282` + * Declared support for pybind11 2.8.x. + * Wheels are now built against libqpdf 10.4.0. + * Wheels are now built for macOS Apple Silicon and Python 3.10. + * Fixed equality and copy operators for ``pikepdf.Page``. :issue:`271` + * Fixed equality test on ``pikepdf.Stream`` objects - objects that are not identical + but have equal data now compare as equal. + * Deprecated the use of ``copy_foreign`` for copying ``pikepdf.Page``. + * Fixed documentation build reproducibility. (Thanks to Chris Lamb and Sean Whitton.) + * Fixed issue where file attachments not located in the current working directory + * Removed some references to Python 3.6. + * Added some fixes to typing hints from @cherryblossom000. + * Python 3.10 is supported. + * Dropped support for Python 3.6, since it is reaching end of life soon. We will + backport critical fixes to pikepdf 3.x until Python 3.6 reaches end of life in + December 2021. + * We now require C++17 and generate wheels for manylinux2014 Linux targets. We had + to drop support for manylinux2010, our previous target, since some of our + dependencies like Pillow are no longer supporting manylinux2010. + * libqpdf 10.3.1 is now required and other requirements were adjusted. + * pybind11 2.7.1 is now required. + +------------------------------------------------------------------- Old: ---- pikepdf-2.12.2.tar.gz New: ---- pikepdf-5.1.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pikepdf.spec ++++++ --- /var/tmp/diff_new_pack.XrdZBK/_old 2022-03-29 20:12:05.521955471 +0200 +++ /var/tmp/diff_new_pack.XrdZBK/_new 2022-03-29 20:12:05.525955475 +0200 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pikepdf -Version: 2.12.2 +Version: 5.1.0 Release: 0 Summary: Read and write PDFs with Python, powered by qpdf License: MPL-2.0 @@ -28,16 +28,16 @@ URL: https://github.com/pikepdf/pikepdf Source: https://files.pythonhosted.org/packages/source/p/pikepdf/pikepdf-%{version}.tar.gz ## SECTION test requirements -BuildRequires: %{python_module Pillow >= 7.0.0} +BuildRequires: %{python_module Pillow >= 9.0.0} BuildRequires: %{python_module attrs >= 20.2.0} BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis >= 5.0} BuildRequires: %{python_module ipython} BuildRequires: %{python_module lxml >= 4.0} -#BuildRequires: %%{python_module matplotlib} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module psutil >= 5} -BuildRequires: %{python_module pybind11 >= 2.6.0} -BuildRequires: %{python_module pybind11-devel >= 2.6.0} +BuildRequires: %{python_module pybind11 >= 2.9.0} +BuildRequires: %{python_module pybind11-devel >= 2.9.0} BuildRequires: %{python_module pytest >= 6.0.0} BuildRequires: %{python_module pytest-cov >= 2.10.1} BuildRequires: %{python_module pytest-forked} @@ -56,9 +56,10 @@ BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libqpdf) >= 10.0.3 -Requires: python-Pillow >= 6.0.0 +BuildRequires: pkgconfig(libqpdf) >= 10.6.2 +Requires: python-Pillow >= 9.0.0 Requires: python-lxml >= 4.0 +Requires: python-packaging %python_subpackages %description @@ -66,9 +67,6 @@ %prep %setup -q -n pikepdf-%{version} -# Simplify setup_requires -sed -i 's/setuptools >= [0-9]*/setuptools/;/wheel/d' setup.py -rm setup.cfg %build export CFLAGS="%{optflags}" @@ -81,7 +79,9 @@ %check # Ignore some test as it fails on Leap and Tumbleweed # despite all other tests passing. -%pytest_arch -k 'not (test_unicode or test_bytes or TestName)' +# %pytest_arch -k 'not (test_unicode or test_bytes or TestName)' + +%pytest_arch %files %{python_files} %license LICENSE.txt licenses ++++++ pikepdf-2.12.2.tar.gz -> pikepdf-5.1.0.tar.gz ++++++ ++++ 19449 lines of diff (skipped)