From 627d42acfb6adfb0c8100577aea8bc173e88bb20 Mon Sep 17 00:00:00 2001 From: misilelab Date: Sat, 14 Jun 2025 02:33:11 +0900 Subject: [PATCH] python3Packages.requests: 2.32.3 -> 2.32.4 https://github.com/psf/requests/blob/v2.32.4/HISTORY.md#2324-2025-06-10 Signed-off-by: misilelab --- .../python-modules/requests/default.nix | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 99187427d880..8a8da6b937fe 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -5,39 +5,41 @@ certifi, chardet, charset-normalizer, - fetchPypi, + fetchFromGitHub, idna, pysocks, pytest-mock, pytest-xdist, pytestCheckHook, pythonOlder, + setuptools, urllib3, }: buildPythonPackage rec { pname = "requests"; - version = "2.32.3"; - format = "setuptools"; + version = "2.32.4"; + pyproject = true; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; __darwinAllowLocalNetworking = true; - src = fetchPypi { - inherit pname version; - hash = "sha256-VTZUF3NOsYJVWQqf+euX6eHaho1MzWQCOZ6vaK8gp2A="; + src = fetchFromGitHub { + owner = "psf"; + repo = "requests"; + tag = "v${version}"; + hash = "sha256-sD9GLCAa3y9L1J+fcd+ZXBtW4jNL40hOesKXORhcjGQ="; }; patches = [ # https://github.com/psf/requests/issues/6730 # https://github.com/psf/requests/pull/6731 ./ca-load-regression.patch - - # https://seclists.org/fulldisclosure/2025/Jun/2 - ./CVE-2024-47081.patch ]; + build-system = [ setuptools ]; + dependencies = [ certifi charset-normalizer