Skip to content

feat: derive default credentials from aws sdk#1629

Merged
baszalmstra merged 49 commits intomainfrom
rattler-index-default-aws-credentials
Sep 4, 2025
Merged

feat: derive default credentials from aws sdk#1629
baszalmstra merged 49 commits intomainfrom
rattler-index-default-aws-credentials

Conversation

@baszalmstra
Copy link
Copy Markdown
Collaborator

This PR adds support for getting S3 credentials directly from the AWS SDK. This adds support for using all the different ways you can sign in with AWS, e.g. keys, IAM Identity Center workforce, etc.

The goal of this PR is to enable only stating an s3 url (e.g. s3://my-awesome-channel) and let rattler figure out how to authenticate. The order of getting credentials is, 1) from the CLI (or environment variables), 2) from the default rattler authentication provider, 3) from the AWS SDK. This PR effectively adds option 3.

  1. rattler_networking already supported this behavior but I found a few cases where error messages where very unclear. Especially around using invalid regions. I improved the error messages.
  2. rattler_index required making some CLI arguments optional and using the AWS SDK to derive these values. When the system is properly configured rattler-index s3 s3://my-awesome-channel should "just work".
  3. rattler_upload required making the same changes. I also added a few preconditions to not upload shards if they already exist, and I added some other small changes. The goal is that rattler upload s3 --channel s3://my-awesome-channel <packages> should just work.

I still want to add an e2e test where we set up a minio instance, upload a package, index the channel and create an environment from the channel without any additional configuration.

Duplicate of #1627, created this one to allow creating a PR on this repository to allow for OIDC to work.

@pavelzw pavelzw self-requested a review August 26, 2025 15:29
Copy link
Copy Markdown
Member

@pavelzw pavelzw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the work! some comments

Copy link
Copy Markdown
Member

@pavelzw pavelzw Aug 27, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

while you're at it, what about adding cloudflare r2 integration tests as well in this file? @delsner and i definitely wrote some at some point, not sure whether in this repo or in pixi/rattler-build only.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it was in this repo:

#[fixture]
fn r2_host() -> String {
"https://e1a7cde76f1780ec06bac859036dbaf7.eu.r2.cloudflarestorage.com".into()
}
#[fixture]
fn r2_credentials() -> Option<(String, String)> {
let r2_access_key_id = std::env::var("RATTLER_TEST_R2_READONLY_ACCESS_KEY_ID").ok();
let r2_secret_access_key = std::env::var("RATTLER_TEST_R2_READONLY_SECRET_ACCESS_KEY").ok();
if r2_access_key_id.is_none()
|| r2_access_key_id.clone().unwrap().is_empty()
|| r2_secret_access_key.is_none()
|| r2_secret_access_key.clone().unwrap().is_empty()
{
eprintln!(
"Skipping test as RATTLER_TEST_R2_READONLY_ACCESS_KEY_ID or RATTLER_TEST_R2_READONLY_SECRET_ACCESS_KEY is not set"
);
None
} else {
Some((r2_access_key_id.unwrap(), r2_secret_access_key.unwrap()))
}
}

mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 29, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Removed the workaround patches to conda-build being applied in the
  environment.
* Convert all the sample recipes to use rattler-build, removing all the
  conda-build samples
* Deprecate the conda-build support in the sample, for removal in a
  future update.
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Convert many sample recipes to use just rattler-build.
* Deprecate the conda-build support in the sample, for removal in a
  future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Convert many sample recipes to use just rattler-build.
* Deprecate the conda-build support in the sample, for removal in a
  future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Deprecate the conda-build support in the sample, for removal in a
  future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Deprecate the conda-build support in the sample, for removal in a
  future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Deprecate the conda-build support in the sample, for removal in a
  future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Sep 30, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe to
  no longer use proxy channels based on mountpoint-s3 when using
  rattler. Now it directly passes the s3:// channel URLs.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 13, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 13, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 13, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 13, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 13, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 16, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 22, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 22, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 22, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to mwiebe/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
Signed-off-by: Mark Wiebe <399551+mwiebe@users.noreply.github.com>
mwiebe added a commit to aws-deadline/deadline-cloud-samples that referenced this pull request Oct 23, 2025
The rattler library for working with conda packages and environments has
merged and released conda/rattler#1629
supporting the AWS SDK for default credentials when accessing S3. This
changes updates the conda package building scripts and samples to use
that support.

* Updated and simplified the job bundle for building a conda recipe.
  * No longer use proxy channels based on mountpoint-s3 when using
    rattler. Now it directly passes the s3:// channel URLs.
  * Remove the separate channel indexing step, and instead call
    rattler-index after the package build. Since 0.26, rattler-index
    protects concurrent indexing operations.
* Remove the default of using the conda-build tool by making the
  buildTool field in deadline-cloud.yaml mandatory.
* Convert many sample recipes to use just rattler-build.
* Adjust the Python versions in the Python package sample recipes to be
  based on Python 3.13. The structure is flexible to build with more
  Python versions.
* Edit the README.md to Deprecate the conda-build support in the sample,
  for removal in a future update.
* Update the blender-flipfluids sample to not require nesting zip files.
  This needed a change in the package build script to keep the `url`
  field in `source` instead of converting it to `path`.

Signed-off-by: Mark <399551+mwiebe@users.noreply.github.com>
Signed-off-by: Mark Wiebe <399551+mwiebe@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants