diff --git a/immutables-0.19.tar.gz b/immutables-0.19.tar.gz deleted file mode 100644 index de6d4dc..0000000 --- a/immutables-0.19.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df17942d60e8080835fcc5245aa6928ef4c1ed567570ec019185798195048dcf -size 85490 diff --git a/immutables-0.20.tar.gz b/immutables-0.20.tar.gz new file mode 100644 index 0000000..93ac0d0 --- /dev/null +++ b/immutables-0.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d2f83e6a6a8455466cd97b9a90e2b4f7864648616dfa6b19d18f49badac3876 +size 88933 diff --git a/python-immutables.changes b/python-immutables.changes index d685b4b..3315ac0 100644 --- a/python-immutables.changes +++ b/python-immutables.changes @@ -1,7 +1,20 @@ +------------------------------------------------------------------- +Fri Dec 1 16:59:24 UTC 2023 - Dirk Müller + +- 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) + ------------------------------------------------------------------- Mon Aug 14 20:48:16 UTC 2023 - Dirk Müller -- add python312.patch to fix build with python 3.12 +- add python312.patch to fix build with python 3.12 ------------------------------------------------------------------- Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller @@ -21,7 +34,7 @@ Thu Apr 13 22:42:01 UTC 2023 - Matej Cepl ------------------------------------------------------------------- Wed Oct 12 03:36:57 UTC 2022 - Yogalakshmi Arunachalam -- Update to version 0.19 +- Update to version 0.19 * Support for Python 3.11 ------------------------------------------------------------------- @@ -55,7 +68,7 @@ Tue Feb 22 09:01:33 UTC 2022 - Dirk Müller * Fix test_none_collisions on 32-bit systems * Clarify the license of the included pythoncapi_compat.h header * Use cibuildwheel to build wheels -- drop skip_32bit_tests.patch, test_none_collisions-32-bit.patch (upstream) +- drop skip_32bit_tests.patch, test_none_collisions-32-bit.patch (upstream) ------------------------------------------------------------------- Thu Aug 5 06:23:30 UTC 2021 - Matej Cepl @@ -69,7 +82,7 @@ Thu Aug 5 06:23:30 UTC 2021 - Matej Cepl Thu Apr 22 20:28:33 UTC 2021 - Dirk Müller - update to 0.15 - * python 3.9 support + * python 3.9 support ------------------------------------------------------------------- Mon Dec 7 15:34:37 UTC 2020 - Matej Cepl @@ -80,7 +93,7 @@ Mon Dec 7 15:34:37 UTC 2020 - Matej Cepl ------------------------------------------------------------------- Tue Oct 13 07:42:13 UTC 2020 - Dirk Mueller -- skip tests that fail on 32bit +- skip tests that fail on 32bit ------------------------------------------------------------------- Wed Sep 16 11:27:37 UTC 2020 - Dirk Mueller diff --git a/python-immutables.spec b/python-immutables.spec index 9e7d555..1228e3d 100644 --- a/python-immutables.spec +++ b/python-immutables.spec @@ -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 diff --git a/python312.patch b/python312.patch deleted file mode 100644 index ebded2a..0000000 --- a/python312.patch +++ /dev/null @@ -1,86 +0,0 @@ -From f7978225ea562e128b07cae936acd7926d9e64e7 Mon Sep 17 00:00:00 2001 -From: Elvis Pranskevichus -Date: Fri, 21 Jul 2023 15:30:33 -0700 -Subject: [PATCH] Python 3.12 compatibility (#105) -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Also, drop 3.6 and 3.7 as unsupported. - -Fixes: #104 -Closes: #97 -Closes: #100 -Closes: #103 - -Co-authored-by: Petr Vaněk -Co-authored-by: Anton Agestam ---- a/immutables/_map.c -+++ b/immutables/_map.c -@@ -529,10 +529,10 @@ _map_dump_format(_PyUnicodeWriter *writer, const char *format, ...) - int ret; - - va_list vargs; --#ifdef HAVE_STDARG_PROTOTYPES -- va_start(vargs, format); --#else -+#if PY_VERSION_HEX < 0x030C00A1 && !defined(HAVE_STDARG_PROTOTYPES) - va_start(vargs); -+#else -+ va_start(vargs, format); - #endif - msg = PyUnicode_FromFormatV(format, vargs); - va_end(vargs); -@@ -1247,7 +1247,7 @@ map_node_bitmap_dealloc(MapNode_Bitmap *self) - Py_ssize_t i; - - PyObject_GC_UnTrack(self); -- Py_TRASHCAN_SAFE_BEGIN(self) -+ Py_TRASHCAN_BEGIN(self, map_node_bitmap_dealloc) - - if (len > 0) { - i = len; -@@ -1257,7 +1257,7 @@ map_node_bitmap_dealloc(MapNode_Bitmap *self) - } - - Py_TYPE(self)->tp_free((PyObject *)self); -- Py_TRASHCAN_SAFE_END(self) -+ Py_TRASHCAN_END - } - - static int -@@ -1664,7 +1664,7 @@ map_node_collision_dealloc(MapNode_Collision *self) - Py_ssize_t len = Py_SIZE(self); - - PyObject_GC_UnTrack(self); -- Py_TRASHCAN_SAFE_BEGIN(self) -+ Py_TRASHCAN_BEGIN(self, map_node_collision_dealloc) - - if (len > 0) { - -@@ -1674,7 +1674,7 @@ map_node_collision_dealloc(MapNode_Collision *self) - } - - Py_TYPE(self)->tp_free((PyObject *)self); -- Py_TRASHCAN_SAFE_END(self) -+ Py_TRASHCAN_END - } - - static int -@@ -2083,14 +2083,14 @@ map_node_array_dealloc(MapNode_Array *self) - Py_ssize_t i; - - PyObject_GC_UnTrack(self); -- Py_TRASHCAN_SAFE_BEGIN(self) -+ Py_TRASHCAN_BEGIN(self, map_node_array_dealloc) - - for (i = 0; i < HAMT_ARRAY_NODE_SIZE; i++) { - Py_XDECREF(self->a_array[i]); - } - - Py_TYPE(self)->tp_free((PyObject *)self); -- Py_TRASHCAN_SAFE_END(self) -+ Py_TRASHCAN_END - } - - static int