Loading pkgs/development/python-modules/sagemaker/default.nix +36 −30 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, fetchFromGitHub, fetchpatch, setuptools, # build-system hatchling, # dependencies attrs, boto3, cloudpickle, docker, google-pasta, numpy, protobuf, smdebug-rulesconfig, importlib-metadata, jsonschema, numpy, packaging, pandas, pathos, schema, pyyaml, jsonschema, platformdirs, tblib, urllib3, protobuf, psutil, pyyaml, requests, docker, sagemaker-core, schema, smdebug-rulesconfig, tblib, tqdm, psutil, urllib3, # optional-dependencies scipy, accelerate, }: buildPythonPackage rec { pname = "sagemaker"; version = "2.224.1"; version = "2.232.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aws"; repo = "sagemaker-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-Kc66sygHGFqMvSY7rACb62wJEJesnN4KDmtYZLIOsqc="; hash = "sha256-I+iZKx1CnZIGYgYuYhhs8BnY84KPyKOGw8M0He26DGU="; }; patches = [ Loading @@ -58,10 +62,11 @@ buildPythonPackage rec { ]; build-system = [ setuptools hatchling ]; pythonRelaxDeps = [ "boto3" "cloudpickle" "importlib-metadata" ]; Loading @@ -70,24 +75,25 @@ buildPythonPackage rec { attrs boto3 cloudpickle docker google-pasta numpy protobuf smdebug-rulesconfig importlib-metadata jsonschema numpy packaging pandas pathos schema pyyaml jsonschema platformdirs tblib urllib3 protobuf psutil pyyaml requests docker sagemaker-core schema smdebug-rulesconfig tblib tqdm psutil urllib3 ]; doCheck = false; # many test dependencies are not available in nixpkgs Loading @@ -108,11 +114,11 @@ buildPythonPackage rec { # feature-processor = [ pyspark sagemaker-feature-store-pyspark ]; # not available in nixpkgs }; meta = with lib; { meta = { description = "Library for training and deploying machine learning models on Amazon SageMaker"; homepage = "https://github.com/aws/sagemaker-python-sdk/"; changelog = "https://github.com/aws/sagemaker-python-sdk/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ nequissimus ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nequissimus ]; }; } Loading
pkgs/development/python-modules/sagemaker/default.nix +36 −30 Original line number Diff line number Diff line { lib, buildPythonPackage, pythonOlder, fetchFromGitHub, fetchpatch, setuptools, # build-system hatchling, # dependencies attrs, boto3, cloudpickle, docker, google-pasta, numpy, protobuf, smdebug-rulesconfig, importlib-metadata, jsonschema, numpy, packaging, pandas, pathos, schema, pyyaml, jsonschema, platformdirs, tblib, urllib3, protobuf, psutil, pyyaml, requests, docker, sagemaker-core, schema, smdebug-rulesconfig, tblib, tqdm, psutil, urllib3, # optional-dependencies scipy, accelerate, }: buildPythonPackage rec { pname = "sagemaker"; version = "2.224.1"; version = "2.232.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "aws"; repo = "sagemaker-python-sdk"; rev = "refs/tags/v${version}"; hash = "sha256-Kc66sygHGFqMvSY7rACb62wJEJesnN4KDmtYZLIOsqc="; hash = "sha256-I+iZKx1CnZIGYgYuYhhs8BnY84KPyKOGw8M0He26DGU="; }; patches = [ Loading @@ -58,10 +62,11 @@ buildPythonPackage rec { ]; build-system = [ setuptools hatchling ]; pythonRelaxDeps = [ "boto3" "cloudpickle" "importlib-metadata" ]; Loading @@ -70,24 +75,25 @@ buildPythonPackage rec { attrs boto3 cloudpickle docker google-pasta numpy protobuf smdebug-rulesconfig importlib-metadata jsonschema numpy packaging pandas pathos schema pyyaml jsonschema platformdirs tblib urllib3 protobuf psutil pyyaml requests docker sagemaker-core schema smdebug-rulesconfig tblib tqdm psutil urllib3 ]; doCheck = false; # many test dependencies are not available in nixpkgs Loading @@ -108,11 +114,11 @@ buildPythonPackage rec { # feature-processor = [ pyspark sagemaker-feature-store-pyspark ]; # not available in nixpkgs }; meta = with lib; { meta = { description = "Library for training and deploying machine learning models on Amazon SageMaker"; homepage = "https://github.com/aws/sagemaker-python-sdk/"; changelog = "https://github.com/aws/sagemaker-python-sdk/blob/v${version}/CHANGELOG.md"; license = licenses.asl20; maintainers = with maintainers; [ nequissimus ]; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ nequissimus ]; }; }