14
0

Accepting request 1135612 from devel:languages:python

- 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/request/show/1135612
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=4
This commit is contained in:
2024-01-03 11:24:01 +00:00
committed by Git OBS Bridge
4 changed files with 19 additions and 8 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Dec 29 09:35:17 UTC 2023 - Dirk Müller <dmueller@suse.com>
- 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 <yarunachalam@suse.com>
@@ -10,13 +21,13 @@ Wed Nov 9 18:53:20 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
* 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 <yarunachalam@suse.com>
- 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 <badshah400@gmail.com>

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0767a6dc5b38118074ec5afd7596dd04a6cc992894f40eecdf4b587315ce465
size 1274061

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fa2343dc24ef457f5f1c09e34fccada2d9074f582287f9fedb195bfbc1a9af92
size 1321641