pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-oauthlib py-oauthlib: updated to 3.0.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/d573c89e4dea
branches: trunk
changeset: 317830:d573c89e4dea
user: adam <adam%pkgsrc.org@localhost>
date: Wed Jan 16 09:36:21 2019 +0000
description:
py-oauthlib: updated to 3.0.0
3.0.0 (2019-01-01)
OAuth2.0 Provider - outstanding Features
OpenID Connect Core support
RFC7662 Introspect support
RFC8414 OAuth2.0 Authorization Server Metadata support
RFC7636 PKCE support
OAuth2.0 Provider - API/Breaking Changes
Add "request" to confirm_redirect_uri
confirm_redirect_uri/get_default_redirect_uri has a bit changed
invalid_client is now a FatalError
Changed errors status code from 401 to 400:
invalid_grant:
invalid_scope:
access_denied/unauthorized_client/consent_required/login_required
401 must have WWW-Authenticate HTTP Header set
OAuth2.0 Provider - Bugfixes
empty scopes no longer raise exceptions for implicit and authorization_code
OAuth2.0 Client - Bugfixes / Changes:
expires_in in Implicit flow is now an integer
expires is no longer overriding expires_in
parse_request_uri_response is now required
Unknown error=xxx raised by OAuth2 providers was not understood
OAuth2's prepare_token_request supports sending an empty string for client_id
OAuth2's WebApplicationClient.prepare_request_body was refactored to better support sending or omitting the client_id via a new include_client_id kwarg. By default this is included. The method will
also emit a DeprecationWarning if a client_id parameter is submitted; the already configured self.client_id is the preferred option.
OAuth1.0 Client:
Support for HMAC-SHA256
General fixes:
$ and ' are allowed to be unencoded in query strings
Request attributes are no longer overriden by HTTP Headers
Removed unnecessary code for handling python2.6
Add support of python3.7
Several minors updates to setup.py and tox
Set pytest as the default unittest framework
diffstat:
security/py-oauthlib/Makefile | 4 +-
security/py-oauthlib/PLIST | 56 +++++++++++++++++++++++++++++++++++++++---
security/py-oauthlib/distinfo | 10 +++---
3 files changed, 59 insertions(+), 11 deletions(-)
diffs (111 lines):
diff -r 2f59a519f1ac -r d573c89e4dea security/py-oauthlib/Makefile
--- a/security/py-oauthlib/Makefile Wed Jan 16 09:13:35 2019 +0000
+++ b/security/py-oauthlib/Makefile Wed Jan 16 09:36:21 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.15 2018/05/27 12:24:56 wiz Exp $
+# $NetBSD: Makefile,v 1.16 2019/01/16 09:36:21 adam Exp $
-DISTNAME= oauthlib-2.1.0
+DISTNAME= oauthlib-3.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/oauthlib/}
diff -r 2f59a519f1ac -r d573c89e4dea security/py-oauthlib/PLIST
--- a/security/py-oauthlib/PLIST Wed Jan 16 09:13:35 2019 +0000
+++ b/security/py-oauthlib/PLIST Wed Jan 16 09:36:21 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2016/09/04 09:33:28 wiz Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/01/16 09:36:21 adam Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -91,6 +91,12 @@
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.py
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.pyc
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/base.pyo
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/introspect.py
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/introspect.pyc
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/introspect.pyo
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/metadata.py
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/metadata.pyc
+${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/metadata.pyo
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.py
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyc
${PYSITELIB}/oauthlib/oauth2/rfc6749/endpoints/pre_configured.pyo
@@ -121,9 +127,6 @@
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.py
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.pyc
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/implicit.pyo
-${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/openid_connect.py
-${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/openid_connect.pyc
-${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/openid_connect.pyo
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.py
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.pyc
${PYSITELIB}/oauthlib/oauth2/rfc6749/grant_types/refresh_token.pyo
@@ -142,6 +145,51 @@
${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.py
${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyc
${PYSITELIB}/oauthlib/oauth2/rfc6749/utils.pyo
+${PYSITELIB}/oauthlib/openid/__init__.py
+${PYSITELIB}/oauthlib/openid/__init__.pyc
+${PYSITELIB}/oauthlib/openid/__init__.pyo
+${PYSITELIB}/oauthlib/openid/connect/__init__.py
+${PYSITELIB}/oauthlib/openid/connect/__init__.pyc
+${PYSITELIB}/oauthlib/openid/connect/__init__.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/__init__.py
+${PYSITELIB}/oauthlib/openid/connect/core/__init__.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/__init__.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/__init__.py
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/__init__.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/__init__.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/pre_configured.py
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/pre_configured.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/endpoints/pre_configured.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/exceptions.py
+${PYSITELIB}/oauthlib/openid/connect/core/exceptions.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/exceptions.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/__init__.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/__init__.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/__init__.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/authorization_code.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/authorization_code.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/authorization_code.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/base.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/base.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/base.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/dispatchers.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/exceptions.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/hybrid.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.py
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/grant_types/implicit.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/request_validator.py
+${PYSITELIB}/oauthlib/openid/connect/core/request_validator.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/request_validator.pyo
+${PYSITELIB}/oauthlib/openid/connect/core/tokens.py
+${PYSITELIB}/oauthlib/openid/connect/core/tokens.pyc
+${PYSITELIB}/oauthlib/openid/connect/core/tokens.pyo
${PYSITELIB}/oauthlib/signals.py
${PYSITELIB}/oauthlib/signals.pyc
${PYSITELIB}/oauthlib/signals.pyo
diff -r 2f59a519f1ac -r d573c89e4dea security/py-oauthlib/distinfo
--- a/security/py-oauthlib/distinfo Wed Jan 16 09:13:35 2019 +0000
+++ b/security/py-oauthlib/distinfo Wed Jan 16 09:36:21 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.14 2018/05/27 12:24:56 wiz Exp $
+$NetBSD: distinfo,v 1.15 2019/01/16 09:36:21 adam Exp $
-SHA1 (oauthlib-2.1.0.tar.gz) = 3e7b426212fc0d9f91813a983238321ee9026d15
-RMD160 (oauthlib-2.1.0.tar.gz) = f8a3993c595191170bdbbe6c8b407c29e98e8340
-SHA512 (oauthlib-2.1.0.tar.gz) = bd749c7b65de00cc0c371053577623aca5767a0b20e41b2d5e3e20f8246e84bf360472b4ec983023227d6164ecd7ed4647c41cd8f425fe21200a2c25a9049ffd
-Size (oauthlib-2.1.0.tar.gz) = 128807 bytes
+SHA1 (oauthlib-3.0.0.tar.gz) = 97338bbdfbe4775e6f076389b9fe8ff2927be683
+RMD160 (oauthlib-3.0.0.tar.gz) = 613fc12c802fe077b85f3f0fcceaca25674c1302
+SHA512 (oauthlib-3.0.0.tar.gz) = fbaeecaf370ac1fe2f43a95b04556a4838f22f61388989af20402f76ea3cbc038836e121cb54e32e11826a1c881d485bcb7ab9271f01500e092364407f797351
+Size (oauthlib-3.0.0.tar.gz) = 149035 bytes
Home |
Main Index |
Thread Index |
Old Index