lol

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

authored by

dotlambda and committed by
GitHub
590938cb b68b849d

+12 -10
+12 -10
pkgs/development/python-modules/requests/default.nix
··· 5 5 certifi, 6 6 chardet, 7 7 charset-normalizer, 8 - fetchPypi, 8 + fetchFromGitHub, 9 9 idna, 10 10 pysocks, 11 11 pytest-mock, 12 12 pytest-xdist, 13 13 pytestCheckHook, 14 14 pythonOlder, 15 + setuptools, 15 16 urllib3, 16 17 }: 17 18 18 19 buildPythonPackage rec { 19 20 pname = "requests"; 20 - version = "2.32.3"; 21 - format = "setuptools"; 21 + version = "2.32.4"; 22 + pyproject = true; 22 23 23 - disabled = pythonOlder "3.7"; 24 + disabled = pythonOlder "3.8"; 24 25 25 26 __darwinAllowLocalNetworking = true; 26 27 27 - src = fetchPypi { 28 - inherit pname version; 29 - hash = "sha256-VTZUF3NOsYJVWQqf+euX6eHaho1MzWQCOZ6vaK8gp2A="; 28 + src = fetchFromGitHub { 29 + owner = "psf"; 30 + repo = "requests"; 31 + tag = "v${version}"; 32 + hash = "sha256-sD9GLCAa3y9L1J+fcd+ZXBtW4jNL40hOesKXORhcjGQ="; 30 33 }; 31 34 32 35 patches = [ 33 36 # https://github.com/psf/requests/issues/6730 34 37 # https://github.com/psf/requests/pull/6731 35 38 ./ca-load-regression.patch 39 + ]; 36 40 37 - # https://seclists.org/fulldisclosure/2025/Jun/2 38 - ./CVE-2024-47081.patch 39 - ]; 41 + build-system = [ setuptools ]; 40 42 41 43 dependencies = [ 42 44 certifi