Hello community,

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

Package is "python-vdirsyncer"

Thu Apr  4 12:07:50 2019 rev:4 rq:691022 version:0.16.7

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-vdirsyncer/python-vdirsyncer.changes      
2018-07-18 22:56:49.454386977 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-vdirsyncer.new.3908/python-vdirsyncer.changes
    2019-04-04 12:07:53.121413205 +0200
@@ -1,0 +2,9 @@
+Fri Mar 29 13:31:30 UTC 2019 - [email protected]
+
+- version update to 0.16.7
+  Fixes for Python 3.7
+- added patches
+  https://github.com/pimutils/vdirsyncer/pull/779
+  + python-vdirsyncer-fix-tests.patch
+
+-------------------------------------------------------------------

Old:
----
  vdirsyncer-0.16.6.tar.gz

New:
----
  python-vdirsyncer-fix-tests.patch
  vdirsyncer-0.16.7.tar.gz

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

Other differences:
------------------
++++++ python-vdirsyncer.spec ++++++
--- /var/tmp/diff_new_pack.gtiyCp/_old  2019-04-04 12:07:54.817411597 +0200
+++ /var/tmp/diff_new_pack.gtiyCp/_new  2019-04-04 12:07:54.829411586 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-vdirsyncer
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-vdirsyncer
-Version:        0.16.6
+Version:        0.16.7
 Release:        0
 Summary:        Synchronize CalDAV and CardDAV
 License:        BSD-3-Clause
@@ -28,11 +28,24 @@
 Source0:        
https://files.pythonhosted.org/packages/source/v/vdirsyncer/vdirsyncer-%{version}.tar.gz
 Source1:        vdirsyncer.service
 Source2:        vdirsyncer.timer
+# https://github.com/pimutils/vdirsyncer/pull/779
+Patch0:         python-vdirsyncer-fix-tests.patch
 BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildRequires:  systemd
 BuildRequires:  systemd-rpm-macros
+# SECTION test requirements
+BuildRequires:  %{python_module click-log >= 0.3}
+BuildRequires:  %{python_module click-threading >= 0.2}
+BuildRequires:  %{python_module hypothesis >= 3.1}
+BuildRequires:  %{python_module pytest-localserver}
+BuildRequires:  %{python_module pytest-subtesthack}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests >= 2.4.1}
+BuildRequires:  %{python_module requests-toolbelt >= 0.4.40}
+BuildRequires:  %{python_module urllib3}
+# /SECTION
 Requires:       python-atomicwrites >= 0.1.7
 Requires:       python-click >= 5.0
 Requires:       python-click-log >= 0.3
@@ -41,7 +54,7 @@
 Requires:       python-lxml
 Requires:       python-python-dateutil
 Requires:       python-pytz
-Requires:       python-requests >= 2.0.1
+Requires:       python-requests >= 2.4.1
 Requires:       python-requests-toolbelt >= 0.4.0
 Recommends:     python-requests-oauthlib
 BuildArch:      noarch
@@ -57,6 +70,7 @@
 
 %prep
 %setup -q -n vdirsyncer-%{version}
+%patch0 -p1
 rm -rf vdirsyncer.egg-info
 
 %build
@@ -70,6 +84,9 @@
 install -Dpm 0644 %{SOURCE0} %{buildroot}%{_userunitdir}/vdirsyncer.service
 install -Dpm 0644 %{SOURCE1} %{buildroot}%{_userunitdir}/vdirsyncer.timer
 
+%check
+%python_exec -m pytest -k 'not test_open_graphical_browser'
+
 %files %{python_files}
 %doc README.rst
 %license LICENSE

++++++ python-vdirsyncer-fix-tests.patch ++++++
diff --git a/tests/conftest.py b/tests/conftest.py
index ff774ce1..6272d42d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -27,7 +27,10 @@ def benchmark():
     del pytest_benchmark
 
 
-settings.suppress_health_check = [HealthCheck.too_slow]
+settings.register_profile("dev", settings(
+    suppress_health_check=[HealthCheck.too_slow]
+))
+settings.load_profile("dev")
 
 settings.register_profile("ci", settings(
     max_examples=1000,
++++++ vdirsyncer-0.16.6.tar.gz -> vdirsyncer-0.16.7.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/CHANGELOG.rst 
new/vdirsyncer-0.16.7/CHANGELOG.rst
--- old/vdirsyncer-0.16.6/CHANGELOG.rst 2018-06-13 18:54:22.000000000 +0200
+++ new/vdirsyncer-0.16.7/CHANGELOG.rst 2018-07-19 21:15:18.000000000 +0200
@@ -9,6 +9,13 @@
 may want to subscribe to `GitHub's tag feed
 <https://github.com/pimutils/vdirsyncer/tags.atom>`_.
 
+Version 0.16.7
+==============
+
+*released on July 19*
+
+- Fixes for Python 3.7
+
 Version 0.16.6
 ==============
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/PKG-INFO 
new/vdirsyncer-0.16.7/PKG-INFO
--- old/vdirsyncer-0.16.6/PKG-INFO      2018-06-13 18:54:34.000000000 +0200
+++ new/vdirsyncer-0.16.7/PKG-INFO      2018-07-19 21:15:42.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: vdirsyncer
-Version: 0.16.6
+Version: 0.16.7
 Summary: Synchronize calendars and contacts
 Home-page: https://github.com/pimutils/vdirsyncer
 Author: Markus Unterwaditzer
@@ -68,5 +68,5 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet
 Classifier: Topic :: Utilities
-Provides-Extra: google
 Provides-Extra: etesync
+Provides-Extra: google
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/tests/system/utils/test_main.py 
new/vdirsyncer-0.16.7/tests/system/utils/test_main.py
--- old/vdirsyncer-0.16.6/tests/system/utils/test_main.py       2017-10-03 
20:56:32.000000000 +0200
+++ new/vdirsyncer-0.16.7/tests/system/utils/test_main.py       2018-07-19 
21:13:53.000000000 +0200
@@ -1,11 +1,10 @@
 # -*- coding: utf-8 -*-
 
+import sys
 import logging
 
 import click_log
-
 import pytest
-
 import requests
 
 from vdirsyncer import http, utils
@@ -64,9 +63,12 @@
 
 def test_open_graphical_browser(monkeypatch):
     import webbrowser
-    # Just assert that this internal attribute still exists and is some sort of
-    # collection.
-    iter(webbrowser._tryorder)
+    # Just assert that this internal attribute still exists and behaves the way
+    # expected
+    if sys.version_info < (3, 7):
+        iter(webbrowser._tryorder)
+    else:
+        assert webbrowser._tryorder is None
 
     monkeypatch.setattr('webbrowser._tryorder', [])
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/vdirsyncer/utils.py 
new/vdirsyncer-0.16.7/vdirsyncer/utils.py
--- old/vdirsyncer-0.16.6/vdirsyncer/utils.py   2018-05-10 14:33:10.000000000 
+0200
+++ new/vdirsyncer-0.16.7/vdirsyncer/utils.py   2018-07-19 21:12:26.000000000 
+0200
@@ -215,6 +215,9 @@
     cli_names = set(['www-browser', 'links', 'links2', 'elinks', 'lynx',
                      'w3m'])
 
+    if webbrowser._tryorder is None:  # Python 3.7
+        webbrowser.register_standard_browsers()
+
     for name in webbrowser._tryorder:
         if name in cli_names:
             continue
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/vdirsyncer/version.py 
new/vdirsyncer-0.16.7/vdirsyncer/version.py
--- old/vdirsyncer-0.16.6/vdirsyncer/version.py 2018-06-13 18:54:33.000000000 
+0200
+++ new/vdirsyncer-0.16.7/vdirsyncer/version.py 2018-07-19 21:15:41.000000000 
+0200
@@ -1,4 +1,4 @@
 # coding: utf-8
 # file generated by setuptools_scm
 # don't change, don't track in version control
-version = '0.16.6'
+version = '0.16.7'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vdirsyncer-0.16.6/vdirsyncer.egg-info/PKG-INFO 
new/vdirsyncer-0.16.7/vdirsyncer.egg-info/PKG-INFO
--- old/vdirsyncer-0.16.6/vdirsyncer.egg-info/PKG-INFO  2018-06-13 
18:54:33.000000000 +0200
+++ new/vdirsyncer-0.16.7/vdirsyncer.egg-info/PKG-INFO  2018-07-19 
21:15:41.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: vdirsyncer
-Version: 0.16.6
+Version: 0.16.7
 Summary: Synchronize calendars and contacts
 Home-page: https://github.com/pimutils/vdirsyncer
 Author: Markus Unterwaditzer
@@ -68,5 +68,5 @@
 Classifier: Programming Language :: Python :: 3.6
 Classifier: Topic :: Internet
 Classifier: Topic :: Utilities
-Provides-Extra: google
 Provides-Extra: etesync
+Provides-Extra: google


Reply via email to