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 1/3] - 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} From 95feee1efa7ff4a0ff69bf4f9c5049c0ca75a98fb84c7c9ed5b488b40a860959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 19 Jul 2019 09:06:01 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=13 --- python-pyrsistent.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 00e636b..8bcaa7f 100644 --- a/python-pyrsistent.spec +++ b/python-pyrsistent.spec @@ -28,7 +28,8 @@ 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 pytest4} +# https://github.com/tobgu/pyrsistent/issues/175 +BuildRequires: %{python_module pytest < 5.0} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes From a5e97a82c45b1765f51db538ef3876c3759ef369f2ba7d1354f834a8e2e85bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 29 Jul 2019 08:47:05 +0000 Subject: [PATCH 3/3] - Update to 0.15.4: * support new pytest * Fix #174, fix a GC traversal bug in pvector evolver C extension. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyrsistent?expand=0&rev=14 --- pyrsistent-0.15.3.tar.gz | 3 --- pyrsistent-0.15.4.tar.gz | 3 +++ python-pyrsistent.changes | 7 +++++++ python-pyrsistent.spec | 5 ++--- 4 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 pyrsistent-0.15.3.tar.gz create mode 100644 pyrsistent-0.15.4.tar.gz diff --git a/pyrsistent-0.15.3.tar.gz b/pyrsistent-0.15.3.tar.gz deleted file mode 100644 index 77091ec..0000000 --- a/pyrsistent-0.15.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:50cffebc87ca91b9d4be2dcc2e479272bcb466b5a0487b6c271f7ddea6917e14 -size 106959 diff --git a/pyrsistent-0.15.4.tar.gz b/pyrsistent-0.15.4.tar.gz new file mode 100644 index 0000000..ce3d7d3 --- /dev/null +++ b/pyrsistent-0.15.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34b47fa169d6006b32e99d4b3c4031f155e6e68ebcc107d6454852e8e0ee6533 +size 107237 diff --git a/python-pyrsistent.changes b/python-pyrsistent.changes index a7da754..37469f5 100644 --- a/python-pyrsistent.changes +++ b/python-pyrsistent.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jul 29 08:24:54 UTC 2019 - Tomáš Chvátal + +- Update to 0.15.4: + * support new pytest + * Fix #174, fix a GC traversal bug in pvector evolver C extension. + ------------------------------------------------------------------- Thu Jul 18 09:42:37 UTC 2019 - Tomáš Chvátal diff --git a/python-pyrsistent.spec b/python-pyrsistent.spec index 8bcaa7f..b716fd9 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.3 +Version: 0.15.4 Release: 0 Summary: Persistent, Functional, Immutable data structures License: MIT @@ -28,8 +28,7 @@ Source: https://files.pythonhosted.org/packages/source/p/pyrsistent/pyrs BuildRequires: %{python_module devel} BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module numpy} -# https://github.com/tobgu/pyrsistent/issues/175 -BuildRequires: %{python_module pytest < 5.0} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} BuildRequires: fdupes