Hello community,

here is the log from the commit of package python-PyFxA for openSUSE:Factory 
checked in at 2019-06-04 12:12:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyFxA (Old)
 and      /work/SRC/openSUSE:Factory/.python-PyFxA.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-PyFxA"

Tue Jun  4 12:12:37 2019 rev:6 rq:707290 version:0.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyFxA/python-PyFxA.changes        
2019-03-28 22:49:18.807047928 +0100
+++ /work/SRC/openSUSE:Factory/.python-PyFxA.new.5148/python-PyFxA.changes      
2019-06-04 12:12:59.339809031 +0200
@@ -1,0 +2,8 @@
+Mon Jun  3 18:34:02 UTC 2019 - Antoine Belvire <[email protected]>
+
+- Update to version 0.7.2:
+  * Several cleans for Python3 compatibility.
+  * Fix a bug which could accidentally introduce multiple slashes
+    into the result of oauth.Client.get_redirect_url.
+
+-------------------------------------------------------------------

Old:
----
  PyFxA-0.7.1.tar.gz

New:
----
  PyFxA-0.7.2.tar.gz

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

Other differences:
------------------
++++++ python-PyFxA.spec ++++++
--- /var/tmp/diff_new_pack.Kewt6o/_old  2019-06-04 12:13:01.339808376 +0200
+++ /var/tmp/diff_new_pack.Kewt6o/_new  2019-06-04 12:13:01.359808369 +0200
@@ -19,7 +19,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-PyFxA
-Version:        0.7.1
+Version:        0.7.2
 Release:        0
 Summary:        Firefox Accounts client library for Python
 License:        MPL-2.0

++++++ PyFxA-0.7.1.tar.gz -> PyFxA-0.7.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/CHANGES.txt new/PyFxA-0.7.2/CHANGES.txt
--- old/PyFxA-0.7.1/CHANGES.txt 2019-03-18 03:07:37.000000000 +0100
+++ new/PyFxA-0.7.2/CHANGES.txt 2019-06-03 05:14:22.000000000 +0200
@@ -3,6 +3,14 @@
 
 This document describes changes between each past release.
 
+0.7.2 (2019-06-03)
+==================
+
+- Several cleans for Python3 compatibility; thanks Tomáš Chvátal!
+- Fix a bug could accidentally introduce multiple slashes into
+  the result of oauth.Client.get_redirect_url.
+
+
 0.7.1 (2019-03-18)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/PKG-INFO new/PyFxA-0.7.2/PKG-INFO
--- old/PyFxA-0.7.1/PKG-INFO    2019-03-18 03:08:26.000000000 +0100
+++ new/PyFxA-0.7.2/PKG-INFO    2019-06-03 05:16:02.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyFxA
-Version: 0.7.1
+Version: 0.7.2
 Summary: Firefox Accounts client library for Python
 Home-page: https://github.com/mozilla/PyFxA
 Author: Mozilla Services
@@ -10,6 +10,9 @@
         PyFxA: Python library for interacting with Firefox Accounts
         ===========================================================
         
+        .. image:: https://travis-ci.org/mozilla/PyFxA.svg?branch=master
+            :target: https://travis-ci.org/mozilla/PyFxA
+        
         This is python library for interacting with the Firefox Accounts 
ecosystem.
         
         Eventually, it is planned to provide easy support for the following 
features:
@@ -313,6 +316,14 @@
         
         This document describes changes between each past release.
         
+        0.7.2 (2019-06-03)
+        ==================
+        
+        - Several cleans for Python3 compatibility; thanks Tomáš Chvátal!
+        - Fix a bug could accidentally introduce multiple slashes into
+          the result of oauth.Client.get_redirect_url.
+        
+        
         0.7.1 (2019-03-18)
         ==================
         
@@ -451,4 +462,8 @@
 Platform: UNKNOWN
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.6
 Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/PyFxA.egg-info/PKG-INFO 
new/PyFxA-0.7.2/PyFxA.egg-info/PKG-INFO
--- old/PyFxA-0.7.1/PyFxA.egg-info/PKG-INFO     2019-03-18 03:08:25.000000000 
+0100
+++ new/PyFxA-0.7.2/PyFxA.egg-info/PKG-INFO     2019-06-03 05:15:30.000000000 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: PyFxA
-Version: 0.7.1
+Version: 0.7.2
 Summary: Firefox Accounts client library for Python
 Home-page: https://github.com/mozilla/PyFxA
 Author: Mozilla Services
@@ -10,6 +10,9 @@
         PyFxA: Python library for interacting with Firefox Accounts
         ===========================================================
         
+        .. image:: https://travis-ci.org/mozilla/PyFxA.svg?branch=master
+            :target: https://travis-ci.org/mozilla/PyFxA
+        
         This is python library for interacting with the Firefox Accounts 
ecosystem.
         
         Eventually, it is planned to provide easy support for the following 
features:
@@ -313,6 +316,14 @@
         
         This document describes changes between each past release.
         
+        0.7.2 (2019-06-03)
+        ==================
+        
+        - Several cleans for Python3 compatibility; thanks Tomáš Chvátal!
+        - Fix a bug could accidentally introduce multiple slashes into
+          the result of oauth.Client.get_redirect_url.
+        
+        
         0.7.1 (2019-03-18)
         ==================
         
@@ -451,4 +462,8 @@
 Platform: UNKNOWN
 Classifier: Intended Audience :: Developers
 Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.6
 Classifier: License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/README.rst new/PyFxA-0.7.2/README.rst
--- old/PyFxA-0.7.1/README.rst  2018-12-13 09:20:11.000000000 +0100
+++ new/PyFxA-0.7.2/README.rst  2019-06-03 04:17:57.000000000 +0200
@@ -2,6 +2,9 @@
 PyFxA: Python library for interacting with Firefox Accounts
 ===========================================================
 
+.. image:: https://travis-ci.org/mozilla/PyFxA.svg?branch=master
+    :target: https://travis-ci.org/mozilla/PyFxA
+
 This is python library for interacting with the Firefox Accounts ecosystem.
 
 Eventually, it is planned to provide easy support for the following features:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/dev-requirements.txt 
new/PyFxA-0.7.2/dev-requirements.txt
--- old/PyFxA-0.7.1/dev-requirements.txt        2018-12-13 09:20:11.000000000 
+0100
+++ new/PyFxA-0.7.2/dev-requirements.txt        2019-06-03 04:17:57.000000000 
+0200
@@ -1,5 +1,8 @@
 grequests
-mock
+mock;python_version<"3.3"
 responses
-unittest2
+pytest
+pytest-runner
+pytest-cov
+pytest-flake8
 pyotp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/fxa/_utils.py 
new/PyFxA-0.7.2/fxa/_utils.py
--- old/PyFxA-0.7.1/fxa/_utils.py       2019-03-18 02:40:19.000000000 +0100
+++ new/PyFxA-0.7.2/fxa/_utils.py       2019-06-03 05:12:31.000000000 +0200
@@ -246,9 +246,10 @@
         # Apply defaults and perform the request.
         while url.startswith("/"):
             url = url[1:]
-        if not self.server_url.endswith("/"):
-            self.server_url = self.server_url + "/"
-        url = urljoin(self.server_url, url)
+        if self.server_url.endswith("/"):
+            url = urljoin(self.server_url, url)
+        else:
+            url = urljoin(self.server_url + "/", url)
         if self.timeout is not None:
             kwds.setdefault("timeout", self.timeout)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/fxa/tests/mock_utilities.py 
new/PyFxA-0.7.2/fxa/tests/mock_utilities.py
--- old/PyFxA-0.7.1/fxa/tests/mock_utilities.py 2018-12-13 09:20:11.000000000 
+0100
+++ new/PyFxA-0.7.2/fxa/tests/mock_utilities.py 2019-06-03 04:17:57.000000000 
+0200
@@ -1,4 +1,7 @@
-import mock
+try:
+    from unittest import mock
+except ImportError:
+    import mock
 from binascii import hexlify
 from os import urandom
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/fxa/tests/utils.py 
new/PyFxA-0.7.2/fxa/tests/utils.py
--- old/PyFxA-0.7.1/fxa/tests/utils.py  2018-12-13 09:20:11.000000000 +0100
+++ new/PyFxA-0.7.2/fxa/tests/utils.py  2019-06-03 04:17:57.000000000 +0200
@@ -1,21 +1,16 @@
 # This Source Code Form is subject to the terms of the Mozilla Public
 # License, v. 2.0. If a copy of the MPL was not distributed with this file,
 # You can obtain one at http://mozilla.org/MPL/2.0/.
-import sys
 import time
 import random
 import requests
+import unittest # NOQA
 from binascii import unhexlify
 from six import binary_type
 from six.moves.urllib.parse import urlparse, urljoin
 
 from fxa._utils import uniq
 
-if sys.version_info >= (2, 7):
-    import unittest  # NOQA
-else:
-    import unittest2 as unittest  # NOQA
-
 
 DUMMY_EMAIL = "[email protected]"
 DUMMY_PASSWORD = "l33tP@55W0rd"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/setup.cfg new/PyFxA-0.7.2/setup.cfg
--- old/PyFxA-0.7.1/setup.cfg   2019-03-18 03:08:26.000000000 +0100
+++ new/PyFxA-0.7.2/setup.cfg   2019-06-03 05:16:02.000000000 +0200
@@ -1,3 +1,6 @@
+[aliases]
+test = pytest
+
 [zest.releaser]
 create-wheel = yes
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/PyFxA-0.7.1/setup.py new/PyFxA-0.7.2/setup.py
--- old/PyFxA-0.7.1/setup.py    2019-03-18 03:07:21.000000000 +0100
+++ new/PyFxA-0.7.2/setup.py    2019-06-03 05:14:35.000000000 +0200
@@ -4,8 +4,6 @@
 import sys
 from setuptools import setup, find_packages
 
-PY2 = sys.version_info[0] == 2
-
 # Read package meta-data from the containing directory.
 
 here = os.path.abspath(os.path.dirname(__file__))
@@ -15,6 +13,7 @@
     """Open a related file with utf-8 encoding."""
     return codecs.open(os.path.join(here, filename), encoding='utf-8')
 
+
 with open_file("README.rst") as f:
     README = f.read()
 
@@ -25,9 +24,6 @@
     requires = (ln.strip() for ln in f)
     test_requires = [ln for ln in requires if ln and not ln.startswith("#")]
 
-if sys.version_info < (2, 7):
-    test_requires.append("unittest2")
-
 # Read the version number from the module source code.
 # To do so, we parse out all lines up to the ones defining __version__ and
 # execute them, then grab the resulting value of the __version__ variable.
@@ -48,12 +44,16 @@
 
 
 setup(name="PyFxA",
-      version='0.7.1',
+      version='0.7.2',
       description="Firefox Accounts client library for Python",
       long_description=README + "\n\n" + CHANGES,
       classifiers=[
           "Intended Audience :: Developers",
           "Programming Language :: Python",
+          "Programming Language :: Python :: 2",
+          "Programming Language :: Python :: 2.7",
+          "Programming Language :: Python :: 3",
+          "Programming Language :: Python :: 3.6",
           "License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)",
       ],
       entry_points={


Reply via email to