Accepting request 858758 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/858758
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-logilab-common?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2020-12-27 23:28:26 +00:00 committed by Git OBS Bridge
commit 376537b13e
4 changed files with 55 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ed1c60f32c3fa03dc2efaa730e606db1209d14b4769561ff0365aa584a29360a
size 185150

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b1d141fc50fb856bcc7698b69854ad56daf214e984bc5e12141c29b61cb166e
size 198801

View File

@ -1,3 +1,52 @@
-------------------------------------------------------------------
Sat Dec 19 13:21:12 UTC 2020 - Dirk Müller <dmueller@suse.com>
- updadate to 1.8.0:
* deprecation: add types annotations
* declare that logilab.common ships type annotations (py.typed file)
* various bug fixes
* type: declare that logilab-common ship type annotations
* make the build reproducible
* fix(deprecation): stacked decorators breaks getting the real callable
__name__ attribute
* fix: in some situation (using several deprecation functions), renaming
deprecation utils failed to point to the correct new name and used random
internal names of the module
* fix(deprecation): rollback to old class_deprecation being a class behavior
* logilab-common requires python 3.6 now
* greatly improve our CI and migrate it to heptapod/gitlab-ci
* black the whole code base
* move test suit to pytest
* use check-manifest and fix related bugs in MANIFEST.in
* integrates flake8 and please the flake8 gods
* various fixes
* class_deprecation is not a class anymore
* pytest 5.4.2 breaks tests, pin to 5.4.1 for now
* fix: rollback to old class_deprecation being a class behavior
* fix: @functools.wraps broke callable_renamed, write a @lazy_wraps and
use it everywhere in logilab.common.deprecation
* add docstring to LazyObject
* fix: metaclass conflict in class_deprecated
* fix: explicitly requires python 3.6 in setup.py
* bug fix, bad usage of callable_renamed
* logilab-common requires python >= 3.6 now
* use pyannotates to introduces types in all the modules
* introduce a list of new functions in logilab.common.deprecation: callable_renamed, attribute_renamed, argument_renamed, argument_remove
* renamed "renamed" to "callable_renamed", "deprecated" to
"callable_deprecated", "moved" to "callable_moved" for coherence
* refactor the whole logilab.common.deprecation to simplify its code
* automatically detect from which modules a deprecated utils is called
* correctly display the line where a deprecated utils is used
* various small fixes, thx mypy
* documentation is now available at https://logilab-common.readthedocs.io/
* drop python2 support, python >= 3.3 is the new required version
* therefor, drop dependency on six
* drop rpm packaging
* registry: add a Registry.add_select_best_listener method to subscribe to
the result of a _select_best of a Registry.
* shellutils: deprecate 'input' as argument of RawInput in favor of
'input_function'
-------------------------------------------------------------------
Tue Dec 4 12:50:08 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-logilab-common
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-logilab-common
Version: 1.4.1
Version: 1.8.0
Release: 0
Summary: Python lowlevel functionality shared by logilab projects
License: LGPL-2.1-or-later
@ -53,7 +53,7 @@ rm -f %{buildroot}%{_bindir}/logilab-pytest
%files %{python_files}
%license COPYING COPYING.LESSER
%doc ChangeLog README
%doc ChangeLog README.rst
%{python_sitelib}/*
%changelog