python310Packages.requests-toolbelt: 0.10.1 -> 1.0.0
This commit is contained in:
committed by
Martin Weinelt
parent
c0496407bc
commit
d67efb43e4
@@ -1,22 +1,21 @@
|
||||
{ lib
|
||||
, betamax
|
||||
, buildPythonPackage
|
||||
, fetchpatch
|
||||
, fetchPypi
|
||||
, mock
|
||||
, pyopenssl
|
||||
, pytestCheckHook
|
||||
, requests
|
||||
, trustme
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "requests-toolbelt";
|
||||
version = "0.10.1";
|
||||
version = "1.0.0";
|
||||
format = "setuptools";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-YuCff/XMvakncqKfOUpJw61ssYHVaLEzdiayq7Yopj0=";
|
||||
hash = "sha256-doGgo9BHAStb3A7jfX+PB+vnarCMrsz8OSHOI8iNW8Y=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -25,17 +24,9 @@ buildPythonPackage rec {
|
||||
|
||||
nativeCheckInputs = [
|
||||
betamax
|
||||
mock
|
||||
pyopenssl
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# https://github.com/requests/toolbelt/issues/306
|
||||
"test_no_content_length_header"
|
||||
"test_read_file"
|
||||
"test_reads_file_from_url_wrapper"
|
||||
"test_x509_der"
|
||||
"test_x509_pem"
|
||||
trustme
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
@@ -45,6 +36,7 @@ buildPythonPackage rec {
|
||||
meta = with lib; {
|
||||
description = "Toolbelt of useful classes and functions to be used with requests";
|
||||
homepage = "http://toolbelt.rtfd.org";
|
||||
changelog = "https://github.com/requests/toolbelt/blob/${version}/HISTORY.rst";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ matthiasbeyer ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user