From a362b9bf437d04d6701a710f7ff1189fb718b3f3c407c0d0a26b19a2e256d154 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 29 Dec 2023 09:36:21 +0000 Subject: [PATCH] - update to 0.21.1: * Allow to specify __match_args__. * Add @as_record adapter for def-style decalarations of dataclasses that are considered as just a struct. * The option fast_new will be removed in 0.22. It will be always as fast_new=True by creation. * Fix issues with `_PyUnicodeWriter` for python 3.13. * Add __match_args__ to support match protocol for dataobject-based subclasses. Make to compile, to build and to test successfully for python 3.11. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=7 --- python-recordclass.changes | 15 +++++++++++++-- python-recordclass.spec | 6 +++--- recordclass-0.18.0.1.tar.gz | 3 --- recordclass-0.21.1.tar.gz | 3 +++ 4 files changed, 19 insertions(+), 8 deletions(-) delete mode 100644 recordclass-0.18.0.1.tar.gz create mode 100644 recordclass-0.21.1.tar.gz diff --git a/python-recordclass.changes b/python-recordclass.changes index fd6b24a..30ba073 100644 --- a/python-recordclass.changes +++ b/python-recordclass.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Fri Dec 29 09:35:17 UTC 2023 - Dirk Müller + +- update to 0.21.1: + * Allow to specify __match_args__. + * Add @as_record adapter for def-style decalarations of + dataclasses that are considered as just a struct. + * The option fast_new will be removed in 0.22. It will be + always as fast_new=True by creation. + * Fix issues with `_PyUnicodeWriter` for python 3.13. + ------------------------------------------------------------------- Wed Nov 9 18:53:20 UTC 2022 - Yogalakshmi Arunachalam @@ -10,13 +21,13 @@ Wed Nov 9 18:53:20 UTC 2022 - Yogalakshmi Arunachalam * Fix issue for argument with default value in __new__, which havn't __repr__ that can be interpreted as valid python expression for creation of the default value. * Add support for typing.ClassVar. * Add Py_TPFLAGS_SEQUENCE and Py_TPFLAGS_MAPPING. - * Add __match_args__ to support match protocol for dataobject-based subclasses. + * Add __match_args__ to support match protocol for dataobject-based subclasses. ------------------------------------------------------------------- Fri Oct 7 03:49:55 UTC 2022 - Yogalakshmi Arunachalam - 0.17.5 - Make to compile, to build and to test successfully for python 3.11. + Make to compile, to build and to test successfully for python 3.11. ------------------------------------------------------------------- Sun Jul 31 21:55:59 UTC 2022 - Atri Bhattacharya diff --git a/python-recordclass.spec b/python-recordclass.spec index d5326d1..8fdf731 100644 --- a/python-recordclass.spec +++ b/python-recordclass.spec @@ -1,7 +1,7 @@ # # spec file for package python-recordclass # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,11 +18,11 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-recordclass -Version: 0.18.0.1 +Version: 0.21.1 Release: 0 Summary: Library implementing a mutable variant of namedtuple License: MIT -URL: https://bitbucket.org/intellimath/recordclass +URL: https://github.com/intellimath/recordclass Source: https://files.pythonhosted.org/packages/source/r/recordclass/recordclass-%{version}.tar.gz BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} diff --git a/recordclass-0.18.0.1.tar.gz b/recordclass-0.18.0.1.tar.gz deleted file mode 100644 index fd962af..0000000 --- a/recordclass-0.18.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f0767a6dc5b38118074ec5afd7596dd04a6cc992894f40eecdf4b587315ce465 -size 1274061 diff --git a/recordclass-0.21.1.tar.gz b/recordclass-0.21.1.tar.gz new file mode 100644 index 0000000..c26a769 --- /dev/null +++ b/recordclass-0.21.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fa2343dc24ef457f5f1c09e34fccada2d9074f582287f9fedb195bfbc1a9af92 +size 1321641