14
0
Commit Graph

7 Commits

Author SHA256 Message Date
b6359a4f38 - 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
1c54aa5f7b - 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
baf7e92993 - 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
a362b9bf43 - 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
2023-12-29 09:36:21 +00:00
1fe6883176 Accepting request 1034921 from home:yarunachalam:branches:devel:languages:python
- Update to 0.18.0.1
  * Exclude test_dataobject_match.py (for testing match statement) for python < 3.10.
- Update to 0.18
  * Python 3.11 support.
  * Adapt data object to take benefit from bytecode specialization in 3.11.
  * 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.

OBS-URL: https://build.opensuse.org/request/show/1034921
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=5
2022-11-11 13:07:11 +00:00
5ff5af9a31 Accepting request 1008645 from home:yarunachalam:branches:devel:languages:python
- 0.17.5
  Make to compile, to build and to test successfully for python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1008645
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=3
2022-10-07 07:52:26 +00:00
2310fa9510 Accepting request 991912 from home:badshah400:branches:science
New package needed for updates to python-Mathics

OBS-URL: https://build.opensuse.org/request/show/991912
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-recordclass?expand=0&rev=1
2022-08-01 08:38:43 +00:00