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 2022-12-16 17:52:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-atom (Old) and /work/SRC/openSUSE:Factory/.python-atom.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-atom" Fri Dec 16 17:52:02 2022 rev:7 rq:1043284 version:0.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-atom/python-atom.changes 2021-12-07 00:02:06.951984335 +0100 +++ /work/SRC/openSUSE:Factory/.python-atom.new.1835/python-atom.changes 2022-12-16 17:52:08.612180084 +0100 @@ -1,0 +2,37 @@ +Thu Dec 15 23:21:26 UTC 2022 - Ben Greiner <[email protected]> + +- 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 + +------------------------------------------------------------------- Old: ---- 0.7.0.tar.gz New: ---- atom-0.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-atom.spec ++++++ --- /var/tmp/diff_new_pack.11e5UM/_old 2022-12-16 17:52:09.128182924 +0100 +++ /var/tmp/diff_new_pack.11e5UM/_new 2022-12-16 17:52:09.132182946 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-atom # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,20 +16,20 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 -%define skip_python36 1 Name: python-atom -Version: 0.7.0 +Version: 0.8.2 Release: 0 Summary: Memory efficient Python objects License: BSD-3-Clause URL: https://github.com/nucleic/atom -Source: https://github.com/nucleic/atom/archive/%{version}.tar.gz -BuildRequires: %{python_module cppy} -BuildRequires: %{python_module devel} +Source: https://files.pythonhosted.org/packages/source/a/atom/atom-%{version}.tar.gz +BuildRequires: %{python_module cppy >= 1.2.0} +BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module setuptools >= 61.2} +BuildRequires: %{python_module setuptools_scm >= 3.4.3} +BuildRequires: %{python_module wheel} BuildRequires: c++_compiler BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -47,18 +47,19 @@ %build export CFLAGS="%{optflags} -fno-strict-aliasing" -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_bin_suffix} -v +%pytest_arch %files %{python_files} %doc README.rst %license LICENSE -%{python_sitearch}/* +%{python_sitearch}/atom +%{python_sitearch}/atom-%{version}*-info %changelog
