From 80c41bd95953f4d1c9ba6622f0c311172c410952 Mon Sep 17 00:00:00 2001 From: YuviPanda Date: Mon, 10 Jun 2024 13:06:04 -0700 Subject: [PATCH] s/16.4/17.0/ as this is now a breaking change --- oauthenticator/generic.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/oauthenticator/generic.py b/oauthenticator/generic.py index d7e92255..f699c16b 100644 --- a/oauthenticator/generic.py +++ b/oauthenticator/generic.py @@ -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 """, @@ -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__, ) )