1
0

4 Commits

Author SHA256 Message Date
2ee6b414fa Accepting request 1325515 from devel:languages:python
- Update to 0.24:
  * Fix __annotations__ for python 3.14
  * Start support of python 3.14
  * Fix the bug with PyTuple_GET_SIZE (#13)
  * Drop appveyor
  * recordclass requires python >= 3.8
- Drop patch do-not-use-pytuple-get-size.patch, merged upstream.

OBS-URL: https://build.opensuse.org/request/show/1325515
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=8
2026-01-06 16:45:43 +00:00
6656a9903b - Update to 0.24:
* Fix __annotations__ for python 3.14
  * Start support of python 3.14
  * Fix the bug with PyTuple_GET_SIZE (#13)
  * Drop appveyor
  * recordclass requires python >= 3.8
- Drop patch do-not-use-pytuple-get-size.patch, merged upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=15
2026-01-06 03:05:44 +00:00
15f49d3fd6 Accepting request 1266983 from devel:languages:python
- Add patch do-not-use-pytuple-get-size.patch:
  * Use Py_SIZE rather than PyTuple_GET_SIZE to avoid assertion failures.

OBS-URL: https://build.opensuse.org/request/show/1266983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=7
2025-04-04 15:30:53 +00:00
359670de8b - Add patch do-not-use-pytuple-get-size.patch:
* Use Py_SIZE rather than PyTuple_GET_SIZE to avoid assertion failures.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=13
2025-04-04 00:58:10 +00:00
4 changed files with 26 additions and 8 deletions

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Tue Jan 6 03:05:29 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.24:
* Fix __annotations__ for python 3.14
* Start support of python 3.14
* Fix the bug with PyTuple_GET_SIZE (#13)
* Drop appveyor
* recordclass requires python >= 3.8
- Drop patch do-not-use-pytuple-get-size.patch, merged upstream.
-------------------------------------------------------------------
Fri Apr 4 00:56:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch do-not-use-pytuple-get-size.patch:
* Use Py_SIZE rather than PyTuple_GET_SIZE to avoid assertion failures.
-------------------------------------------------------------------
Mon Aug 5 19:05:39 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-recordclass
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,15 +16,14 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-recordclass
Version: 0.22.1
Version: 0.24
Release: 0
Summary: Library implementing a mutable variant of namedtuple
License: MIT
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 devel >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -41,7 +40,7 @@ Mutable variant of namedtuple -- recordclass, which support assignments, and
other memory saving variants.
%prep
%setup -q -n recordclass-%{version}
%autosetup -p1 -n recordclass-%{version}
%build
export CFLAGS="%{optflags}"
@@ -49,6 +48,8 @@ export CFLAGS="%{optflags}"
%install
%pyproject_install
# do not ship development files
%python_expand rm -v %{buildroot}%{$python_sitearch}/recordclass/_*.[ch]
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check

View File

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

3
recordclass-0.24.tar.gz Normal file
View File

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