Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-logilab-common for openSUSE:Factory checked in at 2023-01-07 17:19:37 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-logilab-common (Old) and /work/SRC/openSUSE:Factory/.python-logilab-common.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-logilab-common" Sat Jan 7 17:19:37 2023 rev:11 rq:1056715 version:1.9.8 Changes: -------- --- /work/SRC/openSUSE:Factory/python-logilab-common/python-logilab-common.changes 2022-09-30 17:58:09.081294388 +0200 +++ /work/SRC/openSUSE:Factory/.python-logilab-common.new.1563/python-logilab-common.changes 2023-01-07 17:22:57.919319628 +0100 @@ -1,0 +2,6 @@ +Fri Jan 6 21:58:59 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.9.8: + * No upstream changelog available + +------------------------------------------------------------------- Old: ---- logilab-common-1.9.7.tar.gz New: ---- logilab-common-1.9.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-logilab-common.spec ++++++ --- /var/tmp/diff_new_pack.tReTsC/_old 2023-01-07 17:22:59.027326238 +0100 +++ /var/tmp/diff_new_pack.tReTsC/_new 2023-01-07 17:22:59.031326262 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-logilab-common # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-logilab-common -Version: 1.9.7 +Version: 1.9.8 Release: 0 Summary: Python lowlevel functionality shared by logilab projects License: LGPL-2.1-or-later Group: Development/Languages/Python -URL: https://www.logilab.org/project/logilab-common +URL: https://logilab-common.readthedocs.io/ Source: https://files.pythonhosted.org/packages/source/l/logilab-common/logilab-common-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros ++++++ logilab-common-1.9.7.tar.gz -> logilab-common-1.9.8.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/PKG-INFO new/logilab-common-1.9.8/PKG-INFO --- old/logilab-common-1.9.7/PKG-INFO 2022-06-07 16:22:58.951329500 +0200 +++ new/logilab-common-1.9.8/PKG-INFO 2023-01-04 23:32:54.126615500 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: logilab-common -Version: 1.9.7 +Version: 1.9.8 Summary: collection of low-level Python packages and modules used by Logilab projects Home-page: http://www.logilab.org/project/logilab-common Author: Logilab diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/__pkginfo__.py new/logilab-common-1.9.8/__pkginfo__.py --- old/logilab-common-1.9.7/__pkginfo__.py 2022-06-07 16:22:37.000000000 +0200 +++ new/logilab-common-1.9.8/__pkginfo__.py 2023-01-04 23:32:31.000000000 +0100 @@ -21,7 +21,6 @@ __docformat__ = "restructuredtext en" import os -import sys from os.path import join distname = "logilab-common" @@ -29,7 +28,7 @@ subpackage_of = "logilab" subpackage_master = True -numversion = (1, 9, 7) +numversion = (1, 9, 8) version = ".".join([str(num) for num in numversion]) license = "LGPL" # 2.1 or later @@ -47,6 +46,7 @@ "setuptools": None, "mypy-extensions": None, "typing_extensions": None, + "importlib_metadata": ">=6,<7", } tests_require = [ "pytz", @@ -56,9 +56,6 @@ if os.name == "nt": __depends__["colorama"] = None -if sys.version_info < (3, 8): - __depends__["importlib_metadata"] = None - classifiers = [ "Topic :: Utilities", "Programming Language :: Python", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab/common/deprecation.py new/logilab-common-1.9.8/logilab/common/deprecation.py --- old/logilab-common-1.9.7/logilab/common/deprecation.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/logilab/common/deprecation.py 2023-01-04 23:32:31.000000000 +0100 @@ -34,6 +34,16 @@ import importlib_metadata +class FakeDistribution(importlib_metadata.Distribution): + "see https://github.com/python/importlib_metadata/blob/main/CHANGES.rst#v600" + + def locate_file(self): + pass + + def read_text(self): + pass + + def _unstack_all_deprecation_decorators(function): """ This is another super edge magic case which is needed because we uses @@ -172,7 +182,7 @@ # mypy fails to understand the result of .discover(): Cannot # instantiate abstract class 'Distribution' with abstract attributes # 'locate_file' and 'read_text' - for distribution in importlib_metadata.Distribution().discover(): # type: ignore + for distribution in FakeDistribution().discover(): # type: ignore # sometime distribution has a "name" attribute, sometime not if distribution.files and hasattr(distribution, "name"): for file in distribution.files: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab/common/table.py new/logilab-common-1.9.8/logilab/common/table.py --- old/logilab-common-1.9.7/logilab/common/table.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/logilab/common/table.py 2023-01-04 23:32:31.000000000 +0100 @@ -516,7 +516,6 @@ """Defines a table's style""" def __init__(self, table: Table) -> None: - self._table = table self.size = dict([(col_name, "1*") for col_name in table.col_names]) # __row_column__ is a special key to define the first column which diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab/common/testlib.py new/logilab-common-1.9.8/logilab/common/testlib.py --- old/logilab-common-1.9.7/logilab/common/testlib.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/logilab/common/testlib.py 2023-01-04 23:32:31.000000000 +0100 @@ -114,7 +114,6 @@ @wraps(callable) def proxy(*args: Any, **kargs: Any) -> Any: - old_tmpdir = tempfile.gettempdir() new_tmpdir = tempfile.mkdtemp(prefix="temp-lgc-") tempfile.tempdir = new_tmpdir @@ -134,7 +133,6 @@ @wraps(callable) def proxy(*args, **kargs): - old_cwd = os.getcwd() os.chdir(tempfile.tempdir) try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab/common/ureports/__init__.py new/logilab-common-1.9.8/logilab/common/ureports/__init__.py --- old/logilab-common-1.9.7/logilab/common/ureports/__init__.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/logilab/common/ureports/__init__.py 2023-01-04 23:32:31.000000000 +0100 @@ -163,6 +163,7 @@ return an iterator on strings (one for each child element) """ + # use cells ! def write(data: str) -> None: try: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab/common/ureports/nodes.py new/logilab-common-1.9.8/logilab/common/ureports/nodes.py --- old/logilab-common-1.9.7/logilab/common/ureports/nodes.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/logilab/common/ureports/nodes.py 2023-01-04 23:32:31.000000000 +0100 @@ -63,7 +63,6 @@ ] = (), **kwargs: Any, ) -> None: - super(BaseLayout, self).__init__(**kwargs) for child in children: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab_common.egg-info/PKG-INFO new/logilab-common-1.9.8/logilab_common.egg-info/PKG-INFO --- old/logilab-common-1.9.7/logilab_common.egg-info/PKG-INFO 2022-06-07 16:22:57.000000000 +0200 +++ new/logilab-common-1.9.8/logilab_common.egg-info/PKG-INFO 2023-01-04 23:32:53.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: logilab-common -Version: 1.9.7 +Version: 1.9.8 Summary: collection of low-level Python packages and modules used by Logilab projects Home-page: http://www.logilab.org/project/logilab-common Author: Logilab diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/logilab_common.egg-info/requires.txt new/logilab-common-1.9.8/logilab_common.egg-info/requires.txt --- old/logilab-common-1.9.7/logilab_common.egg-info/requires.txt 2022-06-07 16:22:58.000000000 +0200 +++ new/logilab-common-1.9.8/logilab_common.egg-info/requires.txt 2023-01-04 23:32:53.000000000 +0100 @@ -1,3 +1,4 @@ setuptools mypy-extensions typing_extensions +importlib_metadata<7,>=6 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/logilab-common-1.9.7/test/test_deprecation.py new/logilab-common-1.9.8/test/test_deprecation.py --- old/logilab-common-1.9.7/test/test_deprecation.py 2022-06-07 16:22:38.000000000 +0200 +++ new/logilab-common-1.9.8/test/test_deprecation.py 2023-01-04 23:32:31.000000000 +0100 @@ -31,7 +31,6 @@ class RawInputTC(TestCase): - # XXX with 2.6 we could test warnings # http://docs.python.org/library/warnings.html#testing-warnings # instead we just make sure it does not crash