Hello community, here is the log from the commit of package python-keyring for openSUSE:Factory checked in at 2017-08-24 18:18:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-keyring (Old) and /work/SRC/openSUSE:Factory/.python-keyring.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-keyring" Thu Aug 24 18:18:02 2017 rev:26 rq:518327 version:10.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes 2017-05-16 14:28:31.755281404 +0200 +++ /work/SRC/openSUSE:Factory/.python-keyring.new/python-keyring.changes 2017-08-24 18:18:12.222401006 +0200 @@ -1,0 +2,10 @@ +Wed Aug 23 05:19:34 UTC 2017 - [email protected] + +- update to 10.4.0: + * #279: In Kwallet, pass mainloop to SessionBus. + * #278: Unpin pywin32-ctypes, but blacklist known + incompatible versions. + * #278: Pin to pywin32-ctypes 0.0.1 to avoid apparent + breakage introduced in 0.1.0. + +------------------------------------------------------------------- Old: ---- keyring-10.3.2.tar.gz New: ---- keyring-10.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-keyring.spec ++++++ --- /var/tmp/diff_new_pack.ETOGUk/_old 2017-08-24 18:18:12.794320478 +0200 +++ /var/tmp/diff_new_pack.ETOGUk/_new 2017-08-24 18:18:12.798319915 +0200 @@ -20,7 +20,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-keyring -Version: 10.3.2 +Version: 10.4.0 Release: 0 Url: https://github.com/jaraco/keyring Summary: Store and access your passwords safely @@ -28,15 +28,15 @@ Group: Development/Languages/Python Source: https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: fdupes -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools_scm >= 1.15.0} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros %if %{with tests} # Test requirements: -BuildRequires: %{python_module pytest} BuildRequires: %{python_module SecretStorage} +BuildRequires: %{python_module pytest} # Python 2 test requirements: BuildRequires: python-mock %endif ++++++ keyring-10.3.2.tar.gz -> keyring-10.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/.readthedocs.yml new/keyring-10.4.0/.readthedocs.yml --- old/keyring-10.3.2/.readthedocs.yml 1970-01-01 01:00:00.000000000 +0100 +++ new/keyring-10.4.0/.readthedocs.yml 2017-06-24 13:07:55.000000000 +0200 @@ -0,0 +1,5 @@ +python: + version: 3 + extra_requirements: + - docs + pip_install: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/CHANGES.rst new/keyring-10.4.0/CHANGES.rst --- old/keyring-10.3.2/CHANGES.rst 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/CHANGES.rst 2017-06-24 13:07:55.000000000 +0200 @@ -1,3 +1,17 @@ +10.4.0 +------ + +* #279: In Kwallet, pass mainloop to SessionBus. + +* #278: Unpin pywin32-ctypes, but blacklist known + incompatible versions. + +10.3.3 +------ + +* #278: Pin to pywin32-ctypes 0.0.1 to avoid apparent + breakage introduced in 0.1.0. + 10.3.2 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/PKG-INFO new/keyring-10.4.0/PKG-INFO --- old/keyring-10.3.2/PKG-INFO 2017-04-10 01:53:36.000000000 +0200 +++ new/keyring-10.4.0/PKG-INFO 2017-06-24 13:09:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: keyring -Version: 10.3.2 +Version: 10.4.0 Summary: Store and access your passwords safely. Home-page: https://github.com/jaraco/keyring Author: Jason R. Coombs @@ -45,8 +45,7 @@ * `Windows Credential Vault <http://windows.microsoft.com/en-us/windows7/what-is-credential-manager>`_ - Other keyring implementations are provided in the `keyrings.alt - package <https://pypi.python.org/pypi/keyrings.alt>`_. + Other keyring implementations are provided in the `keyrings.alt package`_. ------------------------- Installation Instructions @@ -162,6 +161,9 @@ - `keyrings.alt <https://pypi.org/project/keyrings.alt>`_ - "alternate", less common backends, originally part of the core package, but now available for opt-in. + - `keyring_jeepney <https://pypi.python.org/pypi/keyring_jeepney>`__ - a + pure Python backend using the secret service DBus API for desktop + Linux. Write your own keyring backend ============================== @@ -246,7 +248,6 @@ 'password' - Using Keyring on headless Linux systems ======================================= @@ -288,6 +289,12 @@ * ``delete_password(service, username)``: Delete the password stored in keyring. If the password does not exist, it will raise an exception. + In all cases, the parameters (``service``, ``username``, ``password``) + should be Unicode text. On Python 2, these parameters are accepted as + simple ``str`` in the default encoding as they will be implicitly + decoded to text. Some backends may accept ``bytes`` for these parameters, + but such usage is discouraged. + ------------ Get involved ------------ @@ -324,7 +331,7 @@ Using tox --------- - Keyring prefers use of `tox <https://pypi.org/project/tox>` to run tests. + Keyring prefers use of `tox <https://pypi.org/project/tox>`_ to run tests. Simply install and invoke ``tox``. This technique is the one used by the Travis-CI script. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/README.rst new/keyring-10.4.0/README.rst --- old/keyring-10.3.2/README.rst 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/README.rst 2017-06-24 13:07:55.000000000 +0200 @@ -37,8 +37,7 @@ * `Windows Credential Vault <http://windows.microsoft.com/en-us/windows7/what-is-credential-manager>`_ -Other keyring implementations are provided in the `keyrings.alt -package <https://pypi.python.org/pypi/keyrings.alt>`_. +Other keyring implementations are provided in the `keyrings.alt package`_. ------------------------- Installation Instructions @@ -154,6 +153,9 @@ - `keyrings.alt <https://pypi.org/project/keyrings.alt>`_ - "alternate", less common backends, originally part of the core package, but now available for opt-in. +- `keyring_jeepney <https://pypi.python.org/pypi/keyring_jeepney>`__ - a + pure Python backend using the secret service DBus API for desktop + Linux. Write your own keyring backend ============================== @@ -238,7 +240,6 @@ 'password' - Using Keyring on headless Linux systems ======================================= @@ -280,6 +281,12 @@ * ``delete_password(service, username)``: Delete the password stored in keyring. If the password does not exist, it will raise an exception. +In all cases, the parameters (``service``, ``username``, ``password``) +should be Unicode text. On Python 2, these parameters are accepted as +simple ``str`` in the default encoding as they will be implicitly +decoded to text. Some backends may accept ``bytes`` for these parameters, +but such usage is discouraged. + ------------ Get involved ------------ @@ -316,7 +323,7 @@ Using tox --------- -Keyring prefers use of `tox <https://pypi.org/project/tox>` to run tests. +Keyring prefers use of `tox <https://pypi.org/project/tox>`_ to run tests. Simply install and invoke ``tox``. This technique is the one used by the Travis-CI script. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/appveyor.yml new/keyring-10.4.0/appveyor.yml --- old/keyring-10.3.2/appveyor.yml 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/appveyor.yml 2017-06-24 13:07:55.000000000 +0200 @@ -3,7 +3,7 @@ APPVEYOR: true matrix: - - PYTHON: "C:\\Python35-x64" + - PYTHON: "C:\\Python36-x64" - PYTHON: "C:\\Python27-x64" install: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/docs/conf.py new/keyring-10.4.0/docs/conf.py --- old/keyring-10.3.2/docs/conf.py 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/docs/conf.py 2017-06-24 13:07:55.000000000 +0200 @@ -1,52 +1,30 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- -import os -import sys -import subprocess - -if 'check_output' not in dir(subprocess): - import subprocess32 as subprocess - extensions = [ 'sphinx.ext.autodoc', + 'jaraco.packaging.sphinx', 'rst.linker', ] -# General information about the project. - -root = os.path.join(os.path.dirname(__file__), '..') -setup_script = os.path.join(root, 'setup.py') -fields = ['--name', '--version', '--url', '--author'] -dist_info_cmd = [sys.executable, setup_script] + fields -output_bytes = subprocess.check_output(dist_info_cmd, cwd=root) -project, version, url, author = output_bytes.decode('utf-8').strip().split('\n') - -copyright = '2016 ' + author - -# The full version, including alpha/beta/rc tags. -release = version - master_doc = 'index' link_files = { '../CHANGES.rst': dict( using=dict( GH='https://github.com', - project=project, - url=url, ), replace=[ dict( - pattern=r"(Issue )?#(?P<issue>\d+)", - url='{url}/issues/{issue}', + pattern=r'(Issue )?#(?P<issue>\d+)', + url='{package_url}/issues/{issue}', ), dict( - pattern=r"^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n", - with_scm="{text}\n{rev[timestamp]:%d %b %Y}\n", + pattern=r'^(?m)((?P<scm_version>v?\d+(\.\d+){1,2}))\n[-=]+\n', + with_scm='{text}\n{rev[timestamp]:%d %b %Y}\n', ), dict( - pattern=r"PEP[- ](?P<pep_number>\d+)", + pattern=r'PEP[- ](?P<pep_number>\d+)', url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/', ), ], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/docs/requirements.txt new/keyring-10.4.0/docs/requirements.txt --- old/keyring-10.3.2/docs/requirements.txt 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/docs/requirements.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -rst.linker diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring/backends/kwallet.py new/keyring-10.4.0/keyring/backends/kwallet.py --- old/keyring-10.3.2/keyring/backends/kwallet.py 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/keyring/backends/kwallet.py 2017-06-24 13:07:55.000000000 +0200 @@ -7,6 +7,7 @@ try: import dbus + from dbus.mainloop.glib import DBusGMainLoop except ImportError: pass @@ -27,7 +28,7 @@ if 'dbus' not in globals(): raise RuntimeError('python-dbus not installed') try: - bus = dbus.SessionBus() + bus = dbus.SessionBus(mainloop=DBusGMainLoop()) except dbus.DBusException as exc: raise RuntimeError(exc.get_dbus_message()) try: @@ -67,7 +68,7 @@ def connected(self, service): if self.handle >= 0: return True - bus = dbus.SessionBus() + bus = dbus.SessionBus(mainloop=DBusGMainLoop()) wId = 0 try: remote_obj = bus.get_object(self.bus_name, self.object_path) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring/core.py new/keyring-10.4.0/keyring/core.py --- old/keyring-10.3.2/keyring/core.py 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/keyring/core.py 2017-06-24 13:07:55.000000000 +0200 @@ -13,7 +13,6 @@ from . import logger from . import backend from .util import platform_ as platform -from .util import once from .backends import fail diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring/tests/backends/test_Windows.py new/keyring-10.4.0/keyring/tests/backends/test_Windows.py --- old/keyring-10.3.2/keyring/tests/backends/test_Windows.py 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/keyring/tests/backends/test_Windows.py 2017-06-24 13:07:55.000000000 +0200 @@ -3,6 +3,8 @@ import sys import unittest +import pytest + import keyring.backends.Windows from ..test_backend import BackendBasicTests @@ -20,3 +22,11 @@ def init_keyring(self): return keyring.backends.Windows.WinVaultKeyring() + + [email protected]('sys.platform != "win32"') +def test_winvault_always_viable(): + """ + The WinVault backend should always be viable on Windows. + """ + assert keyring.backends.Windows.WinVaultKeyring.viable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring.egg-info/PKG-INFO new/keyring-10.4.0/keyring.egg-info/PKG-INFO --- old/keyring-10.3.2/keyring.egg-info/PKG-INFO 2017-04-10 01:53:36.000000000 +0200 +++ new/keyring-10.4.0/keyring.egg-info/PKG-INFO 2017-06-24 13:09:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.1 Name: keyring -Version: 10.3.2 +Version: 10.4.0 Summary: Store and access your passwords safely. Home-page: https://github.com/jaraco/keyring Author: Jason R. Coombs @@ -45,8 +45,7 @@ * `Windows Credential Vault <http://windows.microsoft.com/en-us/windows7/what-is-credential-manager>`_ - Other keyring implementations are provided in the `keyrings.alt - package <https://pypi.python.org/pypi/keyrings.alt>`_. + Other keyring implementations are provided in the `keyrings.alt package`_. ------------------------- Installation Instructions @@ -162,6 +161,9 @@ - `keyrings.alt <https://pypi.org/project/keyrings.alt>`_ - "alternate", less common backends, originally part of the core package, but now available for opt-in. + - `keyring_jeepney <https://pypi.python.org/pypi/keyring_jeepney>`__ - a + pure Python backend using the secret service DBus API for desktop + Linux. Write your own keyring backend ============================== @@ -246,7 +248,6 @@ 'password' - Using Keyring on headless Linux systems ======================================= @@ -288,6 +289,12 @@ * ``delete_password(service, username)``: Delete the password stored in keyring. If the password does not exist, it will raise an exception. + In all cases, the parameters (``service``, ``username``, ``password``) + should be Unicode text. On Python 2, these parameters are accepted as + simple ``str`` in the default encoding as they will be implicitly + decoded to text. Some backends may accept ``bytes`` for these parameters, + but such usage is discouraged. + ------------ Get involved ------------ @@ -324,7 +331,7 @@ Using tox --------- - Keyring prefers use of `tox <https://pypi.org/project/tox>` to run tests. + Keyring prefers use of `tox <https://pypi.org/project/tox>`_ to run tests. Simply install and invoke ``tox``. This technique is the one used by the Travis-CI script. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring.egg-info/SOURCES.txt new/keyring-10.4.0/keyring.egg-info/SOURCES.txt --- old/keyring-10.3.2/keyring.egg-info/SOURCES.txt 2017-04-10 01:53:36.000000000 +0200 +++ new/keyring-10.4.0/keyring.egg-info/SOURCES.txt 2017-06-24 13:09:25.000000000 +0200 @@ -1,4 +1,5 @@ .gitignore +.readthedocs.yml .travis-osx .travis.yml CHANGES.rst @@ -13,7 +14,6 @@ docs/conf.py docs/history.rst docs/index.rst -docs/requirements.txt keyring/__init__.py keyring/__main__.py keyring/backend.py @@ -52,5 +52,4 @@ keyring/util/escape.py keyring/util/platform_.py keyring/util/properties.py -tests/requirements.txt tests/test_packaging.py \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/keyring.egg-info/requires.txt new/keyring-10.4.0/keyring.egg-info/requires.txt --- old/keyring-10.3.2/keyring.egg-info/requires.txt 2017-04-10 01:53:36.000000000 +0200 +++ new/keyring-10.4.0/keyring.egg-info/requires.txt 2017-06-24 13:09:25.000000000 +0200 @@ -3,4 +3,13 @@ secretstorage [:sys_platform=="win32"] -pywin32-ctypes +pywin32-ctypes!=0.1.0,!=0.1.1 + +[docs] +sphinx +jaraco.packaging>=3.2 +rst.linker>=1.9 + +[testing] +pytest>=2.8 +pytest-sugar diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/setup.cfg new/keyring-10.4.0/setup.cfg --- old/keyring-10.3.2/setup.cfg 2017-04-10 01:53:36.000000000 +0200 +++ new/keyring-10.4.0/setup.cfg 2017-06-24 13:09:25.000000000 +0200 @@ -8,5 +8,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/setup.py new/keyring-10.4.0/setup.py --- old/keyring-10.3.2/setup.py 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/setup.py 2017-06-24 13:07:55.000000000 +0200 @@ -28,10 +28,21 @@ install_requires=[ ], extras_require={ - ':sys_platform=="win32"': ['pywin32-ctypes'], + ':sys_platform=="win32"': [ + 'pywin32-ctypes!=0.1.0,!=0.1.1', + ], ':sys_platform=="linux2" or sys_platform=="linux"': [ "secretstorage", ], + 'testing': [ + 'pytest>=2.8', + 'pytest-sugar', + ], + 'docs': [ + 'sphinx', + 'jaraco.packaging>=3.2', + 'rst.linker>=1.9', + ], }, setup_requires=[ 'setuptools_scm>=1.15.0', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/tests/requirements.txt new/keyring-10.4.0/tests/requirements.txt --- old/keyring-10.3.2/tests/requirements.txt 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/tests/requirements.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -pytest >= 2.8 -subprocess32; python_version=="2.6" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/keyring-10.3.2/tox.ini new/keyring-10.4.0/tox.ini --- old/keyring-10.3.2/tox.ini 2017-04-10 01:52:47.000000000 +0200 +++ new/keyring-10.4.0/tox.ini 2017-06-24 13:07:55.000000000 +0200 @@ -1,6 +1,7 @@ -[testenv] -deps = - -rtests/requirements.txt +[tox] +minversion = 2.4 +[testenv] commands = py.test {posargs} usedevelop = True +extras = testing
