From 00c488b5f53d17f6e182c42ff5d379c37ac5619a8424b12e8858641ced4077c8 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 27 Jan 2023 09:22:27 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Update=20to=200.6.11=20=20=20*=20Fixed?= =?UTF-8?q?=20format=20issue=20when=20calling=20Image.convert(),=20and=20I?= =?UTF-8?q?mage.make=5Fblob()=20=20=20=20=20methods.=20[#594]=20=20=20*=20?= =?UTF-8?q?Fixed=20storage=20type=20size=20for=20=E2=80=9Clong=E2=80=9D=20?= =?UTF-8?q?&=20=E2=80=9Cquantum=E2=80=9D=20values=20in=20=20=20=20=20Image?= =?UTF-8?q?.export=5Fpixels()=20and=20Image.import=5Fpixels()=20methods.?= =?UTF-8?q?=20[#596]=20=20=20*=20Added=20filter=20parameter=20to=20Image.d?= =?UTF-8?q?istort()=20method.=20=20=20*=20[TEST]=20Added=20Python=203.11?= =?UTF-8?q?=20to=20regression=20tests=20for=20github=20actions.=20=20=20*?= =?UTF-8?q?=20[TEST]=20Replaced=20py.path=20fixtures=20with=20pythlib.=20[?= =?UTF-8?q?!607=20&=20#608=20by=20Louis=20=20=20=20=20Sautier]=20=20=20*?= =?UTF-8?q?=20[TEST]=20Retired=20Python2=20support=20from=20regression=20t?= =?UTF-8?q?esting.=20=20=20*=20[TEST]=20Upgraded=20Travis=20CI=20=20=20=20=20=20build=20en?= =?UTF-8?q?vironments.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Wand?expand=0&rev=9 --- Wand-0.6.10.tar.gz | 3 --- Wand-0.6.11.tar.gz | 3 +++ python-Wand.changes | 16 ++++++++++++++++ python-Wand.spec | 10 +++++----- 4 files changed, 24 insertions(+), 8 deletions(-) delete mode 100644 Wand-0.6.10.tar.gz create mode 100644 Wand-0.6.11.tar.gz diff --git a/Wand-0.6.10.tar.gz b/Wand-0.6.10.tar.gz deleted file mode 100644 index 02f9dd3..0000000 --- a/Wand-0.6.10.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:373f4a7f2866c868c31ce910e1f9b36a92d132640a20068ec17cea3284fedc57 -size 11885159 diff --git a/Wand-0.6.11.tar.gz b/Wand-0.6.11.tar.gz new file mode 100644 index 0000000..c53a5f7 --- /dev/null +++ b/Wand-0.6.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b661700da9f8f1e931e52726e4fc643a565b9514f5883d41b773e3c37c9fa995 +size 11883567 diff --git a/python-Wand.changes b/python-Wand.changes index 205282e..9b4e7c6 100644 --- a/python-Wand.changes +++ b/python-Wand.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Fri Jan 27 09:20:08 UTC 2023 - Daniel Garcia + +- Update to 0.6.11 + * Fixed format issue when calling Image.convert(), and Image.make_blob() + methods. [#594] + * Fixed storage type size for “long” & “quantum” values in + Image.export_pixels() and Image.import_pixels() methods. [#596] + * Added filter parameter to Image.distort() method. + * [TEST] Added Python 3.11 to regression tests for github actions. + * [TEST] Replaced py.path fixtures with pythlib. [!607 & #608 by Louis + Sautier] + * [TEST] Retired Python2 support from regression testing. + * [TEST] Upgraded Travis CI + build environments. + ------------------------------------------------------------------- Mon Aug 29 16:01:33 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-Wand.spec b/python-Wand.spec index cbb3ac3..94409e3 100644 --- a/python-Wand.spec +++ b/python-Wand.spec @@ -1,7 +1,7 @@ # # spec file for package python-Wand # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Wand -Version: 0.6.10 +Version: 0.6.11 Release: 0 Summary: Ctypes-based simple MagickWand API binding for Python License: MIT @@ -34,7 +33,7 @@ BuildRequires: python-rpm-macros BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module psutil >= 1.0.1} -BuildRequires: %{python_module pytest >= 2.3.0} +BuildRequires: %{python_module pytest >= 7.2.0} BuildRequires: %{python_module numpy if (%python-base without python36-base)} # /SECTION %python_subpackages @@ -64,6 +63,7 @@ export PYTEST_ADDOPTS="--skip-fft" %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/wand +%{python_sitelib}/Wand-%{version}*-info %changelog From 6f2bc9ae62abc8c6cd4b089d7a622d3b006c74dcfae7321219d2552a27318f87 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Fri, 27 Jan 2023 10:53:02 +0000 Subject: [PATCH 2/2] - Disable broken test in i586, test_histogram OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Wand?expand=0&rev=10 --- python-Wand.changes | 1 + python-Wand.spec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/python-Wand.changes b/python-Wand.changes index 9b4e7c6..03f84a9 100644 --- a/python-Wand.changes +++ b/python-Wand.changes @@ -1,6 +1,7 @@ ------------------------------------------------------------------- Fri Jan 27 09:20:08 UTC 2023 - Daniel Garcia +- Disable broken test in i586, test_histogram - Update to 0.6.11 * Fixed format issue when calling Image.convert(), and Image.make_blob() methods. [#594] diff --git a/python-Wand.spec b/python-Wand.spec index 94409e3..6ca7c6f 100644 --- a/python-Wand.spec +++ b/python-Wand.spec @@ -58,7 +58,7 @@ export PYTEST_ADDOPTS="--skip-fft" # Three tests failing with # wand.exceptions.PolicyError: attempt to perform an operation not allowed by the security policy `PDF' # due to https://build.opensuse.org/package/view_file/graphics/ImageMagick/ImageMagick-configuration-SUSE.patch -%pytest -rs -k 'not (test_resolution_set_03 or test_resolution_set_04 or test_read_with_colorspace)' +%pytest -rs -k 'not (test_resolution_set_03 or test_resolution_set_04 or test_read_with_colorspace or test_histogram)' %files %{python_files} %doc README.rst