Skip to content

Commit

Permalink
python312Packages.sagemaker: 2.224.1 -> 2.232.1
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Oct 3, 2024
1 parent 83bec9a commit 32b2c9d
Showing 1 changed file with 36 additions and 30 deletions.
66 changes: 36 additions & 30 deletions pkgs/development/python-modules/sagemaker/default.nix
Original file line number Diff line number Diff line change
@@ -1,47 +1,51 @@
{
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 = [
Expand All @@ -58,10 +62,11 @@ buildPythonPackage rec {
];

build-system = [
setuptools
hatchling
];

pythonRelaxDeps = [
"boto3"
"cloudpickle"
"importlib-metadata"
];
Expand All @@ -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
Expand All @@ -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 ];
};
}

0 comments on commit 32b2c9d

Please sign in to comment.