Hello community,
here is the log from the commit of package python-twine for openSUSE:Leap:15.2
checked in at 2020-03-01 08:51:30
Comparing /work/SRC/openSUSE:Leap:15.2/python-twine (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-twine.new.26092 (New)
Package is "python-twine"
Sun Mar 1 08:51:30 2020 rev:12 rq:780567 version:1.15.0
Changes:
--- /work/SRC/openSUSE:Leap:15.2/python-twine/python-twine.changes
2020-02-26 13:31:15.986119805 +0100
+++ /work/SRC/openSUSE:Leap:15.2/.python-twine.new.26092/python-twine.changes
2020-03-01 08:51:56.953341919 +0100
@@ -1,0 +2,7 @@
+Tue Feb 25 11:22:38 UTC 2020 - Ondřej Súkup
+
+- update to 1.15.0
+- last with python2
+- Improved output on check command
+
+---
Old:
twine-1.14.0.tar.gz
New:
twine-1.15.0.tar.gz
Other differences:
--
++ python-twine.spec ++
--- /var/tmp/diff_new_pack.oNQspA/_old 2020-03-01 08:51:57.253342515 +0100
+++ /var/tmp/diff_new_pack.oNQspA/_new 2020-03-01 08:51:57.257342523 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-twine
#
-# Copyright (c) 2019 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-twine
-Version:1.14.0
+Version:1.15.0
Release:0
Summary:Collection of utilities for interacting with PyPI
License:Apache-2.0
++ twine-1.14.0.tar.gz -> twine-1.15.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/twine-1.14.0/PKG-INFO new/twine-1.15.0/PKG-INFO
--- old/twine-1.14.0/PKG-INFO 2019-09-07 23:30:47.0 +0200
+++ new/twine-1.15.0/PKG-INFO 2019-09-17 17:42:02.0 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: twine
-Version: 1.14.0
+Version: 1.15.0
Summary: Collection of utilities for publishing packages on PyPI
Home-page: https://twine.readthedocs.io/
Author: Donald Stufft and individual contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/twine-1.14.0/docs/changelog.rst
new/twine-1.15.0/docs/changelog.rst
--- old/twine-1.14.0/docs/changelog.rst 2019-09-07 23:21:42.0 +0200
+++ new/twine-1.15.0/docs/changelog.rst 2019-09-17 17:36:48.0 +0200
@@ -3,6 +3,11 @@
=
Changelog
=
+* :release:`1.15.0 <2019-09-17>`
+* :feature:`488` Improved output on ``check`` command:
+ Prints a message when there are no distributions given to check.
+ Improved handling of errors in a distribution's markup, avoiding
+ messages flowing through to the next distribution's errors.
* :release:`1.14.0 <2019-09-06>`
* :feature:`456` Better error handling and gpg2 fallback if gpg not available.
* :bug:`341` Fail more gracefully when encountering bad metadata
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/twine-1.14.0/tests/test_check.py
new/twine-1.15.0/tests/test_check.py
--- old/twine-1.14.0/tests/test_check.py2019-02-09 21:57:47.0
+0100
+++ new/twine-1.15.0/tests/test_check.py2019-09-17 17:36:48.0
+0200
@@ -18,31 +18,31 @@
from twine.commands import check
-def test_warningstream_write_match():
-stream = check._WarningStream()
-stream.output = pretend.stub(write=pretend.call_recorder(lambda a: None))
+class TestWarningStream:
-stream.write(":2: (WARNING/2) Title underline too short.")
+def setup(self):
+self.stream = check._WarningStream()
+self.stream.output = pretend.stub(
+write=pretend.call_recorder(lambda a: None),
+getvalue=lambda: "result",
+)
+
+def test_write_match(self):
+self.stream.write(":2: (WARNING/2) Title underline too short.")
+
+assert self.stream.output.write.calls == [
+pretend.call("line 2: Warning: Title underline too short.\n")
+]
+
+def test_write_nomatch(self):
+self.stream.write("this does not match")
+
+assert self.stream.output.write.calls == [
+pretend.call("this does not match")
+]
-assert stream.output.write.calls == [
-pretend.call("line 2: Warning: Title underline too short.\n")
-]
-
-
-def test_warningstream_write_nomatch():
-stream = check._WarningStream()
-stream.output = pretend.stub(write=pretend.call_recorder(lambda a: None))
-
-stream.write("this does not match")
-
-assert stream.output.write.calls ==