From 968b6573e19dbf6cdbb9dbe52f70148fa181744ec26b4f7a5bf4ea092ac28d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Tue, 24 Oct 2023 07:53:18 +0000 Subject: [PATCH] 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 --- pikepdf-8.2.1.tar.gz | 3 --- pikepdf-8.5.2.tar.gz | 3 +++ python-pikepdf.changes | 44 ++++++++++++++++++++++++++++++++++++++++++ python-pikepdf.spec | 12 ++++++------ 4 files changed, 53 insertions(+), 9 deletions(-) delete mode 100644 pikepdf-8.2.1.tar.gz create mode 100644 pikepdf-8.5.2.tar.gz diff --git a/pikepdf-8.2.1.tar.gz b/pikepdf-8.2.1.tar.gz deleted file mode 100644 index 98f54ab..0000000 --- a/pikepdf-8.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ec6fb1bc37d1bd4c4f70ab13fc685787f21b498b92ae93215df23471c55401de -size 1804043 diff --git a/pikepdf-8.5.2.tar.gz b/pikepdf-8.5.2.tar.gz new file mode 100644 index 0000000..15cadbf --- /dev/null +++ b/pikepdf-8.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:297af123077dc22f738aedd4ca97b3561454301491ec8d514f526ce564f8fde9 +size 2854729 diff --git a/python-pikepdf.changes b/python-pikepdf.changes index acb5806..5d33120 100644 --- a/python-pikepdf.changes +++ b/python-pikepdf.changes @@ -1,3 +1,47 @@ +------------------------------------------------------------------- +Sat Oct 21 23:05:48 UTC 2023 - Soc Virnyl Estela + +- 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 + ------------------------------------------------------------------- Tue Jul 25 10:44:56 UTC 2023 - ecsos diff --git a/python-pikepdf.spec b/python-pikepdf.spec index 9c5d25d..dabd1e1 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -19,7 +19,7 @@ %{?sle15_python_module_pythons} Name: python-pikepdf -Version: 8.2.1 +Version: 8.5.2 Release: 0 Summary: Read and write PDFs with Python, powered by qpdf License: MPL-2.0 @@ -46,8 +46,9 @@ 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 pip} BuildRequires: %{python_module setuptools >= 61} -#BuildRequires: %%{python_module wheel >= 0.35} +BuildRequires: %{python_module wheel >= 0.37} ## /SECTION BuildRequires: fdupes BuildRequires: gcc-c++ @@ -68,10 +69,10 @@ Read and write PDFs with Python, powered by qpdf. %build export CFLAGS="%{optflags}" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check @@ -80,7 +81,6 @@ export CFLAGS="%{optflags}" %files %{python_files} %license LICENSE.txt %doc README.md -%{python_sitearch}/pikepdf/ -%{python_sitearch}/pikepdf-%{version}-py%{python_version}.egg-info/ +%{python_sitearch}/pikepdf* %changelog