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 2021-03-08 15:19:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-logilab-common (Old)
and /work/SRC/openSUSE:Factory/.python-logilab-common.new.2378 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-logilab-common"
Mon Mar 8 15:19:11 2021 rev:8 rq:877590 version:1.8.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-logilab-common/python-logilab-common.changes
2020-12-28 00:28:27.789769537 +0100
+++
/work/SRC/openSUSE:Factory/.python-logilab-common.new.2378/python-logilab-common.changes
2021-03-08 15:20:56.290100414 +0100
@@ -1,0 +2,9 @@
+Mon Mar 8 08:40:44 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 1.8.1:
+ * feature: add tox helpers to make pipy and debian releases
+ * fix: use TypedDict if python version > 3.8 only, otherwise use a Dict
+ (TypedDict were imported from typing_extension 3.7.4, which is not
+ available on debian buste
+
+-------------------------------------------------------------------
Old:
----
logilab-common-1.8.0.tar.gz
New:
----
logilab-common-1.8.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-logilab-common.spec ++++++
--- /var/tmp/diff_new_pack.1Cf2WI/_old 2021-03-08 15:20:57.114101017 +0100
+++ /var/tmp/diff_new_pack.1Cf2WI/_new 2021-03-08 15:20:57.118101020 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-logilab-common
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 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.8.0
+Version: 1.8.1
Release: 0
Summary: Python lowlevel functionality shared by logilab projects
License: LGPL-2.1-or-later
++++++ logilab-common-1.8.0.tar.gz -> logilab-common-1.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/logilab-common-1.8.0/ChangeLog
new/logilab-common-1.8.1/ChangeLog
--- old/logilab-common-1.8.0/ChangeLog 2020-10-22 15:04:38.000000000 +0200
+++ new/logilab-common-1.8.1/ChangeLog 2021-01-05 11:42:34.000000000 +0100
@@ -1,6 +1,13 @@
ChangeLog for logilab.common
============================
+2021-01-05 -- 1.8.1
+
+ * feature: add tox helpers to make pipy and debian releases
+ * fix: use TypedDict if python version > 3.8 only, otherwise use a Dict
+ (TypedDict were imported from typing_extension 3.7.4, which is not
+ available on debian buster)
+
2020-11-22 -- 1.8.0
* deprecation: add subclass to DeprecationWarning with structured
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/logilab-common-1.8.0/PKG-INFO
new/logilab-common-1.8.1/PKG-INFO
--- old/logilab-common-1.8.0/PKG-INFO 2020-10-22 15:05:51.000000000 +0200
+++ new/logilab-common-1.8.1/PKG-INFO 2021-01-05 11:43:45.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: logilab-common
-Version: 1.8.0
+Version: 1.8.1
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.8.0/__pkginfo__.py
new/logilab-common-1.8.1/__pkginfo__.py
--- old/logilab-common-1.8.0/__pkginfo__.py 2020-10-22 15:04:24.000000000
+0200
+++ new/logilab-common-1.8.1/__pkginfo__.py 2021-01-05 11:42:34.000000000
+0100
@@ -28,7 +28,7 @@
subpackage_of = "logilab"
subpackage_master = True
-numversion = (1, 8, 0)
+numversion = (1, 8, 1)
version = ".".join([str(num) for num in numversion])
license = "LGPL" # 2.1 or later
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/logilab-common-1.8.0/logilab/common/registry.py
new/logilab-common-1.8.1/logilab/common/registry.py
--- old/logilab-common-1.8.0/logilab/common/registry.py 2020-09-03
17:07:32.000000000 +0200
+++ new/logilab-common-1.8.1/logilab/common/registry.py 2021-01-05
10:45:33.000000000 +0100
@@ -93,7 +93,12 @@
from warnings import warn
from typing import List, Tuple, Any, Iterable, Callable
from types import ModuleType
-from typing_extensions import TypedDict
+
+if sys.version_info >= (3, 8):
+ from typing import TypedDict
+
+ # TypedDict is also available in typing_extension > 3.7.4,
+ # but this package is not available on debian buster.
from logilab.common.modutils import modpath_from_file
from logilab.common.logging_ext import set_log_methods
@@ -478,19 +483,22 @@
super(RegistrableInstance, self).__init__()
-SelectBestReport = TypedDict(
- "SelectBestReport",
- {
- "all_objects": List,
- "end_score": int,
- "winners": List,
- "winner": Optional[Any],
- "self": "Registry",
- "args": List,
- "kwargs": Dict,
- "registry": "Registry",
- },
-)
+if sys.version_info >= (3, 8):
+ SelectBestReport = TypedDict(
+ "SelectBestReport",
+ {
+ "all_objects": List,
+ "end_score": int,
+ "winners": List,
+ "winner": Optional[Any],
+ "self": "Registry",
+ "args": List,
+ "kwargs": Dict,
+ "registry": "Registry",
+ },
+ )
+else:
+ SelectBestReport = Dict[str, Union[List, int, Optional[Any], "Registry",
Dict]]
class Registry(dict):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/logilab-common-1.8.0/logilab_common.egg-info/PKG-INFO
new/logilab-common-1.8.1/logilab_common.egg-info/PKG-INFO
--- old/logilab-common-1.8.0/logilab_common.egg-info/PKG-INFO 2020-10-22
15:05:51.000000000 +0200
+++ new/logilab-common-1.8.1/logilab_common.egg-info/PKG-INFO 2021-01-05
11:43:45.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: logilab-common
-Version: 1.8.0
+Version: 1.8.1
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.8.0/logilab_common.egg-info/requires.txt
new/logilab-common-1.8.1/logilab_common.egg-info/requires.txt
--- old/logilab-common-1.8.0/logilab_common.egg-info/requires.txt
2020-10-22 15:05:51.000000000 +0200
+++ new/logilab-common-1.8.1/logilab_common.egg-info/requires.txt
2021-01-05 11:43:45.000000000 +0100
@@ -1,3 +1,3 @@
-mypy-extensions
setuptools
+mypy-extensions
typing_extensions
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/logilab-common-1.8.0/tox.ini
new/logilab-common-1.8.1/tox.ini
--- old/logilab-common-1.8.0/tox.ini 2020-10-01 09:43:44.000000000 +0200
+++ new/logilab-common-1.8.1/tox.ini 2021-01-05 10:09:57.000000000 +0100
@@ -5,7 +5,7 @@
deps =
pytz
pytest == 5.4.1
- git+https://github.com/Psycojoker/pytest-capture-deprecatedwarnings
+ git+https://github.com/psycojoker/pytest-capture-deprecatedwarnings
commands=
{envpython} -m pytest test {posargs}
@@ -54,3 +54,43 @@
ignore = W503, E203, E731, E231
max-line-length = 100
exclude = docs/*,.tox/*,./test/data/*
+
+[testenv:pypi-publish]
+basepython = python3
+skip_install = true
+whitelist_externals = rm
+deps =
+ twine
+passenv =
+ TWINE_USERNAME
+ TWINE_PASSWORD
+commands =
+ rm -rf build dist .egg .egg-info
+ python3 setup.py sdist bdist_wheel
+ twine check dist/*
+ twine upload --skip-existing dist/*
+
+[testenv:deb-publish]
+passenv = JENKINS_USER JENKINS_TOKEN
+basepython = python3
+skip_install = true
+whitelist_externals =
+ rm
+ sh
+ hg
+ python3
+deps =
+ httpie
+commands =
+ hg clean --all --dirs --files
+ rm -rf build dist .egg .egg-info
+ python3 setup.py sdist
+ sh -c "PACKAGE_NAME=$(python3 setup.py --name) && VERSION=$(python3 setup.py
--version) && \
+ cd dist && \
+ tar xf $PACKAGE_NAME-$VERSION.tar.gz && \
+ cd $PACKAGE_NAME-$VERSION && \
+ cp -a {toxinidir}/debian . && \
+ mk-origtargz --rename ../$PACKAGE_NAME-$VERSION.tar.gz && \
+ dpkg-buildpackage -us -uc --no-check-builddeps --build=source "
+ sh -c "cd dist && dcmd zip latest.zip *.changes"
+ http -f POST
https://{env:JENKINS_USER}:{env:JENKINS_TOKEN}@jenkins.intra.logilab.fr/job/pkg-from-dsc/buildWithParameters
DIST=buster source.zip@dist/latest.zip REPO=buster PUBLISH=true