diff --git a/pikepdf-6.2.8.post1.tar.gz b/pikepdf-6.2.8.post1.tar.gz deleted file mode 100644 index 7d7e4c7..0000000 --- a/pikepdf-6.2.8.post1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5423ee3f35b60b27cbd16ec973d9947e885c7f62561f53b9bf97af7026df12e2 -size 2915201 diff --git a/pikepdf-8.2.1.tar.gz b/pikepdf-8.2.1.tar.gz new file mode 100644 index 0000000..98f54ab --- /dev/null +++ b/pikepdf-8.2.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec6fb1bc37d1bd4c4f70ab13fc685787f21b498b92ae93215df23471c55401de +size 1804043 diff --git a/python-pikepdf.changes b/python-pikepdf.changes index 6b7db05..284c5d4 100644 --- a/python-pikepdf.changes +++ b/python-pikepdf.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Jul 24 07:47:14 UTC 2023 - Dirk Müller + +- 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 + ------------------------------------------------------------------- Wed May 10 06:39:40 UTC 2023 - Dirk Müller diff --git a/python-pikepdf.spec b/python-pikepdf.spec index e994e4e..14db3ff 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-pikepdf -Version: 6.2.8.post1 +Version: 8.2.1 Release: 0 Summary: Read and write PDFs with Python, powered by qpdf License: MPL-2.0 @@ -30,32 +30,32 @@ Source: https://files.pythonhosted.org/packages/source/p/pikepdf/pikepdf ## SECTION test requirements 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 devel >= 3.8} +BuildRequires: %{python_module hypothesis >= 6.36} BuildRequires: %{python_module ipython} BuildRequires: %{python_module lxml >= 4.0} BuildRequires: %{python_module packaging} -BuildRequires: %{python_module psutil >= 5} -BuildRequires: %{python_module pybind11 >= 2.10.0} +BuildRequires: %{python_module psutil >= 5.9} +BuildRequires: %{python_module pybind11 >= 2.10.1} BuildRequires: %{python_module pybind11-devel >= 2.10.0} -BuildRequires: %{python_module pytest >= 6.0.0} -BuildRequires: %{python_module pytest-cov >= 2.10.1} +BuildRequires: %{python_module pytest >= 6.2.5} +BuildRequires: %{python_module pytest-cov >= 3.0.0} BuildRequires: %{python_module pytest-forked} BuildRequires: %{python_module pytest-helpers-namespace >= 2019.1.8} # Upstream use pytest-timeout >= 1.4.2 -BuildRequires: %{python_module pytest-timeout} -BuildRequires: %{python_module pytest-xdist >= 1.28} -BuildRequires: %{python_module python-dateutil >= 2.8.0} +BuildRequires: %{python_module pytest-timeout >= 2.1.0} +BuildRequires: %{python_module pytest-xdist >= 2.5.0} +BuildRequires: %{python_module python-dateutil >= 2.8.1} #BuildRequires: %%{python_module python-xmp-toolkit >= 2.0.1} -BuildRequires: %{python_module setuptools >= 50} -BuildRequires: %{python_module setuptools_scm >= 4.1} +BuildRequires: %{python_module setuptools >= 61} #BuildRequires: %%{python_module wheel >= 0.35} ## /SECTION BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: libjpeg8-devel BuildRequires: pkgconfig BuildRequires: python-rpm-macros -BuildRequires: pkgconfig(libqpdf) >= 11.1.1 +BuildRequires: pkgconfig(libqpdf) >= 11.5.0 Requires: python-Pillow >= 9.0.0 Requires: python-lxml >= 4.0 Requires: python-packaging @@ -80,7 +80,7 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE.txt -%doc README.md docs/*/*.rst +%doc README.md %{python_sitearch}/pikepdf/ %{python_sitearch}/pikepdf-%{version}-py%{python_version}.egg-info/