python3Packages.runway-python: fix build

This commit is contained in:
Fabian Affolter 2021-08-10 12:39:38 +02:00
parent 22e1d3f1af
commit 110c6328cf

View File

@ -21,12 +21,14 @@
, deepdiff , deepdiff
, pytestCheckHook , pytestCheckHook
, pytest-cov , pytest-cov
, pythonOlder
, websocket-client , websocket-client
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "runway-python"; pname = "runway-python";
version = "0.6.1"; version = "0.6.1";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "runwayml"; owner = "runwayml";
@ -70,6 +72,8 @@ buildPythonPackage rec {
"test_file_deserialization_remote" "test_file_deserialization_remote"
"test_file_deserialization_absolute_directory" "test_file_deserialization_absolute_directory"
"test_file_deserialization_remote_directory" "test_file_deserialization_remote_directory"
# Fails with a decoding error at the moment
"test_inference_async"
] ++ lib.optionals (pythonAtLeast "3.9") [ ] ++ lib.optionals (pythonAtLeast "3.9") [
# AttributeError: module 'base64' has no attribute 'decodestring # AttributeError: module 'base64' has no attribute 'decodestring
# https://github.com/runwayml/model-sdk/issues/99 # https://github.com/runwayml/model-sdk/issues/99