Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-keyring for openSUSE:Factory 
checked in at 2022-11-10 14:21:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring"

Thu Nov 10 14:21:26 2022 rev:52 rq:1035041 version:23.11.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes    
2022-11-01 13:40:27.871224608 +0100
+++ /work/SRC/openSUSE:Factory/.python-keyring.new.1597/python-keyring.changes  
2022-11-10 14:21:46.922179059 +0100
@@ -1,0 +2,14 @@
+Wed Nov  9 14:34:46 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Fix dependencies, remove workaround for gh#jaraco/keyring#526
+
+-------------------------------------------------------------------
+Tue Nov  8 17:17:53 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- Update to version 23.11.0 
+  #603: In libsecret, check that the service is available before declaring 
viability.
+
+- Update to version 23.10.0
+  #526: Bump requirement on importlib_metadata to pull in fix for 
improperly-normalized names on egg-info.
+
+-------------------------------------------------------------------

Old:
----
  keyring-23.9.3.tar.gz

New:
----
  keyring-23.11.0.tar.gz

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

Other differences:
------------------
++++++ python-keyring.spec ++++++
--- /var/tmp/diff_new_pack.4MFW7X/_old  2022-11-10 14:21:47.382181663 +0100
+++ /var/tmp/diff_new_pack.4MFW7X/_new  2022-11-10 14:21:47.386181685 +0100
@@ -25,7 +25,7 @@
 %bcond_with test
 %endif
 Name:           python-keyring%{psuffix}
-Version:        23.9.3
+Version:        23.11.0
 Release:        0
 Summary:        System keyring service access from Python
 License:        MIT AND Python-2.0
@@ -41,8 +41,8 @@
 Requires:       python-SecretStorage >= 3.2
 Requires:       python-jaraco.classes
 Requires:       python-jeepney >= 0.4.2
-%if 0%{python_version_nodots} < 310
-Requires:       python-importlib-metadata >= 3.6
+%if 0%{python_version_nodots} < 312
+Requires:       python-importlib-metadata >= 4.11.4
 %endif
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
@@ -77,8 +77,6 @@
 
 %if %{with test}
 %check
-# https://github.com/jaraco/keyring/issues/526
-rm -r keyring.egg-info
 %pytest
 %endif
 

++++++ keyring-23.9.3.tar.gz -> keyring-23.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/.github/workflows/main.yml 
new/keyring-23.11.0/.github/workflows/main.yml
--- old/keyring-23.9.3/.github/workflows/main.yml       2022-09-17 
22:14:50.000000000 +0200
+++ new/keyring-23.11.0/.github/workflows/main.yml      2022-11-05 
14:42:49.000000000 +0100
@@ -7,20 +7,26 @@
     strategy:
       matrix:
         python:
-        - 3.7
-        - '3.10'
-        - '3.11'
+        - "3.7"
+        - "3.10"
+        - "3.11"
+        # Workaround for actions/setup-python#508
+        dev:
+        - -dev
         platform:
         - ubuntu-latest
         - macos-latest
         - windows-latest
+        include:
+        - python: pypy3.9
+          platform: ubuntu-latest
     runs-on: ${{ matrix.platform }}
     steps:
       - uses: actions/checkout@v3
       - name: Setup Python
         uses: actions/setup-python@v4
         with:
-          python-version: ${{ matrix.python }}-dev
+          python-version: ${{ matrix.python }}${{ matrix.dev }}
       - name: Install tox
         run: |
           python -m pip install tox
@@ -52,7 +58,7 @@
       - name: Setup Python
         uses: actions/setup-python@v4
         with:
-          python-version: "3.11-dev"
+          python-version: 3.11-dev
       - name: Install tox
         run: |
           python -m pip install tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/.readthedocs.yml 
new/keyring-23.11.0/.readthedocs.yml
--- old/keyring-23.9.3/.readthedocs.yml 2022-09-17 22:14:50.000000000 +0200
+++ new/keyring-23.11.0/.readthedocs.yml        2022-11-05 14:42:49.000000000 
+0100
@@ -4,3 +4,10 @@
   - path: .
     extra_requirements:
       - docs
+
+# workaround for readthedocs/readthedocs.org#9623
+build:
+  # workaround for readthedocs/readthedocs.org#9635
+  os: ubuntu-22.04
+  tools:
+    python: "3"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/CHANGES.rst 
new/keyring-23.11.0/CHANGES.rst
--- old/keyring-23.9.3/CHANGES.rst      2022-09-17 22:14:50.000000000 +0200
+++ new/keyring-23.11.0/CHANGES.rst     2022-11-05 14:42:49.000000000 +0100
@@ -1,3 +1,15 @@
+v23.11.0
+--------
+
+* #603: In ``libsecret``, check that the service is available before
+  declaring viability.
+
+v23.10.0
+--------
+
+* #526: Bump requirement on ``importlib_metadata`` to pull in fix for
+  improperly-normalized names on egg-info.
+
 v23.9.3
 -------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/PKG-INFO new/keyring-23.11.0/PKG-INFO
--- old/keyring-23.9.3/PKG-INFO 2022-09-17 22:15:30.299740300 +0200
+++ new/keyring-23.11.0/PKG-INFO        2022-11-05 14:43:15.404185000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: keyring
-Version: 23.9.3
+Version: 23.11.0
 Summary: Store and access your passwords safely.
 Home-page: https://github.com/jaraco/keyring
 Author: Kang Zhang
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/docs/conf.py 
new/keyring-23.11.0/docs/conf.py
--- old/keyring-23.9.3/docs/conf.py     2022-09-17 22:14:50.000000000 +0200
+++ new/keyring-23.11.0/docs/conf.py    2022-11-05 14:42:49.000000000 +0100
@@ -2,10 +2,16 @@
 # -*- coding: utf-8 -*-
 # flake8: noqa
 
-extensions = ['sphinx.ext.autodoc', 'jaraco.packaging.sphinx', 'rst.linker']
+extensions = [
+    'sphinx.ext.autodoc',
+    'jaraco.packaging.sphinx',
+]
 
 master_doc = "index"
+html_theme = "furo"
 
+# Link dates and other references in the changelog
+extensions += ['rst.linker']
 link_files = {
     '../CHANGES.rst': dict(
         using=dict(GH='https://github.com'),
@@ -26,7 +32,7 @@
     )
 }
 
-# Be strict about any broken references:
+# Be strict about any broken references
 nitpicky = True
 
 # Include Python intersphinx mapping to prevent failures
@@ -36,4 +42,7 @@
     'python': ('https://docs.python.org/3', None),
 }
 
+# Preserve authored syntax for defaults
+autodoc_preserve_defaults = True
+
 extensions += ['jaraco.tidelift']
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' "old/keyring-23.9.3/docs/troubleshooting config.md" 
"new/keyring-23.11.0/docs/troubleshooting config.md"
--- "old/keyring-23.9.3/docs/troubleshooting config.md" 2022-09-17 
22:14:50.000000000 +0200
+++ "new/keyring-23.11.0/docs/troubleshooting config.md"        2022-11-05 
14:42:49.000000000 +0100
@@ -6,7 +6,7 @@
 
 When keyring runs, it invokes init_backend which attempts to load a backend 
either as indicated by the environment, the config, or using heuristics [based 
on 
priorities](https://github.com/jaraco/keyring/blob/053e79bc101c45af2b86fb2c323bfb3e96a083cc/keyring/core.py#L93-L97).
 
-Assuming no config is detected from environment variables (it might be worth 
double-checking), when loading from config, it determines the filename by 
calling 
[`keyring.util._platform.config_root()`](https://github.com/jaraco/keyring/blob/053e79bc101c45af2b86fb2c323bfb3e96a083cc/keyring/core.py#L152),
 which as you can see varies by platform.
+Assuming no config is detected from environment variables (it might be worth 
double-checking), when loading from config, it determines the filename by 
calling 
[`keyring.util.platform_.config_root()`](https://github.com/jaraco/keyring/blob/053e79bc101c45af2b86fb2c323bfb3e96a083cc/keyring/core.py#L152),
 which as you can see varies by platform.
 
 Unless you're on Mac or Windows, the [Linux behavior is 
used](https://github.com/jaraco/keyring/blob/053e79bc101c45af2b86fb2c323bfb3e96a083cc/keyring/util/platform_.py#L53-L62).
 That setting also is dependent on the environment. If `XDG_CONFIG_HOME` is 
configured, that is where it will be looking for the config file. If not, it 
will look for it in `~/.local/share` (however that resolves using 
`os.expanduser`). The config file is always named "python_keyring".
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/hook-keyring.backend.py 
new/keyring-23.11.0/hook-keyring.backend.py
--- old/keyring-23.9.3/hook-keyring.backend.py  2022-09-17 22:14:50.000000000 
+0200
+++ new/keyring-23.11.0/hook-keyring.backend.py 2022-11-05 14:42:49.000000000 
+0100
@@ -2,6 +2,6 @@
 Hook used by pyinstaller to expose hidden imports.
 """
 
-from keyring.py310compat import metadata
+from keyring.py312compat import metadata
 
 hiddenimports = [ep.value for ep in 
metadata.entry_points(group='keyring.backends')]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring/backend.py 
new/keyring-23.11.0/keyring/backend.py
--- old/keyring-23.9.3/keyring/backend.py       2022-09-17 22:14:50.000000000 
+0200
+++ new/keyring-23.11.0/keyring/backend.py      2022-11-05 14:42:49.000000000 
+0100
@@ -10,7 +10,7 @@
 
 from typing import Optional
 
-from .py310compat import metadata
+from .py312compat import metadata
 from . import credentials, errors, util
 from ._compat import properties
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring/backends/libsecret.py 
new/keyring-23.11.0/keyring/backends/libsecret.py
--- old/keyring-23.9.3/keyring/backends/libsecret.py    2022-09-17 
22:14:50.000000000 +0200
+++ new/keyring-23.11.0/keyring/backends/libsecret.py   2022-11-05 
14:42:49.000000000 +0100
@@ -7,7 +7,6 @@
 from ..errors import (
     PasswordDeleteError,
     PasswordSetError,
-    ExceptionRaisedContext,
     KeyringLocked,
 )
 
@@ -50,10 +49,15 @@
 
     @properties.classproperty
     def priority(cls):
-        with ExceptionRaisedContext() as exc:
-            Secret.__name__
-        if exc:
+        if not available:
             raise RuntimeError("libsecret required")
+
+        # Make sure there is actually a secret service running
+        try:
+            Secret.Service.get_sync(Secret.ServiceFlags.OPEN_SESSION, None)
+        except GLib.Error as error:
+            raise RuntimeError("Can't open a session to the secret service") 
from error
+
         return 4.8
 
     def get_password(self, service, username):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring/py310compat.py 
new/keyring-23.11.0/keyring/py310compat.py
--- old/keyring-23.9.3/keyring/py310compat.py   2022-09-17 22:14:50.000000000 
+0200
+++ new/keyring-23.11.0/keyring/py310compat.py  1970-01-01 01:00:00.000000000 
+0100
@@ -1,10 +0,0 @@
-import sys
-
-
-__all__ = ['metadata']
-
-
-if sys.version_info > (3, 10):
-    import importlib.metadata as metadata
-else:
-    import importlib_metadata as metadata  # type: ignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring/py312compat.py 
new/keyring-23.11.0/keyring/py312compat.py
--- old/keyring-23.9.3/keyring/py312compat.py   1970-01-01 01:00:00.000000000 
+0100
+++ new/keyring-23.11.0/keyring/py312compat.py  2022-11-05 14:42:49.000000000 
+0100
@@ -0,0 +1,10 @@
+import sys
+
+
+__all__ = ['metadata']
+
+
+if sys.version_info > (3, 12):
+    import importlib.metadata as metadata
+else:
+    import importlib_metadata as metadata  # type: ignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring.egg-info/PKG-INFO 
new/keyring-23.11.0/keyring.egg-info/PKG-INFO
--- old/keyring-23.9.3/keyring.egg-info/PKG-INFO        2022-09-17 
22:15:30.000000000 +0200
+++ new/keyring-23.11.0/keyring.egg-info/PKG-INFO       2022-11-05 
14:43:15.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: keyring
-Version: 23.9.3
+Version: 23.11.0
 Summary: Store and access your passwords safely.
 Home-page: https://github.com/jaraco/keyring
 Author: Kang Zhang
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring.egg-info/SOURCES.txt 
new/keyring-23.11.0/keyring.egg-info/SOURCES.txt
--- old/keyring-23.9.3/keyring.egg-info/SOURCES.txt     2022-09-17 
22:15:30.000000000 +0200
+++ new/keyring-23.11.0/keyring.egg-info/SOURCES.txt    2022-11-05 
14:43:15.000000000 +0100
@@ -36,7 +36,7 @@
 keyring/errors.py
 keyring/http.py
 keyring/py.typed
-keyring/py310compat.py
+keyring/py312compat.py
 keyring.egg-info/PKG-INFO
 keyring.egg-info/SOURCES.txt
 keyring.egg-info/dependency_links.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/keyring.egg-info/requires.txt 
new/keyring-23.11.0/keyring.egg-info/requires.txt
--- old/keyring-23.9.3/keyring.egg-info/requires.txt    2022-09-17 
22:15:30.000000000 +0200
+++ new/keyring-23.11.0/keyring.egg-info/requires.txt   2022-11-05 
14:43:15.000000000 +0100
@@ -1,7 +1,7 @@
 jaraco.classes
 
-[:python_version < "3.10"]
-importlib_metadata>=3.6
+[:python_version < "3.12"]
+importlib_metadata>=4.11.4
 
 [:sys_platform == "linux"]
 SecretStorage>=3.2
@@ -11,9 +11,10 @@
 pywin32-ctypes!=0.1.0,!=0.1.1
 
 [docs]
-sphinx
+sphinx>=3.5
 jaraco.packaging>=9
 rst.linker>=1.9
+furo
 jaraco.tidelift>=1.4
 
 [testing]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/pyproject.toml 
new/keyring-23.11.0/pyproject.toml
--- old/keyring-23.9.3/pyproject.toml   2022-09-17 22:14:50.000000000 +0200
+++ new/keyring-23.11.0/pyproject.toml  2022-11-05 14:42:49.000000000 +0100
@@ -14,7 +14,7 @@
 addopts = "--mypy"
 
 [tool.pytest-enabler.flake8]
-addopts = "--flake8"
+# addopts = "--flake8"
 
 [tool.pytest-enabler.cov]
 addopts = "--cov"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/setup.cfg 
new/keyring-23.11.0/setup.cfg
--- old/keyring-23.9.3/setup.cfg        2022-09-17 22:15:30.299740300 +0200
+++ new/keyring-23.11.0/setup.cfg       2022-11-05 14:43:15.404185000 +0100
@@ -23,7 +23,7 @@
        pywin32-ctypes!=0.1.0,!=0.1.1; sys_platform=="win32"
        SecretStorage>=3.2; sys_platform=="linux"
        jeepney>=0.4.2; sys_platform=="linux"
-       importlib_metadata >= 3.6; python_version < "3.10"
+       importlib_metadata >= 4.11.4; python_version < "3.12"
        jaraco.classes
 
 [options.packages.find]
@@ -46,9 +46,10 @@
        python_implementation != "PyPy"
        pytest-enabler >= 1.3
 docs = 
-       sphinx
+       sphinx >= 3.5
        jaraco.packaging >= 9
        rst.linker >= 1.9
+       furo
        jaraco.tidelift >= 1.4
 
 [options.entry_points]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.9.3/tests/test_packaging.py 
new/keyring-23.11.0/tests/test_packaging.py
--- old/keyring-23.9.3/tests/test_packaging.py  2022-09-17 22:14:50.000000000 
+0200
+++ new/keyring-23.11.0/tests/test_packaging.py 2022-11-05 14:42:49.000000000 
+0100
@@ -1,5 +1,5 @@
 from keyring import backend
-from keyring.py310compat import metadata
+from keyring.py312compat import metadata
 
 
 def test_entry_point():

Reply via email to