Skip to content

Commit

Permalink
s/16.4/17.0/ as this is now a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Jun 10, 2024
1 parent a4b6f7e commit 3a1ecac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions oauthenticator/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ def _login_service_default(self):
[Unicode(os.environ.get('OAUTH2_GROUPS_KEY', 'groups')), Callable()],
config=True,
help="""
.. deprecated:: 16.4
.. deprecated:: 17.0
Use :attr:`auth_state_groups_key` instead.
.. versionchanged:: 16.4
.. versionchanged:: 17.0
:attr:`manage_groups` is now required to be `True` to use this functionality
""",
Expand All @@ -49,7 +49,7 @@ def _claim_groups_key_changed(self, change):
# Emit a deprecation warning directly, without using _deprecated_oauth_aliases,
# as it is not a direct replacement for this functionality
self.log.warning(
"{cls}.claim_groups_key is deprecated since OAuthenticator 16.4, use {cls}.auth_state_groups_key instead".format(
"{cls}.claim_groups_key is deprecated since OAuthenticator 17.0, use {cls}.auth_state_groups_key instead".format(
cls=self.__class__.__name__,
)
)
Expand Down

0 comments on commit 3a1ecac

Please sign in to comment.