14
0

- update to 0.14:

* python 3.8 support
  * Various improvements w.r.t. type annotations & typing
  * Fix pure-Python implementation to accept keyword argument
  * Fix the mutation API to maintain elements count correctly
  * Allow None to be used as key in pure-Python implementation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-immutables?expand=0&rev=7
This commit is contained in:
2020-09-16 11:28:21 +00:00
committed by Git OBS Bridge
parent 42b28c2519
commit 8a2ec6084e
5 changed files with 14 additions and 29 deletions

View File

@@ -19,13 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-immutables
Version: 0.11
Version: 0.14
Release: 0
Summary: Immutable collections for Python
License: Apache-2.0
URL: https://github.com/MagicStack/immutables
Source: https://files.pythonhosted.org/packages/source/i/immutables/immutables-%{version}.tar.gz
Patch0: py38.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -37,7 +36,6 @@ Immutable collections for Python.
%prep
%setup -q -n immutables-%{version}
%patch0 -p1
sed -i 's/\.system//' setup.py
%build