From ebbdcbe938f903c9f97c818c2be84a074c8aa52998290cad9ffa1e0947e30aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 18 Jul 2019 09:44:11 +0000 Subject: [PATCH] - Use pytest4 for testing as pytest 5.x series do not work; bug was reported upstream - Update to 0.15.3: * Fix #172, catch all exceptions during extension build to reduce chance of corner cases that prevents installation. * Fix #171, in PVector equality comparison don's assume that other object has a length, check before calling len. * Fix #168, write warning about failing build of C extension directly to stderr to avoid that pip silences it. * Fix #155, update PMapEvolver type stub to better reflect implementation. - Update to 0.15.2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=12 --- pyrsistent-0.15.2.tar.gz | 3 --- pyrsistent-0.15.3.tar.gz | 3 +++ python-pyrsistent.changes | 17 ++++++++++++++++- python-pyrsistent.spec | 5 +++-- 4 files changed, 22 insertions(+), 6 deletions(-) delete mode 100644 pyrsistent-0.15.2.tar.gz create mode 100644 pyrsistent-0.15.3.tar.gz diff --git a/pyrsistent-0.15.2.tar.gz b/pyrsistent-0.15.2.tar.gz deleted file mode 100644 index 125bac5..0000000 --- a/pyrsistent-0.15.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:16692ee739d42cf5e39cef8d27649a8c1fdb7aa99887098f1460057c5eb75c3a -size 106804 diff --git a/pyrsistent-0.15.3.tar.gz b/pyrsistent-0.15.3.tar.gz new file mode 100644 index 0000000..77091ec --- /dev/null +++ b/pyrsistent-0.15.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50cffebc87ca91b9d4be2dcc2e479272bcb466b5a0487b6c271f7ddea6917e14 +size 106959 diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes index d5aa5ce..a7da754 100644 --- a/python-pyrsistent.changes +++ b/python-pyrsistent.changes @@ -1,7 +1,22 @@ +------------------------------------------------------------------- +Thu Jul 18 09:42:37 UTC 2019 - Tomáš Chvátal + +- Use pytest4 for testing as pytest 5.x series do not work; bug + was reported upstream + +------------------------------------------------------------------- +Thu Jul 18 09:38:13 UTC 2019 - Tomáš Chvátal + +- Update to 0.15.3: + * Fix #172, catch all exceptions during extension build to reduce chance of corner cases that prevents installation. + * Fix #171, in PVector equality comparison don's assume that other object has a length, check before calling len. + * Fix #168, write warning about failing build of C extension directly to stderr to avoid that pip silences it. + * Fix #155, update PMapEvolver type stub to better reflect implementation. + ------------------------------------------------------------------- Wed Jun 5 09:20:42 UTC 2019 - Marketa Calabkova -- Update t0 0.15.2 +- Update to 0.15.2 * Fix #166, Propagate 'ignore_extra' param in hierarchy. Thanks @ss18 for this! * Fix #167, thaw typing. Thanks @nattofriends for this! diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 67d8fc0..00e636b 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pyrsistent -Version: 0.15.2 +Version: 0.15.3 Release: 0 Summary: Persistent, Functional, Immutable data structures License: MIT @@ -28,7 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrs BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module numpy} -BuildRequires: %{python_module pytest} +BuildRequires: %{python_module pytest4} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes @@ -58,6 +58,7 @@ export CFLAGS="%{optflags}" %python_expand %fdupes %{buildroot}%{$python_sitearch} %check +export PYTHONDONTWRITEBYTECODE=1 %pytest_arch %files %{python_files}