python310Packages.slack-bolt: fix build
Co-authored-by: Samuel Ainsworth <skainsworth@gmail.com>
This commit is contained in:
parent
36f41715be
commit
dadcfacb51
|
@ -32,6 +32,12 @@ buildPythonPackage rec {
|
||||||
hash = "sha256-s9djd/MDNnyNkjkeApY6Fb1mhI6iop8RghaSJdi4eAs=";
|
hash = "sha256-s9djd/MDNnyNkjkeApY6Fb1mhI6iop8RghaSJdi4eAs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The packaged pytest-runner version is too new as of 2023-07-27. It's not really needed anyway. Unfortunately,
|
||||||
|
# pythonRelaxDepsHook doesn't work on setup_requires packages.
|
||||||
|
postPatch = ''
|
||||||
|
substituteInPlace setup.py --replace "pytest-runner==5.2" ""
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [ slack-sdk ];
|
propagatedBuildInputs = [ slack-sdk ];
|
||||||
|
|
||||||
nativeCheckInputs = [
|
nativeCheckInputs = [
|
||||||
|
@ -68,6 +74,7 @@ buildPythonPackage rec {
|
||||||
"test_interactions"
|
"test_interactions"
|
||||||
"test_lazy_listener_calls"
|
"test_lazy_listener_calls"
|
||||||
"test_lazy_listeners"
|
"test_lazy_listeners"
|
||||||
|
"test_failure"
|
||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "slack_bolt" ];
|
pythonImportsCheck = [ "slack_bolt" ];
|
||||||
|
|
Loading…
Reference in a new issue