Skip to content

Commit

Permalink
Re-expose properties classes in keyring.util.properties. Fixes #593.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 4, 2022
1 parent fd0f76a commit 80bbc8a
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGES.rst
@@ -1,3 +1,9 @@
v23.9.1
-------

* #593: Restore ``keyring.util.properties`` with deprecation warning for
backward compatibility.

v23.9.0
-------

Expand Down
18 changes: 18 additions & 0 deletions keyring/util/properties.py
@@ -0,0 +1,18 @@
"""
Backward compat shim
"""

import warnings

from .._compat import properties


NonDataProperty = properties.NonDataProperty
ClassProperty = properties.classproperty


warnings.warn(
"Properties from keyring.util are no longer supported. "
"Use jaraco.classes.properties instead.",
DeprecationWarning,
)
1 change: 1 addition & 0 deletions pytest.ini
Expand Up @@ -17,3 +17,4 @@ filterwarnings=
ignore:Flake8Item is an Item subclass and should not be a collector:pytest.PytestWarning

ignore:OS_X module is deprecated
ignore:Properties from keyring.util

0 comments on commit 80bbc8a

Please sign in to comment.