Skip to content

Commit

Permalink
python3Packages.slack-sdk: 3.7.0 -> 3.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff committed Jul 16, 2021
1 parent ce301c6 commit 032bd9e
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions pkgs/development/python-modules/slack-sdk/default.nix
Expand Up @@ -11,24 +11,22 @@
, isPy3k
, psutil
, pytest-asyncio
, pytest-cov
, pytestCheckHook
, pytestrunner
, sqlalchemy
, websocket-client
, websockets
}:

buildPythonPackage rec {
pname = "slack-sdk";
version = "3.7.0";
version = "3.8.0";
disabled = !isPy3k;

src = fetchFromGitHub {
owner = "slackapi";
repo = "python-slack-sdk";
rev = "v${version}";
sha256 = "0bc52v5n8r3b2fy1c90w253r1abl752kaqdk6bgzkwsvbhgcxf2s";
sha256 = "sha256-r3GgcU4K2jj+4aIytpY2HiVqHzChynn2BCn1VNTL2t0=";
};

propagatedBuildInputs = [
Expand All @@ -47,20 +45,23 @@ buildPythonPackage rec {
flask-sockets
psutil
pytest-asyncio
pytest-cov
pytestCheckHook
pytestrunner
];

preCheck = ''
export HOME=$(mktemp -d)
'';

# Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTestPaths = [
# Exclude tests that requires network features
"integration_tests"
];

disabledTests = [
# Requires network features
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
"test_org_installation"
"test_interactions"
];

pythonImportsCheck = [ "slack_sdk" ];
Expand Down

0 comments on commit 032bd9e

Please sign in to comment.