14
0

- 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
This commit is contained in:
Tomáš Chvátal
2019-07-18 09:44:11 +00:00
committed by Git OBS Bridge
parent 80330e19e7
commit ebbdcbe938
4 changed files with 22 additions and 6 deletions

View File

@@ -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}