From 39a5a5d309d77e16f04d3da35039a5a513a781c3 Mon Sep 17 00:00:00 2001 From: Nicolas Graves Date: Sun, 30 Nov 2025 16:58:50 +0100 Subject: [PATCH] gnu: python-oauthlib: Update to 3.3.1. * gnu/packages/python-web.scm (python-oauthlib): Update to 3.3.1. [source]: Switch to git-fetch. [build-system]: Switch to pyproject-build-system. [arguments]: Drop them. [native-inputs]: Add python-setuptools. Change-Id: I1cf5e88607384a0542614b443f0e2b4a0e913fab Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-web.scm | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7e8ee741e3bf98dcfaa5af9ffab2f92d9af49c61..fdb55183fefc5c4f266a3dd4dde83e5cc3570796 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -6856,23 +6856,20 @@ used as authentication in IMAP mail servers.") (define-public python-oauthlib (package (name "python-oauthlib") - (version "3.1.0") - (source (origin - (method url-fetch) - (uri (pypi-uri "oauthlib" version)) - (sha256 - (base32 - "12gqnabwck30gdlpwm6af3s28qm9p2yc7b1w8s4fk9ncbz1irr5y")))) - (build-system python-build-system) - (arguments - `(#:phases (modify-phases %standard-phases - (replace 'check - (lambda _ - (invoke "pytest" "-vv")))))) - (native-inputs - (list python-pytest python-pytest-cov python-mock)) - (propagated-inputs - (list python-cryptography python-pyjwt python-blinker)) + (version "3.3.1") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/oauthlib/oauthlib") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0aa38lpa6s1k56v7w7kw2w4l159kaz4gn03m698a8hfdjkx92fb5")))) + (build-system pyproject-build-system) + (native-inputs (list python-pytest python-pytest-cov python-mock + python-setuptools)) + (propagated-inputs (list python-cryptography python-pyjwt python-blinker)) (home-page "https://github.com/oauthlib/oauthlib") (synopsis "OAuth implementation for Python") (description