Subject: CVS commit: pkgsrc/security/py-oauthlib
From: Adam Ciarcinski
Date: 2021-06-25 23:00:13
Message id: 20210625210013.2DCBEFA95@cvs.NetBSD.org

Log Message:
py-oauthlib: updated to 3.1.1

3.1.1 (2021-05-31)
------------------
OAuth2.0 Provider - Bugfixes

  * Fix acceptance of valid IPv6 addresses in URI validation

OAuth2.0 Client - Bugfixes

  * Base OAuth2 Client now has a consistent way of managing the `scope`: it \ 
consistently
    relies on the `scope` provided in the constructor if any, except if \ 
overridden temporarily
    in a method call. Note that in particular providing a non-None `scope` in
    `prepare_authorization_request` or `prepare_refresh_token` does not override \ 
anymore
    `self.scope` forever, it is just used temporarily.
  * MobileApplicationClient.prepare_request_uri and \ 
MobileApplicationClient.parse_request_uri_response,
    ServiceApplicationClient.prepare_request_body,
    and WebApplicationClient.prepare_request_uri now correctly use the default \ 
`scope` provided in
    constructor.
  * LegacyApplicationClient.prepare_request_body now correctly uses the default \ 
`scope` provided in constructor

OAuth2.0 Provider - Bugfixes
  * client_credentials grant: fix log message
  * OpenID Connect Hybrid - fix nonce not passed to add_id_token
  * Different prompt values are now handled according to spec (e.g. prompt=none)
  * OpenID Connect - fix Authorization: Basic parsing

General
  * improved skeleton validator for public vs private client
  * replace mock library with standard unittest.mock
  * build isort integration
  * python2 code removal
  * add python3.8 support
  * bump minimum versions of pyjwt and cryptography

Files:
RevisionActionfile
1.21modifypkgsrc/security/py-oauthlib/Makefile
1.8modifypkgsrc/security/py-oauthlib/PLIST
1.19modifypkgsrc/security/py-oauthlib/distinfo