Hello community,

here is the log from the commit of package python3-pip for openSUSE:Factory 
checked in at 2016-03-29 09:56:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pip (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pip.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pip"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pip/python3-pip.changes  2016-03-07 
13:29:51.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python3-pip.new/python3-pip.changes     
2016-03-29 09:56:29.000000000 +0200
@@ -1,0 +2,8 @@
+Thu Mar 17 16:41:01 UTC 2016 - [email protected]
+
+- update to version 8.1.1:
+  * Fix regression with non-ascii requirement files on Python 2 and
+    add support for encoding headers in requirement files (#3548, PR
+    #3547).
+
+-------------------------------------------------------------------

Old:
----
  pip-8.1.0.tar.gz

New:
----
  pip-8.1.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pip.spec ++++++
--- /var/tmp/diff_new_pack.zDlMHL/_old  2016-03-29 09:56:30.000000000 +0200
+++ /var/tmp/diff_new_pack.zDlMHL/_new  2016-03-29 09:56:30.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python3-pip
-Version:        8.1.0
+Version:        8.1.1
 Release:        0
 Url:            http://www.pip-installer.org
 Summary:        Pip installs packages. Python packages. An easy_install 
replacement

++++++ pip-8.1.0.tar.gz -> pip-8.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/AUTHORS.txt new/pip-8.1.1/AUTHORS.txt
--- old/pip-8.1.0/AUTHORS.txt   2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/AUTHORS.txt   2016-03-17 14:53:07.000000000 +0100
@@ -99,6 +99,7 @@
 Hynek Schlawack <[email protected]>
 Ian Bicking <[email protected]>
 Ian Cordasco <[email protected]>
+Ian Lee <[email protected]>
 Ian Wienand <[email protected]>
 Igor Sobreira <[email protected]>
 Ilya Baryshev <[email protected]>
@@ -261,6 +262,7 @@
 Tim Harder <[email protected]>
 tim smith <[email protected]>
 Tomer Chachamu <[email protected]>
+Tony Zhaocheng Tan <[email protected]>
 Toshio Kuratomi <[email protected]>
 Travis Swicegood <[email protected]>
 Valentin Haenel <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/CHANGES.txt new/pip-8.1.1/CHANGES.txt
--- old/pip-8.1.0/CHANGES.txt   2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/CHANGES.txt   2016-03-17 14:53:07.000000000 +0100
@@ -1,3 +1,9 @@
+**8.1.1 (2016-03-17)**
+
+* Fix regression with non-ascii requirement files on Python 2 and add support
+  for encoding headers in requirement files (:issue:`3548`, :pull:`3547`).
+
+
 **8.1.0 (2016-03-05)**
 
 * Implement PEP 513, which adds support for the manylinux1 platform tag,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/PKG-INFO new/pip-8.1.1/PKG-INFO
--- old/pip-8.1.0/PKG-INFO      2016-03-05 17:56:54.000000000 +0100
+++ new/pip-8.1.1/PKG-INFO      2016-03-17 14:53:16.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pip
-Version: 8.1.0
+Version: 8.1.1
 Summary: The PyPA recommended tool for installing Python packages.
 Home-page: https://pip.pypa.io/
 Author: The pip developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/docs/installing.rst 
new/pip-8.1.1/docs/installing.rst
--- old/pip-8.1.0/docs/installing.rst   2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/docs/installing.rst   2016-03-17 14:53:07.000000000 +0100
@@ -11,7 +11,7 @@
 :ref:`upgrade pip <Upgrading pip>`.
 
 Additionally, pip will already be installed if you're working in a 
:ref:`Virtual
-Envionment <pypug:Creating and using Virtual Environments>` created by
+Environment <pypug:Creating and using Virtual Environments>` created by
 :ref:`pypug:virtualenv` or :ref:`pyvenv <pypug:venv>`.
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/pip/__init__.py 
new/pip-8.1.1/pip/__init__.py
--- old/pip-8.1.0/pip/__init__.py       2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/pip/__init__.py       2016-03-17 14:53:07.000000000 +0100
@@ -1,6 +1,7 @@
 #!/usr/bin/env python
 from __future__ import absolute_import
 
+import locale
 import logging
 import os
 import optparse
@@ -30,7 +31,7 @@
 cmdoptions = pip.cmdoptions
 
 # The version as used in the setup.py and the docs conf.py
-__version__ = "8.1.0"
+__version__ = "8.1.1"
 
 
 logger = logging.getLogger(__name__)
@@ -209,6 +210,9 @@
         sys.stderr.write(os.linesep)
         sys.exit(1)
 
+    # Needed for locale.getpreferredencoding(False) to work
+    # in pip.utils.encoding.auto_decode
+    locale.setlocale(locale.LC_ALL, '')
     command = commands_dict[cmd_name](isolated=check_isolated(cmd_args))
     return command.main(cmd_args)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/pip/cmdoptions.py 
new/pip-8.1.1/pip/cmdoptions.py
--- old/pip-8.1.0/pip/cmdoptions.py     2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/pip/cmdoptions.py     2016-03-17 14:53:07.000000000 +0100
@@ -247,7 +247,7 @@
         default=[],
         metavar='url',
         help="If a url or path to an html file, then parse for links to "
-             "archives. If a local path or file:// url that's a directory,"
+             "archives. If a local path or file:// url that's a directory, "
              "then look for archives in the directory listing.")
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/pip/utils/encoding.py 
new/pip-8.1.1/pip/utils/encoding.py
--- old/pip-8.1.0/pip/utils/encoding.py 2016-03-05 17:56:48.000000000 +0100
+++ new/pip-8.1.1/pip/utils/encoding.py 2016-03-17 14:53:07.000000000 +0100
@@ -1,5 +1,6 @@
 import codecs
 import locale
+import re
 
 
 BOMS = [
@@ -12,6 +13,8 @@
     (codecs.BOM_UTF32_LE, 'utf32-le'),
 ]
 
+ENCODING_RE = re.compile(b'coding[:=]\s*([-\w.]+)')
+
 
 def auto_decode(data):
     """Check a bytes string for a BOM to correctly detect the encoding
@@ -20,4 +23,9 @@
     for bom, encoding in BOMS:
         if data.startswith(bom):
             return data[len(bom):].decode(encoding)
+    # Lets check the first two lines as in PEP263
+    for line in data.split(b'\n')[:2]:
+        if line[0:1] == b'#' and ENCODING_RE.search(line):
+            encoding = ENCODING_RE.search(line).groups()[0].decode('ascii')
+            return data.decode(encoding)
     return data.decode(locale.getpreferredencoding(False))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/pip.egg-info/PKG-INFO 
new/pip-8.1.1/pip.egg-info/PKG-INFO
--- old/pip-8.1.0/pip.egg-info/PKG-INFO 2016-03-05 17:56:54.000000000 +0100
+++ new/pip-8.1.1/pip.egg-info/PKG-INFO 2016-03-17 14:53:16.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: pip
-Version: 8.1.0
+Version: 8.1.1
 Summary: The PyPA recommended tool for installing Python packages.
 Home-page: https://pip.pypa.io/
 Author: The pip developers
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pip-8.1.0/setup.cfg new/pip-8.1.1/setup.cfg
--- old/pip-8.1.0/setup.cfg     2016-03-05 17:56:54.000000000 +0100
+++ new/pip-8.1.1/setup.cfg     2016-03-17 14:53:16.000000000 +0100
@@ -5,7 +5,7 @@
 universal = 1
 
 [egg_info]
-tag_build = 
-tag_date = 0
 tag_svn_revision = 0
+tag_date = 0
+tag_build = 
 


Reply via email to