Hello community, here is the log from the commit of package python3-twine for openSUSE:Factory checked in at 2015-11-05 11:35:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python3-twine (Old) and /work/SRC/openSUSE:Factory/.python3-twine.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python3-twine" Changes: -------- --- /work/SRC/openSUSE:Factory/python3-twine/python3-twine.changes 2015-10-14 16:44:16.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python3-twine.new/python3-twine.changes 2015-11-05 11:35:42.000000000 +0100 @@ -1,0 +2,9 @@ +Thu Oct 29 15:19:50 UTC 2015 - [email protected] + +- update to version 1.6.4: + * :bug:`145` Paths with hyphens in them break the Wheel regular + expression. + * :bug:`146` Exception while accessing the respository key when + raising a redirect exception. + +------------------------------------------------------------------- Old: ---- twine-1.6.3.tar.gz New: ---- twine-1.6.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python3-twine.spec ++++++ --- /var/tmp/diff_new_pack.T5UmQU/_old 2015-11-05 11:35:43.000000000 +0100 +++ /var/tmp/diff_new_pack.T5UmQU/_new 2015-11-05 11:35:43.000000000 +0100 @@ -17,7 +17,7 @@ Name: python3-twine -Version: 1.6.3 +Version: 1.6.4 Release: 0 Summary: Collection of utilities for interacting with PyPI License: Apache-2.0 ++++++ twine-1.6.3.tar.gz -> twine-1.6.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/PKG-INFO new/twine-1.6.4/PKG-INFO --- old/twine-1.6.3/PKG-INFO 2015-10-05 14:42:57.000000000 +0200 +++ new/twine-1.6.4/PKG-INFO 2015-10-28 04:10:17.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: twine -Version: 1.6.3 +Version: 1.6.4 Summary: Collection of utilities for interacting with PyPI Home-page: https://github.com/pypa/twine Author: Donald Stufft and individual contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/docs/changelog.rst new/twine-1.6.4/docs/changelog.rst --- old/twine-1.6.3/docs/changelog.rst 2015-10-05 05:26:58.000000000 +0200 +++ new/twine-1.6.4/docs/changelog.rst 2015-10-28 04:09:50.000000000 +0100 @@ -4,6 +4,13 @@ Changelog ========= +* :release:`1.6.4 <2015-10-27>` + + * :bug:`145` Paths with hyphens in them break the Wheel regular expression. + + * :bug:`146` Exception while accessing the ``respository`` key when raising + a redirect exception. + * :release:`1.6.3 <2015-10-05>` * :bug:`137`, :bug:`140` Uploading signatures was broken due to the pull diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/setup.cfg new/twine-1.6.4/setup.cfg --- old/twine-1.6.3/setup.cfg 2015-10-05 14:42:57.000000000 +0200 +++ new/twine-1.6.4/setup.cfg 2015-10-28 04:10:17.000000000 +0100 @@ -15,7 +15,7 @@ argparse; python_version == '2.6' [egg_info] -tag_svn_revision = 0 -tag_date = 0 tag_build = +tag_date = 0 +tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/tests/test_wheel.py new/twine-1.6.4/tests/test_wheel.py --- old/twine-1.6.3/tests/test_wheel.py 1970-01-01 01:00:00.000000000 +0100 +++ new/twine-1.6.4/tests/test_wheel.py 2015-10-28 04:09:50.000000000 +0100 @@ -0,0 +1,30 @@ +# Copyright 2015 Ian Cordasco +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +from __future__ import unicode_literals + +from twine import wheel + +import pytest + + [email protected](params=[ + 'tests/fixtures/twine-1.5.0-py2.py3-none-any.whl', + 'tests/alt-fixtures/twine-1.5.0-py2.py3-none-any.whl' +]) +def example_wheel(request): + return wheel.Wheel(request.param) + + +def test_version_parsing(example_wheel): + assert example_wheel.py_version == 'py2.py3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/twine/__init__.py new/twine-1.6.4/twine/__init__.py --- old/twine-1.6.3/twine/__init__.py 2015-10-05 05:26:58.000000000 +0200 +++ new/twine-1.6.4/twine/__init__.py 2015-10-28 04:09:50.000000000 +0100 @@ -23,7 +23,7 @@ __summary__ = "Collection of utilities for interacting with PyPI" __uri__ = "https://github.com/pypa/twine" -__version__ = "1.6.3" +__version__ = "1.6.4" __author__ = "Donald Stufft and individual contributors" __email__ = "[email protected]" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/twine/commands/register.py new/twine-1.6.4/twine/commands/register.py --- old/twine-1.6.3/twine/commands/register.py 2015-09-13 16:42:05.000000000 +0200 +++ new/twine-1.6.4/twine/commands/register.py 2015-10-28 04:09:50.000000000 +0100 @@ -46,8 +46,8 @@ if resp.is_redirect: raise exc.RedirectDetected( - ('"{0}" attempted to redirect to "{1}" during upload.' - ' Aborting...').format(config["respository"], + ('"{0}" attempted to redirect to "{1}" during registration.' + ' Aborting...').format(config["repository"], resp.headers["location"])) resp.raise_for_status() diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/twine/wheel.py new/twine-1.6.4/twine/wheel.py --- old/twine-1.6.3/twine/wheel.py 2014-12-02 04:27:42.000000000 +0100 +++ new/twine-1.6.4/twine/wheel.py 2015-10-28 04:09:50.000000000 +0100 @@ -42,12 +42,13 @@ def __init__(self, filename, metadata_version=None): self.filename = filename + self.basefilename = os.path.basename(self.filename) self.metadata_version = metadata_version self.extractMetadata() @property def py_version(self): - wheel_info = wheel_file_re.match(self.filename) + wheel_info = wheel_file_re.match(self.basefilename) return wheel_info.group("pyver") def read(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/twine.egg-info/PKG-INFO new/twine-1.6.4/twine.egg-info/PKG-INFO --- old/twine-1.6.3/twine.egg-info/PKG-INFO 2015-10-05 14:42:57.000000000 +0200 +++ new/twine-1.6.4/twine.egg-info/PKG-INFO 2015-10-28 04:10:16.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: twine -Version: 1.6.3 +Version: 1.6.4 Summary: Collection of utilities for interacting with PyPI Home-page: https://github.com/pypa/twine Author: Donald Stufft and individual contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/twine-1.6.3/twine.egg-info/SOURCES.txt new/twine-1.6.4/twine.egg-info/SOURCES.txt --- old/twine-1.6.3/twine.egg-info/SOURCES.txt 2015-10-05 14:42:57.000000000 +0200 +++ new/twine-1.6.4/twine.egg-info/SOURCES.txt 2015-10-28 04:10:17.000000000 +0100 @@ -15,6 +15,7 @@ tests/test_repository.py tests/test_upload.py tests/test_utils.py +tests/test_wheel.py twine/__init__.py twine/__main__.py twine/_installed.py
