python3Packages.requests: 2.32.3 -> 2.32.4 (#416500)

This commit is contained in:
dotlambda
2025-06-22 11:21:40 -07:00
committed by GitHub
@@ -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