Merge pull request #130345 from fabaff/bump-slack-sdk
python3Packages.slack-sdk: 3.7.0 -> 3.8.0
This commit is contained in:
commit
d2442b8a7a
1 changed files with 9 additions and 8 deletions
|
@ -11,9 +11,7 @@
|
||||||
, isPy3k
|
, isPy3k
|
||||||
, psutil
|
, psutil
|
||||||
, pytest-asyncio
|
, pytest-asyncio
|
||||||
, pytest-cov
|
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
, pytestrunner
|
|
||||||
, sqlalchemy
|
, sqlalchemy
|
||||||
, websocket-client
|
, websocket-client
|
||||||
, websockets
|
, websockets
|
||||||
|
@ -21,14 +19,14 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "slack-sdk";
|
pname = "slack-sdk";
|
||||||
version = "3.7.0";
|
version = "3.8.0";
|
||||||
disabled = !isPy3k;
|
disabled = !isPy3k;
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "slackapi";
|
owner = "slackapi";
|
||||||
repo = "python-slack-sdk";
|
repo = "python-slack-sdk";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0bc52v5n8r3b2fy1c90w253r1abl752kaqdk6bgzkwsvbhgcxf2s";
|
sha256 = "sha256-r3GgcU4K2jj+4aIytpY2HiVqHzChynn2BCn1VNTL2t0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
|
@ -47,20 +45,23 @@ buildPythonPackage rec {
|
||||||
flask-sockets
|
flask-sockets
|
||||||
psutil
|
psutil
|
||||||
pytest-asyncio
|
pytest-asyncio
|
||||||
pytest-cov
|
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
pytestrunner
|
|
||||||
];
|
];
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
export HOME=$(mktemp -d)
|
export HOME=$(mktemp -d)
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
disabledTestPaths = [
|
||||||
# Exclude tests that requires network features
|
# Exclude tests that requires network features
|
||||||
pytestFlagsArray = [ "--ignore=integration_tests" ];
|
"integration_tests"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
|
# Requires network features
|
||||||
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
|
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
|
||||||
"test_org_installation"
|
"test_org_installation"
|
||||||
|
"test_interactions"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "slack_sdk" ];
|
pythonImportsCheck = [ "slack_sdk" ];
|
||||||
|
|
Loading…
Reference in a new issue