Commit Graph

  • 08af84f5f6 Accepting request 1314474 from devel:languages:python factory Ana Guerrero 2025-10-30 16:10:02 +00:00
  • b9baf1013b - Update to 0.12.1: * remove version_info attribute from version.py * add support for Python 3.14 PR #219 * support for Final in member annotations, which sets the member setattr mode as read-only PR #249 * support for NewType instances in all places in which a type is accepted PR #218 Steve Kowalik 2025-10-30 01:36:26 +00:00
  • 2d5a2fd411 Accepting request 1218909 from devel:languages:python Ana Guerrero 2024-10-29 13:35:53 +00:00
  • 69addeed9f - Update to 0.11.0: * Fix ruff config by @MatthieuDartiailh in #209 * Add FixedTuple member enforcing a given number of items by @MatthieuDartiailh in #211 * Fix memory leak in pickle creation by @MatthieuDartiailh in #213 * 3.13 support by @MatthieuDartiailh in #214 Steve Kowalik 2024-10-29 05:21:40 +00:00
  • c09dbc1ce3 Accepting request 1197801 from devel:languages:python Dominique Leuenberger 2024-09-01 17:21:29 +00:00
  • 2d40315275 - Update to 0.10.5: * fix ruff config * Merge pull request #209 from nucleic/ruff-fixes * ci: do not build oldest python on macos * Fix memory leak in pickle creation (#213) Markéta Machová 2024-08-30 10:48:53 +00:00
  • 90b3cdd9f7 Accepting request 1142763 from devel:languages:python Ana Guerrero 2024-01-30 17:26:41 +00:00
  • b317e90189 - update to 0.10.4: * allow unions in TypeVar bound PR #207 Dirk Mueller 2024-01-30 12:02:23 +00:00
  • 49b8001a8c Accepting request 1115791 from devel:languages:python Ana Guerrero 2023-10-05 18:04:59 +00:00
  • 49d548c3d9 - update to 0.10.3: * fix a an issue when using add_member to override an existing membe * fix a memory leak caused by Dict, Defaultdict and Set members * add support for Python 3.12 PR #200 was called * clarify Unicode deprecation warning PR #102 Dirk Mueller 2023-10-05 09:46:59 +00:00
  • 3ddd5ed8cb Accepting request 1090194 from devel:languages:python Dominique Leuenberger 2023-06-01 15:19:51 +00:00
  • ab89393971 - add sle15_python_module_pythons as it requires python >= 3.8 Dirk Mueller 2023-06-01 07:57:23 +00:00
  • c0aa4c748a Accepting request 1085794 from devel:languages:python Dominique Leuenberger 2023-05-10 14:18:08 +00:00
  • 61d13ba3a5 - update to 0.10.0: * AtomMeta: create the class only once all members have been customized This allows to use `__init_subclass__ since previously the __atom_members__ was not set when __init_subclass__ was called * illustrate the use of __init_subclass__ to customize pickling * refactor the metaclass to make it easier to reason about * add a DefaultDict member which enforce the value to be a dictionary and use a factory for missing keys. The factory is set at the member level and a normal dict can be provided as value. When possible the factory is deduced from the member used for validation. * infer the use of DefaultDict from a collections.defaultdict` annotation Dirk Mueller 2023-05-09 19:29:52 +00:00
  • 2c52baf1ae Accepting request 1079774 from devel:languages:python Dominique Leuenberger 2023-04-16 17:39:03 +00:00
  • c08513b356 - update to 0.9.1: * fix generation of Value member from union containing object/Any PR #198 * fix setdefault method of atomdict to return the actually stored item PR #197 Dirk Mueller 2023-04-16 16:47:48 +00:00
  • bbab230009 Accepting request 1068464 from devel:languages:python Dominique Leuenberger 2023-03-01 15:14:56 +00:00
  • 182c869975 - update to 0.9.0: * fix the generation of Subclass from type annotations PR #193 * move getstate and setstate implementation to C and allow to customize the condition under which a member value is pickled. PR #182 * Customization is used to only pickle member value whose state can be restored (for example Constant is not pickled). Whether a member is pickled can be customized using a method prefixed with `_getstate_ on an Atom subclass. * use the Typed member when a type annotation resolve to a single type whose metaclass does not implement a custom __instancecheck__ PR #185 * generate Tuple member for tuple[] annotations. The content of the tuple is typed check only if it is a 1-tuple or variable-length tuple. PR #184 * fix the resolution order of members in the presence of multiple inheritance with a common base class PR * Due to the above changes, adding a member after the class definition requires more work than before. As a consequence a new helper function add_member` has been added. Dirk Mueller 2023-03-01 13:57:06 +00:00
  • 183055e953 Accepting request 1043284 from devel:languages:python Dominique Leuenberger 2022-12-16 16:52:02 +00:00
  • fa8da4313d Accepting request 1043240 from home:bnavigator:branches:devel:languages:python Dirk Mueller 2022-12-16 08:23:21 +00:00
  • 77c4409c05 Accepting request 936085 from devel:languages:python Dominique Leuenberger 2021-12-06 23:00:21 +00:00
  • aadb3ec20a Accepting request 936060 from home:glaubitz:branches:devel:languages:python Dirk Mueller 2021-12-06 17:28:07 +00:00
  • 1dcb669728 Accepting request 860365 from devel:languages:python Dominique Leuenberger 2021-01-05 17:14:58 +00:00
  • 89a379a3c2 - Update to 0.6.0: * Add support for Python 3.9 and remove deprecated members. Steve Kowalik 2021-01-05 05:45:02 +00:00
  • 37f4f2954e Accepting request 829857 from devel:languages:python Dominique Leuenberger 2020-08-29 18:38:29 +00:00
  • e5df3a8598 - Update to 0.5.2: * make comparison used in C safe (fix bug introduced in 0.5.0) PR #107 * fix bug in using atomlist from C PR #102 * clarify Unicode deprecation warning PR #102 Steve Kowalik 2020-08-27 05:06:19 +00:00
  • 05a0d438d6 Accepting request 800854 from devel:languages:python Dominique Leuenberger 2020-05-07 12:55:52 +00:00
  • a34c0eb36d - Update to 0.5.0: * drop Python 2 support PR #83 * use cppy to write the c++ extension PR #83 * add c++ implememtation of AtomDict PR #93 * add a Set member PR #93 Steve Kowalik 2020-05-07 02:49:55 +00:00
  • bd59d367dd Accepting request 682152 from devel:languages:python Dominique Leuenberger 2019-03-07 09:50:31 +00:00
  • 3666cb8dc0 - Update to 0.4.3: * Remove dependency on future which was slowing down import time - Switch to github tarball for tests and license Tomáš Chvátal 2019-03-06 13:09:45 +00:00
  • 31b1211e77 Accepting request 607645 from devel:languages:python Dominique Leuenberger 2018-05-16 09:42:26 +00:00
  • 4ff64c26cc OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atom?expand=0&rev=1 Todd R 2018-05-15 15:49:08 +00:00