15
0
forked from pool/python-atom

Accepting request 1043240 from home:bnavigator:branches:devel:languages:python

- Update to 0.8.2
  * fix handling of Union in annotation based class definition PR
    #177
- Release 0.8.1
  * add support for Python 3.11 PR #166
- Release 0.8.0
  * This release introduced a new way to declare atom object based
    on type annotations.
  * emit warnings when a magic method points to an undefined member
    PR #139 #149
  * use isort, black and flake8 to ensure a consistent coding style
    PR #141
  * base the version number on the most recent git tag using
    setuptools-scm PR #141
  * make the setup compatible with PEP 517 and PEP 621 compliant PR
    #141 #162 Pip should be used for development install in place
    of directly calling setup.py
  + fix handling of _SpecialGenericAlias (typing.Sequence, ...)
    when used inside an Instance member PR #151
  * add a ChangeDict TypedDict to help annotate observers PR #133
  * add several keyword argument to the AtomMeta metaclass PR #133
    - enable_weakrefs: allow to have weak references to an Atom
      object without having to add the slot by hand. False by
      default.
    - use_annotations: generate members from type annotations.
      Str-like annotations are not supported but allowed when an
      actual member is provided as default value. True by default.
    - type_containers: in conjunction with use_annotations
      determine to what depth to type the content of a container.
      The default is 1 meaning that list[int] will use List(Int())
      but list[list[int]] will use List(List()).
  * allow specifying which change events are emitted when adding
    static observers PR #155

OBS-URL: https://build.opensuse.org/request/show/1043240
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atom?expand=0&rev=12
This commit is contained in:
2022-12-16 08:23:21 +00:00
committed by Git OBS Bridge
parent aadb3ec20a
commit fa8da4313d
4 changed files with 54 additions and 16 deletions

View File

@@ -1,3 +1,40 @@
-------------------------------------------------------------------
Thu Dec 15 23:21:26 UTC 2022 - Ben Greiner <code@bnavigator.de>
- Update to 0.8.2
* fix handling of Union in annotation based class definition PR
#177
- Release 0.8.1
* add support for Python 3.11 PR #166
- Release 0.8.0
* This release introduced a new way to declare atom object based
on type annotations.
* emit warnings when a magic method points to an undefined member
PR #139 #149
* use isort, black and flake8 to ensure a consistent coding style
PR #141
* base the version number on the most recent git tag using
setuptools-scm PR #141
* make the setup compatible with PEP 517 and PEP 621 compliant PR
#141 #162 Pip should be used for development install in place
of directly calling setup.py
+ fix handling of _SpecialGenericAlias (typing.Sequence, ...)
when used inside an Instance member PR #151
* add a ChangeDict TypedDict to help annotate observers PR #133
* add several keyword argument to the AtomMeta metaclass PR #133
- enable_weakrefs: allow to have weak references to an Atom
object without having to add the slot by hand. False by
default.
- use_annotations: generate members from type annotations.
Str-like annotations are not supported but allowed when an
actual member is provided as default value. True by default.
- type_containers: in conjunction with use_annotations
determine to what depth to type the content of a container.
The default is 1 meaning that list[int] will use List(Int())
but list[list[int]] will use List(List()).
* allow specifying which change events are emitted when adding
static observers PR #155
-------------------------------------------------------------------
Mon Dec 6 15:03:50 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>