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-06-17 21:18:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring.new.1548 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring"

Fri Jun 17 21:18:38 2022 rev:44 rq:982899 version:23.6.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes    
2022-06-10 15:57:14.168798897 +0200
+++ /work/SRC/openSUSE:Factory/.python-keyring.new.1548/python-keyring.changes  
2022-06-17 21:18:53.534655567 +0200
@@ -1,0 +2,7 @@
+Wed Jun 15 20:24:08 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com>
+
+- update to 23.6.0 
+  #575: Only require importlib_metadata on older Pythons.
+  #579: Add .with_keychain method on macOS for easy reference to alternate 
keychains.
+
+-------------------------------------------------------------------

Old:
----
  keyring-23.5.1.tar.gz

New:
----
  keyring-23.6.0.tar.gz

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

Other differences:
------------------
++++++ python-keyring.spec ++++++
--- /var/tmp/diff_new_pack.t0hp1U/_old  2022-06-17 21:18:54.098655872 +0200
+++ /var/tmp/diff_new_pack.t0hp1U/_new  2022-06-17 21:18:54.102655875 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
 Name:           python-keyring
-Version:        23.5.1
+Version:        23.6.0
 Release:        0
 Summary:        System keyring service access from Python
 License:        MIT AND Python-2.0

++++++ keyring-23.5.1.tar.gz -> keyring-23.6.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/.coveragerc 
new/keyring-23.6.0/.coveragerc
--- old/keyring-23.5.1/.coveragerc      2022-05-23 03:52:38.000000000 +0200
+++ new/keyring-23.6.0/.coveragerc      2022-06-08 14:35:20.000000000 +0200
@@ -2,6 +2,7 @@
 omit =
        # leading `*/` for pytest-dev/pytest-cov#456
        */.tox/*
+       */pep517-build-env-*
 
 [report]
 show_missing = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/.github/workflows/main.yml 
new/keyring-23.6.0/.github/workflows/main.yml
--- old/keyring-23.5.1/.github/workflows/main.yml       2022-05-23 
03:52:38.000000000 +0200
+++ new/keyring-23.6.0/.github/workflows/main.yml       2022-06-08 
14:35:20.000000000 +0200
@@ -7,18 +7,20 @@
     strategy:
       matrix:
         python:
-        - 3.7
-        - 3.9
-        - "3.10"
+        # Build on pre-releases until stable, then stable releases.
+        # actions/setup-python#213
+        - ~3.7.0-0
+        - ~3.10.0-0
+        - ~3.11.0-0
         platform:
         - ubuntu-latest
         - macos-latest
         - windows-latest
     runs-on: ${{ matrix.platform }}
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Python
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v3
         with:
           python-version: ${{ matrix.python }}
       - name: Install tox
@@ -48,9 +50,9 @@
     runs-on: ubuntu-latest
 
     steps:
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
       - name: Setup Python
-        uses: actions/setup-python@v2
+        uses: actions/setup-python@v3
         with:
           python-version: "3.10"
       - name: Install tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/CHANGES.rst 
new/keyring-23.6.0/CHANGES.rst
--- old/keyring-23.5.1/CHANGES.rst      2022-05-23 03:52:38.000000000 +0200
+++ new/keyring-23.6.0/CHANGES.rst      2022-06-08 14:35:20.000000000 +0200
@@ -1,3 +1,10 @@
+v23.6.0
+-------
+
+* #575: Only require ``importlib_metadata`` on older Pythons.
+* #579: Add ``.with_keychain`` method on macOS for easy reference
+  to alternate keychains.
+
 v23.5.1
 -------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/PKG-INFO new/keyring-23.6.0/PKG-INFO
--- old/keyring-23.5.1/PKG-INFO 2022-05-23 03:53:03.854792800 +0200
+++ new/keyring-23.6.0/PKG-INFO 2022-06-08 14:35:51.476252600 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: keyring
-Version: 23.5.1
+Version: 23.6.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.5.1/docs/conf.py 
new/keyring-23.6.0/docs/conf.py
--- old/keyring-23.5.1/docs/conf.py     2022-05-23 03:52:38.000000000 +0200
+++ new/keyring-23.6.0/docs/conf.py     2022-06-08 14:35:20.000000000 +0200
@@ -20,7 +20,7 @@
             ),
             dict(
                 pattern=r'PEP[- ](?P<pep_number>\d+)',
-                url='https://www.python.org/dev/peps/pep-{pep_number:0>4}/',
+                url='https://peps.python.org/pep-{pep_number:0>4}/',
             ),
         ],
     )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/hook-keyring.backend.py 
new/keyring-23.6.0/hook-keyring.backend.py
--- old/keyring-23.5.1/hook-keyring.backend.py  2022-05-23 03:52:38.000000000 
+0200
+++ new/keyring-23.6.0/hook-keyring.backend.py  2022-06-08 14:35:20.000000000 
+0200
@@ -1,6 +1,7 @@
-# Used by pyinstaller to expose hidden imports
-
-import importlib_metadata as metadata
+"""
+Hook used by pyinstaller to expose hidden imports.
+"""
 
+from keyring.py310compat 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.5.1/keyring/backend.py 
new/keyring-23.6.0/keyring/backend.py
--- old/keyring-23.5.1/keyring/backend.py       2022-05-23 03:52:38.000000000 
+0200
+++ new/keyring-23.6.0/keyring/backend.py       2022-06-08 14:35:20.000000000 
+0200
@@ -9,8 +9,7 @@
 
 from typing import Optional
 
-import importlib_metadata as metadata
-
+from .py310compat import metadata
 from . import credentials, errors, util
 from .util import properties
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/keyring/backends/macOS/__init__.py 
new/keyring-23.6.0/keyring/backends/macOS/__init__.py
--- old/keyring-23.5.1/keyring/backends/macOS/__init__.py       2022-05-23 
03:52:38.000000000 +0200
+++ new/keyring-23.6.0/keyring/backends/macOS/__init__.py       2022-06-08 
14:35:20.000000000 +0200
@@ -66,3 +66,8 @@
             raise PasswordDeleteError(
                 "Can't delete password in keychain: " "{}".format(e)
             )
+
+    def with_keychain(self, keychain):
+        alt = Keyring()
+        alt.keychain = keychain
+        return alt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/keyring/py310compat.py 
new/keyring-23.6.0/keyring/py310compat.py
--- old/keyring-23.5.1/keyring/py310compat.py   1970-01-01 01:00:00.000000000 
+0100
+++ new/keyring-23.6.0/keyring/py310compat.py   2022-06-08 14:35:20.000000000 
+0200
@@ -0,0 +1,10 @@
+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.5.1/keyring.egg-info/PKG-INFO 
new/keyring-23.6.0/keyring.egg-info/PKG-INFO
--- old/keyring-23.5.1/keyring.egg-info/PKG-INFO        2022-05-23 
03:53:03.000000000 +0200
+++ new/keyring-23.6.0/keyring.egg-info/PKG-INFO        2022-06-08 
14:35:50.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: keyring
-Version: 23.5.1
+Version: 23.6.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.5.1/keyring.egg-info/SOURCES.txt 
new/keyring-23.6.0/keyring.egg-info/SOURCES.txt
--- old/keyring-23.5.1/keyring.egg-info/SOURCES.txt     2022-05-23 
03:53:03.000000000 +0200
+++ new/keyring-23.6.0/keyring.egg-info/SOURCES.txt     2022-06-08 
14:35:51.000000000 +0200
@@ -34,6 +34,7 @@
 keyring/errors.py
 keyring/http.py
 keyring/py.typed
+keyring/py310compat.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.5.1/keyring.egg-info/requires.txt 
new/keyring-23.6.0/keyring.egg-info/requires.txt
--- old/keyring-23.5.1/keyring.egg-info/requires.txt    2022-05-23 
03:53:03.000000000 +0200
+++ new/keyring-23.6.0/keyring.egg-info/requires.txt    2022-06-08 
14:35:51.000000000 +0200
@@ -1,3 +1,5 @@
+
+[:python_version < "3.10"]
 importlib_metadata>=3.6
 
 [:sys_platform == "linux"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/setup.cfg new/keyring-23.6.0/setup.cfg
--- old/keyring-23.5.1/setup.cfg        2022-05-23 03:53:03.854792800 +0200
+++ new/keyring-23.6.0/setup.cfg        2022-06-08 14:35:51.476252600 +0200
@@ -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
+       importlib_metadata >= 3.6; python_version < "3.10"
 
 [options.packages.find]
 exclude = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/tests/backends/test_macOS.py 
new/keyring-23.6.0/tests/backends/test_macOS.py
--- old/keyring-23.5.1/tests/backends/test_macOS.py     2022-05-23 
03:52:38.000000000 +0200
+++ new/keyring-23.6.0/tests/backends/test_macOS.py     2022-06-08 
14:35:20.000000000 +0200
@@ -12,3 +12,8 @@
 class Test_macOSKeychain(BackendBasicTests):
     def init_keyring(self):
         return macOS.Keyring()
+
+    def test_alternate_keychain(self):
+        alt = self.keyring.with_keychain('abcd')
+        assert alt.keychain == 'abcd'
+        assert self.keyring.keychain != 'abcd'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/keyring-23.5.1/tests/test_packaging.py 
new/keyring-23.6.0/tests/test_packaging.py
--- old/keyring-23.5.1/tests/test_packaging.py  2022-05-23 03:52:38.000000000 
+0200
+++ new/keyring-23.6.0/tests/test_packaging.py  2022-06-08 14:35:20.000000000 
+0200
@@ -1,6 +1,5 @@
-import importlib_metadata as metadata
-
 from keyring import backend
+from keyring.py310compat import metadata
 
 
 def test_entry_point():

Reply via email to