From 1a97840695a30c5153ecbdedbba1dbae5511704f Mon Sep 17 00:00:00 2001 From: Clayton Parnell Date: Tue, 14 Jan 2025 21:51:40 +0000 Subject: [PATCH 1/5] Add recipe for sagemaker-core --- recipes/sagemaker-core/meta.yaml | 51 ++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 recipes/sagemaker-core/meta.yaml diff --git a/recipes/sagemaker-core/meta.yaml b/recipes/sagemaker-core/meta.yaml new file mode 100644 index 0000000000000..130ed2de31ed0 --- /dev/null +++ b/recipes/sagemaker-core/meta.yaml @@ -0,0 +1,51 @@ +{% set name = "sagemaker-core" %} +{% set version = "1.0.17" %} +{% set python_min = "3.8" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/sagemaker_core-{{ version }}.tar.gz + sha256: 607b5d2ecde33ad9a8af9273190bfccc9b903716cd2f3f65529845ceacd833a2 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python >={{ python_min }} + - setuptools >=64 + - pip + run: + - python >={{ python_min }} + - boto3 >=1.35.75,<2.0.0 + - pydantic >=2.0.0,<3.0.0 + - pyyaml >=6.0,<7.0 + - jsonschema <5.0.0 + - platformdirs >=4.0.0,<5.0.0 + - rich >=13.0.0,<14.0.0 + - mock >4.0,<5.0 + - importlib-metadata <7.0,>=1.4.0 + +test: + imports: + - sagemaker_core + commands: + - pip check + requires: + - pip + +about: + summary: An python package for sagemaker core functionalities + license: Apache-2.0 + license_file: LICENSE + +extra: + recipe-maintainers: + - claytonparnell + - benieric + - mufaddal-rohawala From f60bc0a42fd98a5ca5e216a6147512e6e1a52b17 Mon Sep 17 00:00:00 2001 From: Clayton Parnell Date: Tue, 14 Jan 2025 21:59:48 +0000 Subject: [PATCH 2/5] update to fix lint --- recipes/sagemaker-core/meta.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/sagemaker-core/meta.yaml b/recipes/sagemaker-core/meta.yaml index 130ed2de31ed0..6fd39de6251e9 100644 --- a/recipes/sagemaker-core/meta.yaml +++ b/recipes/sagemaker-core/meta.yaml @@ -17,7 +17,7 @@ build: requirements: host: - - python >={{ python_min }} + - python {{ python_min }} - setuptools >=64 - pip run: @@ -37,12 +37,17 @@ test: commands: - pip check requires: + - python {{ python_min }} - pip about: + home: home: https://github.com/aws/sagemaker-core/ summary: An python package for sagemaker core functionalities license: Apache-2.0 license_file: LICENSE + license_family: APACHE + dev_url: https://github.com/aws/sagemaker-python-sdk/ + doc_url: https://sagemaker-core.readthedocs.io/en/stable/ extra: recipe-maintainers: From 8261128774d810a1262a088a548243cec108b5f9 Mon Sep 17 00:00:00 2001 From: Clayton Parnell Date: Tue, 14 Jan 2025 22:01:31 +0000 Subject: [PATCH 3/5] update to fix lint --- recipes/sagemaker-core/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/sagemaker-core/meta.yaml b/recipes/sagemaker-core/meta.yaml index 6fd39de6251e9..116b98a250ea2 100644 --- a/recipes/sagemaker-core/meta.yaml +++ b/recipes/sagemaker-core/meta.yaml @@ -41,7 +41,7 @@ test: - pip about: - home: home: https://github.com/aws/sagemaker-core/ + home: https://github.com/aws/sagemaker-core/ summary: An python package for sagemaker core functionalities license: Apache-2.0 license_file: LICENSE From 8d6e39b190c623c2a8c96f135a91c032dbbcdf6a Mon Sep 17 00:00:00 2001 From: Clayton Parnell Date: Tue, 14 Jan 2025 22:23:00 +0000 Subject: [PATCH 4/5] raise python_min --- recipes/sagemaker-core/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/sagemaker-core/meta.yaml b/recipes/sagemaker-core/meta.yaml index 116b98a250ea2..614e032c34942 100644 --- a/recipes/sagemaker-core/meta.yaml +++ b/recipes/sagemaker-core/meta.yaml @@ -1,6 +1,6 @@ {% set name = "sagemaker-core" %} {% set version = "1.0.17" %} -{% set python_min = "3.8" %} +{% set python_min = "3.9" %} package: name: {{ name|lower }} From 5d4c4164ce1a4e0fdfb739a271ee114a990e0ae9 Mon Sep 17 00:00:00 2001 From: Clayton Parnell <42805768+claytonparnell@users.noreply.github.com> Date: Wed, 15 Jan 2025 10:58:21 -0800 Subject: [PATCH 5/5] Remove python_min from recipe Co-authored-by: Filipe --- recipes/sagemaker-core/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/sagemaker-core/meta.yaml b/recipes/sagemaker-core/meta.yaml index 614e032c34942..48efb16f80ca6 100644 --- a/recipes/sagemaker-core/meta.yaml +++ b/recipes/sagemaker-core/meta.yaml @@ -1,6 +1,5 @@ {% set name = "sagemaker-core" %} {% set version = "1.0.17" %} -{% set python_min = "3.9" %} package: name: {{ name|lower }}