Hello community,

here is the log from the commit of package python-coveralls for 
openSUSE:Factory checked in at 2019-06-13 23:02:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-coveralls (Old)
 and      /work/SRC/openSUSE:Factory/.python-coveralls.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-coveralls"

Thu Jun 13 23:02:58 2019 rev:5 rq:709416 version:1.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-coveralls/python-coveralls.changes        
2019-04-05 12:01:00.122511486 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-coveralls.new.4811/python-coveralls.changes  
    2019-06-13 23:03:00.523411039 +0200
@@ -1,0 +2,7 @@
+Wed Jun 12 12:52:41 UTC 2019 - Ondřej Súkup <[email protected]>
+
+- update to 1.8.0:
+ * flag: allow disabling SSL verification
+ * git: fix support for case where git binary is missing
+
+-------------------------------------------------------------------

Old:
----
  1.7.0.tar.gz

New:
----
  1.8.0.tar.gz

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

Other differences:
------------------
++++++ python-coveralls.spec ++++++
--- /var/tmp/diff_new_pack.PPUwRw/_old  2019-06-13 23:03:01.179410470 +0200
+++ /var/tmp/diff_new_pack.PPUwRw/_new  2019-06-13 23:03:01.187410462 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-coveralls
-Version:        1.7.0
+Version:        1.8.0
 Release:        0
 Summary:        Module for showing coverage stats online via coverallsio
 License:        MIT

++++++ 1.7.0.tar.gz -> 1.8.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/CHANGELOG.md 
new/coveralls-python-1.8.0/CHANGELOG.md
--- old/coveralls-python-1.7.0/CHANGELOG.md     2019-03-20 03:59:47.000000000 
+0100
+++ new/coveralls-python-1.8.0/CHANGELOG.md     2019-06-02 02:43:18.000000000 
+0200
@@ -1,3 +1,14 @@
+<a name="1.8.0"></a>
+## 1.8.0 (2019-06-02)
+
+#### Features
+
+* **flag:**  allow disabling SSL verification ([2e3b5c61](2e3b5c61))
+
+#### Bug Fixes
+
+* **git:**  fix support for case where git binary is missing 
([5bbceaae](5bbceaae))
+
 <a name="1.7.0"></a>
 ## 1.7.0 (2019-03-20)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/coveralls/api.py 
new/coveralls-python-1.8.0/coveralls/api.py
--- old/coveralls-python-1.7.0/coveralls/api.py 2019-03-20 03:59:47.000000000 
+0100
+++ new/coveralls-python-1.8.0/coveralls/api.py 2019-06-02 02:43:18.000000000 
+0200
@@ -170,7 +170,9 @@
             return {}
 
         endpoint = '{}/api/v1/jobs'.format(self._coveralls_host.rstrip('/'))
-        response = requests.post(endpoint, files={'json_file': json_string})
+        verify = not bool(os.environ.get('COVERALLS_SKIP_SSL_VERIFY'))
+        response = requests.post(endpoint, files={'json_file': json_string},
+                                 verify=verify)
         try:
             response.raise_for_status()
             return response.json()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/coveralls/git.py 
new/coveralls-python-1.8.0/coveralls/git.py
--- old/coveralls-python-1.7.0/coveralls/git.py 2019-03-20 03:59:47.000000000 
+0100
+++ new/coveralls-python-1.8.0/coveralls/git.py 2019-06-02 02:43:18.000000000 
+0200
@@ -75,7 +75,7 @@
         remotes = [{'name': line.split()[0], 'url': line.split()[1]}
                    for line in run_command('git', 'remote', '-v').splitlines()
                    if '(fetch)' in line]
-    except (CoverallsException, EnvironmentError) as ex:
+    except (CoverallsException, OSError) as ex:
         # When git is not available, try env vars as per Coveralls docs:
         # https://docs.coveralls.io/mercurial-support
         # Additionally, these variables have been extended by GIT_URL and
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/coveralls/version.py 
new/coveralls-python-1.8.0/coveralls/version.py
--- old/coveralls-python-1.7.0/coveralls/version.py     2019-03-20 
03:59:47.000000000 +0100
+++ new/coveralls-python-1.8.0/coveralls/version.py     2019-06-02 
02:43:18.000000000 +0200
@@ -1 +1 @@
-__version__ = '1.7.0'
+__version__ = '1.8.0'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/docs/usage/configuration.rst 
new/coveralls-python-1.8.0/docs/usage/configuration.rst
--- old/coveralls-python-1.7.0/docs/usage/configuration.rst     2019-03-20 
03:59:47.000000000 +0100
+++ new/coveralls-python-1.8.0/docs/usage/configuration.rst     2019-06-02 
02:43:18.000000000 +0200
@@ -33,6 +33,10 @@
 
     COVERALLS_HOST="https://coveralls.aperture.com"; coveralls
 
+In that case, you may also be interested in disabling SSL verification::
+
+    COVERALLS_SKIP_SSL_VERIFY='1' coveralls
+
 If you are using named jobs, you can set::
 
     COVERALLS_FLAG_NAME="insert-name-here"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/setup.py 
new/coveralls-python-1.8.0/setup.py
--- old/coveralls-python-1.7.0/setup.py 2019-03-20 03:59:47.000000000 +0100
+++ new/coveralls-python-1.8.0/setup.py 2019-06-02 02:43:18.000000000 +0200
@@ -36,7 +36,11 @@
     tests_require=['mock', 'pytest', 'sh>=1.08'],
     extras_require={
         'yaml': ['PyYAML>=3.10'],
-        ':python_version < "3"': ['urllib3[secure]'],
+        # See https://github.com/kennethreitz/requests/issues/5067
+        # We need to stay aligned with requests' pin to ensure urllib3 updates
+        # don't break pip installation.
+        # See https://github.com/kennethreitz/requests/blob/master/setup.py
+        ':python_version < "3"': ['urllib3[secure]>=1.21.1,<1.25'],
     },
     classifiers=[
         'Development Status :: 5 - Production/Stable',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/coveralls-python-1.7.0/tests/api/wear_test.py 
new/coveralls-python-1.8.0/tests/api/wear_test.py
--- old/coveralls-python-1.7.0/tests/api/wear_test.py   2019-03-20 
03:59:47.000000000 +0100
+++ new/coveralls-python-1.8.0/tests/api/wear_test.py   2019-06-02 
02:43:18.000000000 +0200
@@ -106,14 +106,16 @@
 
     @mock.patch.dict(
         os.environ,
-        {'COVERALLS_HOST': 'https://coveralls.my-enterprise.info'}, clear=True)
+        {'COVERALLS_HOST': 'https://coveralls.my-enterprise.info',
+         'COVERALLS_SKIP_SSL_VERIFY': '1'}, clear=True)
     def test_coveralls_host_env_var_overrides_api_url(self, mock_requests):
         coveralls.Coveralls(repo_token='xxx').wear(dry_run=False)
         mock_requests.post.assert_called_once_with(
-            'https://coveralls.my-enterprise.info/api/v1/jobs', files=mock.ANY)
+            'https://coveralls.my-enterprise.info/api/v1/jobs',
+            files=mock.ANY, verify=False)
 
     @mock.patch.dict(os.environ, {}, clear=True)
     def test_api_call_uses_default_host_if_no_env_var_set(self, mock_requests):
         coveralls.Coveralls(repo_token='xxx').wear(dry_run=False)
         mock_requests.post.assert_called_once_with(
-            'https://coveralls.io/api/v1/jobs', files=mock.ANY)
+            'https://coveralls.io/api/v1/jobs', files=mock.ANY, verify=True)


Reply via email to