15
0

Compare commits

8 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
d5059e5452 Accepting request 1191762 from devel:languages:python
- update to 0.22.1:
  * Add `pyproject.toml`.
- update to 0.22.0.3:
  * Rename examples	est_*.py files since they are detected by
    pytest as a tests.
  * Fix segfault with litelist after 0.22.0.2.

OBS-URL: https://build.opensuse.org/request/show/1191762
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=6
2024-08-06 07:08:12 +00:00
8724895967 - update to 0.22.1:
* Add `pyproject.toml`.
- update to 0.22.0.3:
  * Rename examples	est_*.py files since they are detected by
    pytest as a tests.
  * Fix segfault with litelist after 0.22.0.2.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=11
2024-08-05 19:13:23 +00:00
cd2b183df3 Accepting request 1184899 from devel:languages:python
- update to 0.22.0.2:
  * Fix regression with `as_dataclass`.
- update to 0.22:
  * `Recordclass 0.22` started support of `python 3.13`.
  * Add a base class `datastruct` for subclasses that should
    behave more like simple datastructures.
  * Fix bug with `__match_args__` (#6).

OBS-URL: https://build.opensuse.org/request/show/1184899
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-recordclass?expand=0&rev=5
2024-07-02 16:19:45 +00:00
0658807472 - update to 0.22.0.2:
* Fix regression with `as_dataclass`.
- update to 0.22:
  * `Recordclass 0.22` started support of `python 3.13`.
  * Add a base class `datastruct` for subclasses that should
    behave more like simple datastructures.
  * Fix bug with `__match_args__` (#6).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=9
2024-07-02 15:13:39 +00:00
4 changed files with 52 additions and 11 deletions

View File

@@ -1,3 +1,41 @@
-------------------------------------------------------------------
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>
- update to 0.22.1:
* Add `pyproject.toml`.
- update to 0.22.0.3:
* Rename examples est_*.py files since they are detected by
pytest as a tests.
* Fix segfault with litelist after 0.22.0.2.
-------------------------------------------------------------------
Tue Jul 2 15:13:24 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.22.0.2:
* Fix regression with `as_dataclass`.
- update to 0.22:
* `Recordclass 0.22` started support of `python 3.13`.
* Add a base class `datastruct` for subclasses that should
behave more like simple datastructures.
* Fix bug with `__match_args__` (#6).
-------------------------------------------------------------------
Fri Dec 29 09:35:17 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-recordclass
#
# Copyright (c) 2023 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,16 +16,17 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-recordclass
Version: 0.21.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}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION Test requirements
@@ -39,14 +40,16 @@ 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}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
# do not ship development files
%python_expand rm -v %{buildroot}%{$python_sitearch}/recordclass/_*.[ch]
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -57,6 +60,6 @@ export CFLAGS="%{optflags}"
%doc README.md
%license LICENSE.txt
%{python_sitearch}/recordclass/
%{python_sitearch}/recordclass-%{version}-py%{python_version}.egg-info/
%{python_sitearch}/recordclass-%{version}.dist-info
%changelog

View File

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

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