python3Packages.slackclient: 2.5.0 -> 2.9.3

This commit is contained in:
Fabian Affolter 2021-02-05 09:18:10 +01:00
parent 2ed8597999
commit 73a5be34ee

View file

@ -1,15 +1,15 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, aiohttp
, black
, buildPythonPackage
, codecov
, fetchFromGitHub
, flake8
, isPy3k
, mock
, psutil
, pytest-cov
, pytest-mock
, pytestCheckHook
, pytestcov
, pytestrunner
, requests
, responses
@ -19,15 +19,15 @@
buildPythonPackage rec {
pname = "python-slackclient";
version = "2.5.0";
version = "2.9.3";
disabled = !isPy3k;
src = fetchFromGitHub {
owner = "slackapi";
repo = pname;
rev = version;
sha256 = "1ngj1mivbln19546195k400w9yaw69g0w6is7c75rqwyxr8wgzsk";
owner = "slackapi";
repo = "python-slack-sdk";
rev = "v${version}";
sha256 = "1rfb7izgddv28ag37gdnv3sd8z2zysrxs7ad8x20x690zshpaq16";
};
propagatedBuildInputs = [
@ -38,17 +38,21 @@ buildPythonPackage rec {
];
checkInputs = [
black
codecov
flake8
mock
psutil
pytest-cov
pytest-mock
pytestCheckHook
pytestcov
pytestrunner
responses
];
# Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
pythonImportsCheck = [ "slack" ];
meta = with lib; {