diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml
deleted file mode 100755
index 8d9608f..0000000
--- a/.azure-pipelines/azure-pipelines-linux.yml
+++ /dev/null
@@ -1,44 +0,0 @@
-# This file was generated automatically from conda-smithy. To update this configuration,
-# update the conda-forge.yml and/or the recipe/meta.yaml.
-# -*- mode: yaml -*-
-
-jobs:
-- job: linux
- pool:
- vmImage: ubuntu-latest
- strategy:
- matrix:
- linux_64_:
- CONFIG: linux_64_
- UPLOAD_PACKAGES: 'True'
- DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
- timeoutInMinutes: 360
- variables: {}
-
- steps:
- # configure qemu binfmt-misc running. This allows us to run docker containers
- # embedded qemu-static
- - script: |
- docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
- ls /proc/sys/fs/binfmt_misc/
- condition: not(startsWith(variables['CONFIG'], 'linux_64'))
- displayName: Configure binfmt_misc
-
- - script: |
- export CI=azure
- export flow_run_id=azure_$(Build.BuildNumber).$(System.JobAttempt)
- export remote_url=$(Build.Repository.Uri)
- export sha=$(Build.SourceVersion)
- export GIT_BRANCH=$BUILD_SOURCEBRANCHNAME
- export FEEDSTOCK_NAME=$(basename ${BUILD_REPOSITORY_NAME})
- if [[ "${BUILD_REASON:-}" == "PullRequest" ]]; then
- export IS_PR_BUILD="True"
- else
- export IS_PR_BUILD="False"
- fi
- .scripts/run_docker_build.sh
- displayName: Run docker build
- env:
- BINSTAR_TOKEN: $(BINSTAR_TOKEN)
- FEEDSTOCK_TOKEN: $(FEEDSTOCK_TOKEN)
- STAGING_BINSTAR_TOKEN: $(STAGING_BINSTAR_TOKEN)
diff --git a/.github/workflows/conda-build.yml b/.github/workflows/conda-build.yml
index a948c6c..1491d2a 100644
--- a/.github/workflows/conda-build.yml
+++ b/.github/workflows/conda-build.yml
@@ -1,15 +1,110 @@
-# This file was added automatically by admin-migrations. Do not modify.
-# It ensures that Github Actions can run once rerendered for the first time.
+# This file was generated automatically from conda-smithy. To update this configuration,
+# update the conda-forge.yml and/or the recipe/meta.yaml.
# -*- mode: yaml -*-
name: Build conda package
on:
- workflow_dispatch:
+ push:
+
+ pull_request:
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
+ cancel-in-progress: true
jobs:
build:
- name: Disabled build
- runs-on: ubuntu-slim
- if: false
+ name: ${{ matrix.CONFIG }}
+ runs-on: ${{ matrix.runs_on }}
+ timeout-minutes: 360
+ strategy:
+ fail-fast: false
+ max-parallel: 50
+ matrix:
+ include:
+ - CONFIG: linux_64_
+ UPLOAD_PACKAGES: True
+ os: ubuntu
+ runs_on: ['ubuntu-latest']
+ DOCKER_IMAGE: quay.io/condaforge/linux-anvil-x86_64:alma9
steps:
- - run: exit 0
+
+ - name: Checkout code
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+
+ - name: Build on Linux
+ id: build-linux
+ if: matrix.os == 'ubuntu'
+ env:
+ CONFIG: ${{ matrix.CONFIG }}
+ UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ DOCKER_IMAGE: ${{ matrix.DOCKER_IMAGE }}
+ CI: github_actions
+ CONDA_FORGE_DOCKER_RUN_ARGS: "${{ matrix.CONDA_FORGE_DOCKER_RUN_ARGS }}"
+ BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
+ FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
+ STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
+ shell: bash
+ run: |
+ if [[ "$(uname -m)" == "x86_64" ]]; then
+ echo "::group::Configure binfmt_misc"
+ docker run --rm --privileged multiarch/qemu-user-static:register --reset --credential yes
+ fi
+ export flow_run_id="github_$GITHUB_RUN_ID"
+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
+ export sha="$GITHUB_SHA"
+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
+ export GIT_BRANCH="$(basename $GITHUB_REF)"
+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
+ export IS_PR_BUILD="True"
+ else
+ export IS_PR_BUILD="False"
+ fi
+ echo "::endgroup::"
+ ./.scripts/run_docker_build.sh
+
+ - name: Build on macOS
+ id: build-macos
+ if: matrix.os == 'macos'
+ env:
+ CONFIG: ${{ matrix.CONFIG }}
+ UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ CI: github_actions
+ BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
+ FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
+ STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
+ shell: bash
+ run: |
+ export flow_run_id="github_$GITHUB_RUN_ID"
+ export remote_url="https://github.com/$GITHUB_REPOSITORY"
+ export sha="$GITHUB_SHA"
+ export FEEDSTOCK_NAME="$(basename $GITHUB_REPOSITORY)"
+ export GIT_BRANCH="$(basename $GITHUB_REF)"
+ if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
+ export IS_PR_BUILD="True"
+ else
+ export IS_PR_BUILD="False"
+ fi
+ ./.scripts/run_osx_build.sh
+
+ - name: Build on windows
+ id: build-windows
+ if: matrix.os == 'windows'
+ shell: cmd
+ run: |
+ set "flow_run_id=github_%GITHUB_RUN_ID%"
+ set "remote_url=https://github.com/%GITHUB_REPOSITORY%"
+ set "sha=%GITHUB_SHA%"
+ call ".scripts\run_win_build.bat"
+ env:
+ # default value; make it explicit, as it needs to match with artefact
+ # generation below. Not configurable for now, can be revisited later
+ CONDA_BLD_DIR: C:\bld
+ MINIFORGE_HOME: ${{ contains(runner.arch, 'ARM') && 'C' || 'D' }}:\Miniforge
+ PYTHONUNBUFFERED: 1
+ CONFIG: ${{ matrix.CONFIG }}
+ CI: github_actions
+ UPLOAD_PACKAGES: ${{ matrix.UPLOAD_PACKAGES }}
+ BINSTAR_TOKEN: ${{ secrets.BINSTAR_TOKEN }}
+ FEEDSTOCK_TOKEN: ${{ secrets.FEEDSTOCK_TOKEN }}
+ STAGING_BINSTAR_TOKEN: ${{ secrets.STAGING_BINSTAR_TOKEN }}
\ No newline at end of file
diff --git a/README.md b/README.md
index 22783e1..1d07011 100644
--- a/README.md
+++ b/README.md
@@ -17,11 +17,10 @@ Current build status
====================
-
| All platforms: |
+
+ | All platforms: |
-
-
-
+
|
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index aa63c81..0000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -1,31 +0,0 @@
-# This file was generated automatically from conda-smithy. To update this configuration,
-# update the conda-forge.yml and/or the recipe/meta.yaml.
-# -*- mode: yaml -*-
-
-stages:
-- stage: Check
- jobs:
- - job: Skip
- pool:
- vmImage: 'ubuntu-latest'
- variables:
- DECODE_PERCENTS: 'false'
- RET: 'true'
- steps:
- - checkout: self
- fetchDepth: '2'
- - bash: |
- git_log=`git log --max-count=1 --skip=1 --pretty=format:"%B" | tr "\n" " "`
- echo "##vso[task.setvariable variable=log]$git_log"
- displayName: Obtain commit message
- - bash: echo "##vso[task.setvariable variable=RET]false"
- condition: and(eq(variables['Build.Reason'], 'PullRequest'), or(contains(variables.log, '[skip azp]'), contains(variables.log, '[azp skip]'), contains(variables.log, '[skip ci]'), contains(variables.log, '[ci skip]')))
- displayName: Skip build?
- - bash: echo "##vso[task.setvariable variable=start_main;isOutput=true]$RET"
- name: result
- displayName: Export result
-- stage: Build
- condition: and(succeeded(), eq(dependencies.Check.outputs['Skip.result.start_main'], 'true'))
- dependsOn: Check
- jobs:
- - template: ./.azure-pipelines/azure-pipelines-linux.yml
\ No newline at end of file
diff --git a/recipe/meta.yaml b/recipe/meta.yaml
index e121ba5..29fd65b 100644
--- a/recipe/meta.yaml
+++ b/recipe/meta.yaml
@@ -1,5 +1,5 @@
{% set name = "sagemaker-python-sdk" %}
-{% set version = "3.5.0" %}
+{% set version = "3.6.0" %}
package:
name: {{ name|lower }}
@@ -7,7 +7,7 @@ package:
source:
url: https://pypi.org/packages/source/{{ name[0] }}/sagemaker/sagemaker-{{ version }}.tar.gz
- sha256: da63b8e16e58362dbacdec9c843d5838b9a9af83ac21be1d26cd7f24ddf81873
+ sha256: 7c4d8c66a495dd1183f353de86431d0870cbcf45e19287f48a09ea6f2affca2d
build:
noarch: python
@@ -16,10 +16,10 @@ build:
requirements:
run:
- python >=3.9
- - sagemaker-core >=2.5.0
- - sagemaker-train >=1.5.0
- - sagemaker-serve >=1.5.0
- - sagemaker-mlops >=1.5.0
+ - sagemaker-core >=2.6.0,<3.0.0
+ - sagemaker-train >=1.6.0,<2.0.0
+ - sagemaker-serve >=1.6.0,<2.0.0
+ - sagemaker-mlops >=1.6.0,<2.0.0
test:
imports: