{ lib , buildPythonPackage , fetchPypi , attrs , boto3 , google-pasta , importlib-metadata , numpy , protobuf , protobuf3-to-dict , smdebug-rulesconfig , pandas , pathos , packaging }: buildPythonPackage rec { pname = "sagemaker"; version = "2.60.0"; src = fetchPypi { inherit pname version; sha256 = "0fbd43343918137460eb1b563a81fe6de9b51c2ae4be0b844cf198c5567cd82e"; }; pythonImportsCheck = [ "sagemaker" "sagemaker.lineage.visualizer" ]; propagatedBuildInputs = [ attrs boto3 google-pasta importlib-metadata numpy packaging pathos protobuf protobuf3-to-dict smdebug-rulesconfig pandas ]; doCheck = false; postFixup = '' [ "$($out/bin/sagemaker-upgrade-v2 --help 2>&1 | grep -cim1 'pandas failed to import')" -eq "0" ] ''; meta = with lib; { description = "Library for training and deploying machine learning models on Amazon SageMaker"; homepage = "https://github.com/aws/sagemaker-python-sdk/"; license = licenses.asl20; maintainers = with maintainers; [ nequissimus ]; }; }