Commit Graph

79 Commits

Author SHA256 Message Date
d9bfe79d1b - update to 25.2.1:
* Fix typo in CLI creds mode.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=133
2024-05-14 08:12:12 +00:00
9be3a83a16 - update to 25.2.0:
* Added options for 'keyring get' command to support credential
    retrieval and emit as JSON.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=132
2024-05-10 13:33:06 +00:00
1c8c3039e2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=130 2024-04-07 09:29:42 +00:00
0fcf0b00e5 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=129 2024-04-07 09:19:54 +00:00
1ea386e9c1 - update to 25.1.0:
* Replace ExceptionRaisedContext with ExceptionTrap.
  * When completion is unavailable, exit with non-zero status and
    emit message to stderr.
  * Removed check for config in XDG_DATA_HOME on Linux systems.
  * In platform config support, remove support for Windows XP,
    now 10 years sunset.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=128
2024-04-06 19:39:16 +00:00
7ead75bd68 - update to 24.3.1:
* Minor fixes to account for emergent typing and linter
    concerns.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=126
2024-03-16 09:03:47 +00:00
97747e2f1b - update to 24.3.0:
* Added bash completion support. (#643)
- Update to version 23.11.0
- Inject multibuild to prevent a build cycle
- update to 23.6.0
- Added keyring-import-gi.patch: gi.require_version is called and not
- reduce/fix build requires
  * All code now runs natively on both Python 2 and Python 3,
  * Renamed ``keyring.util.platform`` to ``keyring.util.platform_``.
  Introspection, not the obsolete python-gnomekeyring module

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=124
2023-11-27 19:30:35 +00:00
51ac28445b Accepting request 1099406 from home:ecsos:python
- %{?sle15_python_module_pythons} must at the beginning to work.

OBS-URL: https://build.opensuse.org/request/show/1099406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=122
2023-07-19 11:10:39 +00:00
055ef6fe64 Accepting request 1098435 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1098435
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=120
2023-07-13 09:58:52 +00:00
c891a243bc Accepting request 1081474 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081474
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=118
2023-04-21 13:18:27 +00:00
93e15e27b9 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=116 2023-01-03 12:47:35 +00:00
65b0fce96e - update to 23.13.1:
* #608: Added support for tab completion on the ``keyring`` command
  if the ``completion`` extra is installed (``keyring[completion]``).
  * #612: Prevent installation of ``pywin32-ctypes 0.1.2`` with broken
  ``use2to3`` directive.
  * #607: Removed PSF license as it was unused and confusing. Project
  remains MIT licensed as always.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=115
2023-01-02 18:38:01 +00:00
81cc2bbbaf Accepting request 1034864 from home:bnavigator:branches:devel:languages:python
- Fix dependencies, remove workaround for gh#jaraco/keyring#526

OBS-URL: https://build.opensuse.org/request/show/1034864
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=113
2022-11-10 10:44:29 +00:00
4168f7dba7 Accepting request 1034589 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1034589
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=112
2022-11-08 21:15:17 +00:00
4c4b3032d3 Accepting request 1032309 from home:bnavigator:branches:devel:languages:python
- Drop support-new-importlib.patch
  * "New" importlib 5.0 dropped deprecated indexing support
    gh#python/importlib_metadata#405
  * See also gh#jaraco/keyring#526

OBS-URL: https://build.opensuse.org/request/show/1032309
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=110
2022-10-31 07:50:59 +00:00
999f3bfdbe Accepting request 1005672 from home:bnavigator:branches:devel:languages:python
- Clean specfile from setuptools cruft, this is a PEP517 package
- Only python >= 3.7 is supported
- Fix more runtime requirements

OBS-URL: https://build.opensuse.org/request/show/1005672
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=106
2022-09-24 06:33:31 +00:00
4c78d65d98 Accepting request 1005031 from home:XRevan86
- Update to version 23.9.3.

OBS-URL: https://build.opensuse.org/request/show/1005031
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=104
2022-09-20 19:13:52 +00:00
f298148c85 - update to 23.9.1:
* #593: Restore ``keyring.util.properties`` with deprecation warning for
    backward compatibility.
  * #588: Project now depends on ``jaraco.classes`` for class property support.
  * #581: Corrected regression in ``libsecret`` tests (``.collection`` property).
  * #587: Fix regression in ``libsecret``.
  * #448: ``SecretService`` and ``libsecret`` backends now support a
    new ``SelectableScheme``, allowing the keys for "username" and
    "service" to be overridden for compatibility with other schemes
    such as KeePassXC.
  * Introduced a new ``.with_properties`` method on backends to
    produce a new keyring with different properties. Use for example
    to get a keyring with a different ``keychain`` (macOS) or
    ``scheme`` (SecretService/libsecret). e.g.::
      keypass = keyring.get_keyring().with_properties(scheme='KeePassXC')
  * ``.with_keychain`` method on macOS is superseded by ``.with_properties``
    and so is now deprecated.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=102
2022-09-17 08:35:16 +00:00
Steve Kowalik
9f64cb51da - Inject multibuild to prevent a build cycle
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=100
2022-08-29 04:51:03 +00:00
b1606c4346 - update to 23.7.0:
* #582: Suppress KeyringErrors for devpi client.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=98
2022-07-24 09:13:11 +00:00
22800060f4 Accepting request 982884 from home:yarunachalam:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/982884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=96
2022-06-15 22:48:28 +00:00
5e1a57856c - update to 23.5.1:
* The correct config root is now used on Windows

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=94
2022-06-08 20:05:47 +00:00
0ab6fd2f2b - update to 23.5.0:
* Require Python 3.7 or later.
  * #551: Fixed docs warnings.
  * #549: EnvironCredential now allows for equality
    comparison.
  * #529: macOS backend is no longer viable if the API module
    cannot be loaded. Prevents "symbol not found" errors on
    macOS 11 (Big Sur) and later when a "universal2" binary
    is not used (available for Python 3.8.7 and later).
  * #547: Tests no longer attempt to run macOS backends even
    on macOS when the backend is non-viable.
  * #542: Change get_credential to return generic Credential.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=93
2022-01-10 22:46:27 +00:00
Steve Kowalik
c1e30050aa - Update to 23.2.1:
* #530: In libsecret tests, use a session collection to allow tests
    to pass on Debian.
  * #521: Add libsecret backend.
  * #519: macOS backend APIs updated to newer, non-legacy APIs.
- Add patch support-new-importlib.patch:
  * Support new importlib-metadata.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=92
2021-09-24 09:22:36 +00:00
7becd474d0 - Update to 23.0.1:
* #504: Better error with invalid parameter to init_keyring.
  * #505: Nicer documentation for headless Docker.
  * Backends now all invoke ``set_properties_from_env`` on
    self in the initializer. Derived backends should be sure
    to invoke ``super().__init__()``.
  * Use new entry points API from importlib_metadata 3.6.
  * Added redundant type declarations for accessor functions
    in ``keyring.core``.
  * Added type declaration for ``keyring.core.get_keyring()``.
  * #438: For better interoperability with other
    applications, ``Windows`` backend now attempts to
    decode passwords using UTF-8 if UTF-16 decoding fails.
    Passwords are still stored as UTF-16.
  * #437: Package now declares typing support.
  * #403: Keyring no longer eagerly initializes the backend
    on import, but instead defers the backend initialization
    until a keyring is accessed. Any callers reliant on this
    early intialization behavior may need to call
    ``keyring.core.init_backend()`` to explicitly initialize
    the detected backend.
  * #474: SecretService and KWallet backends are now
    disabled if the relevant names are not available on
    D-Bus. Keyring should now be much more responsive
    in these environments.
  * #463: Fixed regression in KWallet ``get_credential``
    where a simple string was returned instead of a
    SimpleCredential.
  * #431: KWallet backend now supports ``get_credential``.
  * #445: Suppress errors when ``sys.argv`` is not

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=90
2021-06-17 15:03:11 +00:00
Markéta Machová
0bbe6cf4b1 Accepting request 873026 from home:alarrosa:branches:devel:languages:python
- On SLE/Leap, set the egg version on %prep to the package version
  since it's not being set automatically.

OBS-URL: https://build.opensuse.org/request/show/873026
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=88
2021-02-17 14:20:16 +00:00
Tomáš Chvátal
61c07da8d6 Accepting request 838789 from home:frispete:python
- Fold -tests package into mail package again

- Apply fix-kwallet-tests.patch

- fix packaging tests

- Package tests in separate package $flavor-tests
  Allows packages, that depend on these tests, to build successfully
  e.g. keyrings.cryptfile

OBS-URL: https://build.opensuse.org/request/show/838789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=86
2020-09-30 17:23:20 +00:00
2397031c33 - update to 21.2.1:
* #426: Restored lenience on startup when entry point
    metadata is missing.
  * #423: Avoid RecursionError when initializing backends
    when a limit is supplied.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=84
2020-06-02 16:33:36 +00:00
Tomáš Chvátal
190bda1f65 - Fix the requirements to match reality of setup.cfg
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=83
2020-05-28 07:17:20 +00:00
Tomáš Chvátal
c6b79ee653 Accepting request 808627 from home:pgajdos:python
submit

OBS-URL: https://build.opensuse.org/request/show/808627
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=82
2020-05-25 09:26:37 +00:00
Tomáš Chvátal
ee812d94f0 Accepting request 794535 from home:pgajdos:python
Too soon?

OBS-URL: https://build.opensuse.org/request/show/794535
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=80
2020-04-16 10:27:32 +00:00
Tomáš Chvátal
7871c12f9c Accepting request 689486 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/689486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=78
2019-03-29 09:21:19 +00:00
Tomáš Chvátal
bd3c6415ca - Update to 18.0.1:
* #386: ExceptionInfo no longer retains a reference to the traceback.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=77
2019-03-28 15:06:15 +00:00
Tomáš Chvátal
3515109f63 - Revert the test removal pending fix of upstream bug:
https://github.com/jaraco/keyrings.alt/issues/33

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=75
2019-03-06 08:40:56 +00:00
Tomáš Chvátal
860d3eb303 Accepting request 679265 from home:jayvdb:noflake8
- Add LICENSE
- Remove tests from runtime package
- Fix test failure occurring in test_packaging.py
- Use pytest --ignore to avoid removing build directories in %check
- Remove unnecessary build dependency pytest-sugar
- Update from v15.1.0 to v18.0.0

OBS-URL: https://build.opensuse.org/request/show/679265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=73
2019-02-26 13:42:06 +00:00
Tomáš Chvátal
e6d0d227b3 Accepting request 641840 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/641840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=71
2018-10-14 08:49:34 +00:00
186b759960 - drop flake8 dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=69
2018-09-05 20:28:02 +00:00
6c0ae6e652 - Update to 13.2.1:
* #335: Fix regression in command line client.
  * Keyring command-line interface now reads the password
   directly from stdin if stdin is connected to a pipe.
  * #329: Improve output of ``keyring --list-backends``.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=67
2018-07-09 13:43:02 +00:00
Tomáš Chvátal
c9caa62960 - Version update to 13.0.0:
* #327: In kwallet backend, if the collection or item is
    locked, a ``KeyringLocked`` exception is raised. Clients
    expecting a None response from ``get_password`` under
    this condition will need to catch this exception.
    Additionally, an ``InitError`` is now raised if the
    connection cannot be established to the DBus.
  * #298: In kwallet backend, when checking an existing
    handle, verify that it is still valid or create a new
    connection.
  * Fixed issue in SecretService. Ref #226.
  * #322: Fix AttributeError when ``escape.__builtins__``
    is a dict.
  * Deprecated ``keyring.util.escape`` module. If you use
    this module or encounter the warning (on the latest
    release of your packages), please `file a ticket
    <https://github.com/jaraco/keyring/issues/new>`_.
  * Unpin SecretStorage on Python 3.5+. Requires that
    Setuptools 17.1 be used. Note that the special
    handling will be unnecessary once Pip 9 can be
    assumed (as it will exclude SecretStorage 3 in
    non-viable environments).
  * #310: Keyring now loads all backends through entry
    points.
  * #312: Use ``entrypoints`` instead of pkg_resources to
    avoid performance hit loading pkg_resources. Adds
    a dependency on ``entrypoints``.
  * #294: No longer expose ``keyring.__version__`` (added
    in 8.1) to avoid performance hit loading pkg_resources.
  * #299: Keyring exceptions are now derived from a base

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=65
2018-06-23 07:38:04 +00:00
Tomáš Chvátal
303db75e2a - Fix building in py3 only enviroment
- Remove the test conditional which was always on anyway

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=63
2018-01-24 10:27:56 +00:00
a68c6ed176 Accepting request 546226 from home:mimi_vx:branches:devel:languages:python
- update to 10.5.0:
  * Added --list-backends option to command-line interface.
  * Removed logger from keyring
  * Set the appid for SecretService & KWallet to something meaningful

OBS-URL: https://build.opensuse.org/request/show/546226
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=61
2017-11-28 17:08:29 +00:00
Thomas Bechtold
f4b3a466ce Accepting request 518325 from home:tbechtold:branches:devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/518325
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=59
2017-08-23 05:22:48 +00:00
Todd R
b9525e7583 Accepting request 492692 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version.
- Fix source URL.
- Update to version 10.3.2

OBS-URL: https://build.opensuse.org/request/show/492692
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=57
2017-05-03 16:04:18 +00:00
7de08d7b11 Accepting request 450920 from home:stroeder:branches:devel:languages:python
update to 10.2

requires python-setuptools_scm>=1.15.0, see request #450874

OBS-URL: https://build.opensuse.org/request/show/450920
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=55
2017-01-18 13:46:53 +00:00
Jan Matejek
8f867e864c Accepting request 440041 from home:stroeder:branches:devel:languages:python
update to 10.0.2

OBS-URL: https://build.opensuse.org/request/show/440041
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=53
2016-11-15 15:22:45 +00:00
Thomas Bechtold
101a37dc2c Accepting request 419109 from home:stroeder:branches:devel:languages:python
update to 9.3.1

OBS-URL: https://build.opensuse.org/request/show/419109
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=51
2016-08-15 05:34:30 +00:00
180c2e2ada Accepting request 405489 from home:tbechtold:branches:devel:languages:python
- update to 9.3:
9.3
---
* Pull Request #226: In SecretService backend, unlock
  individual entries.
9.2.1
-----
* Issue #230: Don't rely on dbus-python and instead
  defer to SecretStorage to describe the installation
  requirements.
9.2
---
* Issue #231 via #233: On Linux, ``secretstorage``
  is now a declared dependency, allowing recommended
  keyring to work simply after installation.
9.1
---
* Issue #83 via #229: ``kwallet`` backend now stores
  the service name as a folder name in the backend rather
  than storing all passwords in a Python folder.
- Adjust Requires
- Use pypi.io for Source url

OBS-URL: https://build.opensuse.org/request/show/405489
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=50
2016-07-04 08:17:41 +00:00
0d9b66d728 - require python-setuptools (see bsc#983147)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=48
2016-06-06 11:21:29 +00:00
eef17d0f59 Accepting request 400053 from home:stroeder:branches:devel:languages:python
require python-setuptools (see #983147)

OBS-URL: https://build.opensuse.org/request/show/400053
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=47
2016-06-06 11:21:02 +00:00
1ca2547ded Accepting request 393936 from home:stroeder:branches:devel:languages:python
update to 9.0

OBS-URL: https://build.opensuse.org/request/show/393936
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-keyring?expand=0&rev=45
2016-05-06 07:29:42 +00:00