mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-30 00:50:17 +02:00
python3Packages.requests: 2.25.1 -> 2.26.0
This commit is contained in:
parent
5e3cb00953
commit
4cc9b84118
|
@ -4,6 +4,7 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, certifi
|
, certifi
|
||||||
, chardet
|
, chardet
|
||||||
|
, charset-normalizer
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, idna
|
, idna
|
||||||
, pytest-mock
|
, pytest-mock
|
||||||
|
@ -17,14 +18,17 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests";
|
pname = "requests";
|
||||||
version = "2.25.1";
|
version = "2.26.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "sha256-J5c91KkEpPE7JjoZyGbBO5KjntHJZGVfAl8/jT11uAQ=";
|
sha256 = "sha256-uKpY+M95P/2HgtPYyxnmbvNverpDU+7IWedGeLAbB6c=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./0001-Prefer-NixOS-Nix-default-CA-bundles-over-certifi.patch ];
|
patches = [
|
||||||
|
# Use the default NixOS CA bundle from the certifi package
|
||||||
|
./0001-Prefer-NixOS-Nix-default-CA-bundles-over-certifi.patch
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# Use latest idna
|
# Use latest idna
|
||||||
|
@ -32,7 +36,9 @@ buildPythonPackage rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
brotlicffi
|
||||||
certifi
|
certifi
|
||||||
|
charset-normalizer
|
||||||
chardet
|
chardet
|
||||||
idna
|
idna
|
||||||
urllib3
|
urllib3
|
||||||
|
@ -47,6 +53,7 @@ buildPythonPackage rec {
|
||||||
pytest-mock
|
pytest-mock
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
|
trustme
|
||||||
];
|
];
|
||||||
|
|
||||||
# AttributeError: 'KeywordMapping' object has no attribute 'get'
|
# AttributeError: 'KeywordMapping' object has no attribute 'get'
|
||||||
|
|
Loading…
Reference in a new issue