From 777bf3bb1b3c40fe8a3361087620f9a3731063b9 Mon Sep 17 00:00:00 2001 From: Nicolas Benes Date: Sun, 13 Jul 2025 13:02:44 +0200 Subject: [PATCH] python313Packages.oauthlib: 3.2.2 -> 3.3.1 https://github.com/oauthlib/oauthlib/releases/tag/v3.3.0 https://github.com/oauthlib/oauthlib/releases/tag/v3.3.1 --- .../python-modules/oauthlib/default.nix | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/oauthlib/default.nix b/pkgs/development/python-modules/oauthlib/default.nix index 9fd14254fd49..224a1eb15394 100644 --- a/pkgs/development/python-modules/oauthlib/default.nix +++ b/pkgs/development/python-modules/oauthlib/default.nix @@ -20,16 +20,16 @@ buildPythonPackage rec { pname = "oauthlib"; - version = "3.2.2"; + version = "3.3.1"; pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "oauthlib"; repo = "oauthlib"; - rev = "v${version}"; - hash = "sha256-KADS1pEaLYi86LEt2VVuz8FVTBANzxC8EeQLgGMxuBU="; + tag = "v${version}"; + hash = "sha256-ZTmR+pTNQaRQMnUA+8hXM5VACRd8Hn62KTNooy5FQyk="; }; nativeBuildInputs = [ setuptools ]; @@ -49,14 +49,6 @@ buildPythonPackage rec { ] ++ lib.flatten (lib.attrValues optional-dependencies); - disabledTests = [ - # https://github.com/oauthlib/oauthlib/issues/877 - "test_rsa_bad_keys" - ] - ++ lib.optionals (pythonAtLeast "3.13") [ - "test_filter_params" - ]; - pythonImportsCheck = [ "oauthlib" ]; passthru.tests = { @@ -69,7 +61,7 @@ buildPythonPackage rec { }; meta = with lib; { - changelog = "https://github.com/oauthlib/oauthlib/blob/${src.rev}/CHANGELOG.rst"; + changelog = "https://github.com/oauthlib/oauthlib/blob/${src.tag}/CHANGELOG.rst"; description = "Generic, spec-compliant, thorough implementation of the OAuth request-signing logic"; homepage = "https://github.com/oauthlib/oauthlib"; license = licenses.bsd3;