14
0

- update to 0.20:

* Enable support for pattern matching (#96)
  * add support for aix/sunos (#98)
  * Python 3.12 compatibility (#105)
  * Add __contains__ to MapKeys (#99)
  * Add PEP 585 GenericAlias support (#101)
  * Move metadata to `pyproject.toml`, fix test fixture inclusion
    in sdist (#111)
- drop python312.patch (upstream)
- add python312.patch to fix build with python 3.12
- Update to version 0.19
- drop skip_32bit_tests.patch, test_none_collisions-32-bit.patch (upstream)
  * python 3.9 support
- skip tests that fail on 32bit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-immutables?expand=0&rev=30
This commit is contained in:
2023-12-01 17:01:04 +00:00
committed by Git OBS Bridge
parent 998c8cc79a
commit cf2471699a
5 changed files with 22 additions and 100 deletions

View File

@@ -18,14 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-immutables
Version: 0.19
Version: 0.20
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
# PATCH-FIX-UPSTREAM: https://github.com/MagicStack/immutables/commit/f7978225ea562e128b07cae936acd7926d9e64e7
Patch1: python312.patch
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -45,9 +43,6 @@ export CFLAGS="%{optflags}"
%install
%python_install
%{python_expand rm %{buildroot}%{$python_sitearch}/immutables/*.[ch]
%fdupes %{buildroot}%{$python_sitearch}
}
%check
export IMMU_SKIP_MYPY_TESTS=1