Skip to content

Commit

Permalink
python310Packages.requests-toolbelt: 0.10.1 -> 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tjni authored and SuperSandro2000 committed Jul 18, 2023
1 parent 05b87c2 commit 7ed56dd
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions pkgs/development/python-modules/requests-toolbelt/default.nix
Original file line number Diff line number Diff line change
@@ -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 = [
Expand All @@ -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 = [
Expand All @@ -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 ];
};
Expand Down

0 comments on commit 7ed56dd

Please sign in to comment.