Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-atom for openSUSE:Factory checked in at 2021-12-07 00:00:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-atom (Old) and /work/SRC/openSUSE:Factory/.python-atom.new.31177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-atom" Tue Dec 7 00:00:21 2021 rev:6 rq:936085 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-atom/python-atom.changes 2021-01-05 18:15:02.863434504 +0100 +++ /work/SRC/openSUSE:Factory/.python-atom.new.31177/python-atom.changes 2021-12-07 00:02:06.951984335 +0100 @@ -1,0 +2,38 @@ +Mon Dec 6 15:03:50 UTC 2021 - John Paul Adrian Glaubitz <[email protected]> + +- Update to 0.7.0: + * allow to use any subscribed type in Typed and Instance. Optional and Union are + analyzed to extract the tuple of types to validate. The presence of NoneType in + the tuple will make the member optional. For container types (list, dict, set, etc) + the content types is not used beyond static type validation. PR #136 #140 + Note however that this usage of Optional and Union breaks static analyzer currently, + while things deriving from an actual type will work as expected (List[int], list[int], + Iterable[int]) + * make the factory argument of Typed, Instance and their forwarded version + keyword only. PR #123 + * add a keyword-only argument to Typed, Instance and their forwarded + version: ``optional``. When set to False, this will cause those members to + reject None as a valid value. The default value, None, will resolve to True + if there is no provided way to build a default value. PR #123 # 131 + This is backward incompatible since previously None was always a valid value. + * the Instance and Typed variants of the Validate enum have been renamed to + OptionalInstance, OptionalTyped and new Instance and Typed variant describing + the validation behavior for the member with optional=False have been added. PR #123 + * consistently use Instance to wrap types passed to containers. PR #123 + For containers, Instance members used for validation are created with + optional=False by default. This is backward incompatible since None was always + a valid value previously. + * add strict argument to FloatRange. PR #124 + * allow to specify the type of ReadOnly and Constant. PR #128 + The validation is done using the Instance validator. The change for ReadOnly + is backward incompatible since the type or tuple of type is the first argument + in place of the default value. Specifying the default value by keyword is both + forward and backward compatible. + * use python stdlib IntEnum instead of the custom one in atom PR #122 + * remove the custom atom.IntEnum PR #122 + * add and distribute type hints PR #122 #132 + This allows static type checkers to resolve the values behind a member. + * drop official support for Python 3.6 and add support for Python 3.10 +- Stop building on Python 3.6 which is no longer supported + +------------------------------------------------------------------- Old: ---- 0.6.0.tar.gz New: ---- 0.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atom.spec ++++++ --- /var/tmp/diff_new_pack.SJgZGv/_old 2021-12-07 00:02:07.531982284 +0100 +++ /var/tmp/diff_new_pack.SJgZGv/_new 2021-12-07 00:02:07.535982269 +0100 @@ -18,8 +18,9 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 +%define skip_python36 1 Name: python-atom -Version: 0.6.0 +Version: 0.7.0 Release: 0 Summary: Memory efficient Python objects License: BSD-3-Clause ++++++ 0.6.0.tar.gz -> 0.7.0.tar.gz ++++++ ++++ 7914 lines of diff (skipped)
