mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.requests: 2.33.1 -> 2.34.0
https://github.com/psf/requests/blob/v2.34.0/HISTORY.md
This commit is contained in:
parent
65a18839e7
commit
e59adf7226
1 changed files with 9 additions and 9 deletions
|
|
@ -15,18 +15,16 @@
|
|||
urllib3,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "requests";
|
||||
version = "2.33.1";
|
||||
version = "2.34.0";
|
||||
pyproject = true;
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "psf";
|
||||
repo = "requests";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-cQnCTMmpdkvWwt7RFAIhAfmhVwGVn0Y8Z5Tr6lzDmS8=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-DDx+UV3OuCLUXM7ESbURCGeZ7t2acFEfMTOMcJdfUbI=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
|
@ -49,7 +47,7 @@ buildPythonPackage rec {
|
|||
pytest-xdist
|
||||
pytestCheckHook
|
||||
]
|
||||
++ optional-dependencies.socks;
|
||||
++ finalAttrs.passthru.optional-dependencies.socks;
|
||||
|
||||
disabledTests = [
|
||||
# Disable tests that require network access and use httpbin
|
||||
|
|
@ -79,11 +77,13 @@ buildPythonPackage rec {
|
|||
|
||||
pythonImportsCheck = [ "requests" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
meta = {
|
||||
description = "HTTP library for Python";
|
||||
homepage = "http://docs.python-requests.org/";
|
||||
changelog = "https://github.com/psf/requests/blob/v${version}/HISTORY.md";
|
||||
changelog = "https://github.com/psf/requests/blob/${finalAttrs.src.tag}/HISTORY.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue