python312Packages.sagemaker-core: init at 1.0.10
This commit is contained in:
parent
206a1acec0
commit
83bec9a6b3
82
pkgs/development/python-modules/sagemaker-core/default.nix
Normal file
82
pkgs/development/python-modules/sagemaker-core/default.nix
Normal file
@ -0,0 +1,82 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
setuptools,
|
||||
|
||||
# dependencies
|
||||
boto3,
|
||||
importlib-metadata,
|
||||
jsonschema,
|
||||
mock,
|
||||
platformdirs,
|
||||
pydantic,
|
||||
pyyaml,
|
||||
rich,
|
||||
|
||||
# optional-dependencies
|
||||
black,
|
||||
pandas,
|
||||
pylint,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sagemaker-core";
|
||||
version = "1.0.10";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "aws";
|
||||
repo = "sagemaker-core";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-UloQJ5B10XXPbwsktVZzjcW7BLW8wCAw3wGmAkSl6wc=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
pythonRelaxDeps = [
|
||||
"importlib-metadata"
|
||||
"mock"
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
boto3
|
||||
importlib-metadata
|
||||
jsonschema
|
||||
mock
|
||||
platformdirs
|
||||
pydantic
|
||||
pyyaml
|
||||
rich
|
||||
];
|
||||
|
||||
optional-dependencies = {
|
||||
codegen = [
|
||||
black
|
||||
pandas
|
||||
pylint
|
||||
pytest
|
||||
];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sagemaker_core"
|
||||
];
|
||||
|
||||
# Only a single test which fails with:
|
||||
# ValueError: Must setup local AWS configuration with a region supported by SageMaker.
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Python SDK designed to provide an object-oriented interface for interacting with Amazon SageMaker resources";
|
||||
homepage = "https://github.com/aws/sagemaker-core";
|
||||
changelog = "https://github.com/aws/sagemaker-core/blob/${src.rev}/CHANGELOG.md";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ GaetanLepage ];
|
||||
};
|
||||
}
|
@ -13907,6 +13907,8 @@ self: super: with self; {
|
||||
|
||||
sagemaker = callPackage ../development/python-modules/sagemaker { };
|
||||
|
||||
sagemaker-core = callPackage ../development/python-modules/sagemaker-core { };
|
||||
|
||||
salib = callPackage ../development/python-modules/salib { };
|
||||
|
||||
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
|
||||
|
Loading…
Reference in New Issue
Block a user