From 1e50ac8a26e54d7fb896eb3418002b68c5a4f34f Mon Sep 17 00:00:00 2001 From: "prefix-dev-release-bot[bot]" <266702369+prefix-dev-release-bot[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 07:56:04 +0000 Subject: [PATCH 1/5] chore: bump & publish crates --- Cargo.lock | 76 +++++++++---------- Cargo.toml | 20 ++--- crates/rattler_build_core/CHANGELOG.md | 27 +++++++ crates/rattler_build_core/Cargo.toml | 2 +- crates/rattler_build_jinja/CHANGELOG.md | 10 +++ crates/rattler_build_jinja/Cargo.toml | 2 +- crates/rattler_build_networking/CHANGELOG.md | 7 ++ crates/rattler_build_networking/Cargo.toml | 2 +- crates/rattler_build_package/CHANGELOG.md | 10 +++ crates/rattler_build_package/Cargo.toml | 2 +- crates/rattler_build_recipe/CHANGELOG.md | 17 +++++ crates/rattler_build_recipe/Cargo.toml | 2 +- .../CHANGELOG.md | 6 ++ .../rattler_build_recipe_generator/Cargo.toml | 2 +- crates/rattler_build_script/CHANGELOG.md | 10 +++ crates/rattler_build_script/Cargo.toml | 2 +- .../rattler_build_source_cache/CHANGELOG.md | 11 +++ crates/rattler_build_source_cache/Cargo.toml | 2 +- crates/rattler_build_types/CHANGELOG.md | 6 ++ crates/rattler_build_types/Cargo.toml | 2 +- .../rattler_build_variant_config/CHANGELOG.md | 6 ++ .../rattler_build_variant_config/Cargo.toml | 2 +- crates/rattler_build_yaml_parser/CHANGELOG.md | 6 ++ crates/rattler_build_yaml_parser/Cargo.toml | 2 +- 24 files changed, 175 insertions(+), 59 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 2361529bc..e26386d44 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -226,9 +226,9 @@ dependencies = [ [[package]] name = "astral-tokio-tar" -version = "0.6.1" +version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4ce73b17c62717c4b6a9af10b43e87c578b0cac27e00666d48304d3b7d2c0693" +checksum = "cb50a7aae84a03bf55b067832bc376f4961b790c97e64d3eacee97d389b90277" dependencies = [ "filetime", "futures-core", @@ -1758,9 +1758,9 @@ dependencies = [ [[package]] name = "dashmap" -version = "6.1.0" +version = "6.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5041cc499144891f3790297212f32a74fb938e5136a14943f338ef9e0ae276cf" +checksum = "e6361d5c062261c78a176addb82d4c821ae42bed6089de0e12603cd25de2059c" dependencies = [ "cfg-if", "crossbeam-utils", @@ -3401,9 +3401,9 @@ checksum = "09edd9e8b54e49e587e4f6295a7d29c3ea94d469cb40ab8ca70b288248a81db2" [[package]] name = "libbz2-rs-sys" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8fc329e1457d97a9d58a4e2ca49e3be572431a7e096008efc2e3a3c19d428f4" +checksum = "34b357333733e8260735ba5894eb928c02ecc69c78715f01a8019e7fa7f2db4c" [[package]] name = "libc" @@ -3655,9 +3655,9 @@ dependencies = [ [[package]] name = "minijinja" -version = "2.19.0" +version = "2.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "805bfd7352166bae857ee569628b52bcd85a1cecf7810861ebceb1686b72b75d" +checksum = "2929e494b2280e1e18959bb2e121da03347ae896896fdfaceaab43c88a02803f" dependencies = [ "aho-corasick", "memo-map", @@ -3820,9 +3820,9 @@ dependencies = [ [[package]] name = "num-conv" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6673768db2d862beb9b39a78fdcb1a69439615d5794a1be50caa9bc92c81967" +checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441" [[package]] name = "num-integer" @@ -4091,9 +4091,9 @@ dependencies = [ [[package]] name = "openssl" -version = "0.10.79" +version = "0.10.80" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bf0b434746ee2832f4f0baf10137e1cabb18cbe6912c69e2e33263c45250f542" +checksum = "a45fa2aa886c42762255da344f0a0d313e254066c46aad76f300c3d3da62d967" dependencies = [ "bitflags", "cfg-if", @@ -4122,9 +4122,9 @@ checksum = "7c87def4c32ab89d880effc9e097653c8da5d6ef28e6b539d313baaacfbafcbe" [[package]] name = "openssl-sys" -version = "0.9.115" +version = "0.9.116" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "158fe5b292746440aa6e7a7e690e55aeb72d41505e2804c23c6973ad0e9c9781" +checksum = "f28a22dc7140cda5f096e5e7724a6962ca81a7f8bfd2979f9b18c11af56318c4" dependencies = [ "cc", "libc", @@ -4313,18 +4313,18 @@ dependencies = [ [[package]] name = "pin-project" -version = "1.1.12" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cbf0d9e68100b3a7989b4901972f265cd542e560a3a8a724e1e20322f4d06ce9" +checksum = "2466b2336ed02bcdca6b294417127b90ec92038d1d5c4fbeac971a922e0e0924" dependencies = [ "pin-project-internal", ] [[package]] name = "pin-project-internal" -version = "1.1.12" +version = "1.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a990e22f43e84855daf260dded30524ef4a9021cc7541c26540500a50b624389" +checksum = "c96395f0a926bc13b1c17622aaddda1ecb55d49c8f1bf9777e4d877800a43f8b" dependencies = [ "proc-macro2", "quote", @@ -4905,7 +4905,7 @@ dependencies = [ [[package]] name = "rattler_build_core" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "arwen-codesign", @@ -5004,7 +5004,7 @@ dependencies = [ [[package]] name = "rattler_build_jinja" -version = "0.1.6" +version = "0.1.7" dependencies = [ "anyhow", "fs-err", @@ -5027,7 +5027,7 @@ dependencies = [ [[package]] name = "rattler_build_networking" -version = "0.1.5" +version = "0.1.6" dependencies = [ "astral-reqwest-middleware", "astral-reqwest-retry", @@ -5039,7 +5039,7 @@ dependencies = [ [[package]] name = "rattler_build_package" -version = "0.1.6" +version = "0.1.7" dependencies = [ "chrono", "content_inspector", @@ -5070,7 +5070,7 @@ dependencies = [ [[package]] name = "rattler_build_recipe" -version = "0.1.6" +version = "0.1.7" dependencies = [ "clap", "fs-err", @@ -5105,7 +5105,7 @@ dependencies = [ [[package]] name = "rattler_build_recipe_generator" -version = "0.1.5" +version = "0.1.6" dependencies = [ "async-once-cell", "async-recursion", @@ -5136,7 +5136,7 @@ dependencies = [ [[package]] name = "rattler_build_script" -version = "0.2.3" +version = "0.2.4" dependencies = [ "clap", "console", @@ -5160,7 +5160,7 @@ dependencies = [ [[package]] name = "rattler_build_source_cache" -version = "0.1.5" +version = "0.1.6" dependencies = [ "astral-reqwest-middleware", "astral-reqwest-retry", @@ -5200,7 +5200,7 @@ dependencies = [ [[package]] name = "rattler_build_types" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "globset", @@ -5216,7 +5216,7 @@ dependencies = [ [[package]] name = "rattler_build_variant_config" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "insta", @@ -5238,7 +5238,7 @@ dependencies = [ [[package]] name = "rattler_build_yaml_parser" -version = "0.1.6" +version = "0.1.7" dependencies = [ "insta", "marked-yaml", @@ -7471,9 +7471,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tar" -version = "0.4.45" +version = "0.4.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22692a6476a21fa75fdfc11d452fda482af402c008cdbaf3476414e122040973" +checksum = "3f6221d9a6003c78398e3b239969f352578258df48c8eb051caadae0015bc840" dependencies = [ "filetime", "libc", @@ -7791,7 +7791,7 @@ dependencies = [ "toml_datetime 1.1.1+spec-1.1.0", "toml_parser", "toml_writer", - "winnow 1.0.2", + "winnow 1.0.3", ] [[package]] @@ -7821,7 +7821,7 @@ dependencies = [ "indexmap 2.14.0", "toml_datetime 1.1.1+spec-1.1.0", "toml_parser", - "winnow 1.0.2", + "winnow 1.0.3", ] [[package]] @@ -7830,7 +7830,7 @@ version = "1.1.2+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2abe9b86193656635d2411dc43050282ca48aa31c2451210f4202550afb7526" dependencies = [ - "winnow 1.0.2", + "winnow 1.0.3", ] [[package]] @@ -7891,9 +7891,9 @@ dependencies = [ [[package]] name = "tower-http" -version = "0.6.10" +version = "0.6.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68d6fdd9f81c2819c9a8b0e0cd91660e7746a8e6ea2ba7c6b2b057985f6bcb51" +checksum = "4cfcf7e2740e6fc6d4d688b4ef00650406bb94adf4731e43c096c3a19fe40840" dependencies = [ "async-compression", "bitflags", @@ -8973,9 +8973,9 @@ checksum = "df79d97927682d2fd8adb29682d1140b343be4ac0f08fd68b7765d9c059d3945" [[package]] name = "winnow" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2ee1708bef14716a11bae175f579062d4554d95be2c6829f518df847b7b3fdd0" +checksum = "0592e1c9d151f854e6fd382574c3a0855250e1d9b2f99d9281c6e6391af352f1" dependencies = [ "memchr", ] diff --git a/Cargo.toml b/Cargo.toml index 05468ad80..231cfea1b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -169,16 +169,16 @@ rattler_menuinst = "0.2.57" # Internal rattler-build crates rattler_build_allocator = { path = "crates/rattler_build_allocator", version = "=0.1.1" } -rattler_build_core = { path = "crates/rattler_build_core", version = "=0.2.4", default-features = false } -rattler_build_jinja = { path = "crates/rattler_build_jinja", version = "=0.1.6" } -rattler_build_networking = { path = "crates/rattler_build_networking", version = "=0.1.5" } -rattler_build_recipe = { path = "crates/rattler_build_recipe", version = "=0.1.6" } -rattler_build_recipe_generator = { path = "crates/rattler_build_recipe_generator", version = "=0.1.5", default-features = false } -rattler_build_script = { path = "crates/rattler_build_script", version = "=0.2.3", default-features = false } -rattler_build_source_cache = { path = "crates/rattler_build_source_cache", version = "=0.1.5", default-features = false } -rattler_build_types = { path = "crates/rattler_build_types", version = "=0.1.6" } -rattler_build_variant_config = { path = "crates/rattler_build_variant_config", version = "=0.1.6" } -rattler_build_yaml_parser = { path = "crates/rattler_build_yaml_parser", version = "=0.1.6" } +rattler_build_core = { path = "crates/rattler_build_core", version = "=0.2.5", default-features = false } +rattler_build_jinja = { path = "crates/rattler_build_jinja", version = "=0.1.7" } +rattler_build_networking = { path = "crates/rattler_build_networking", version = "=0.1.6" } +rattler_build_recipe = { path = "crates/rattler_build_recipe", version = "=0.1.7" } +rattler_build_recipe_generator = { path = "crates/rattler_build_recipe_generator", version = "=0.1.6", default-features = false } +rattler_build_script = { path = "crates/rattler_build_script", version = "=0.2.4", default-features = false } +rattler_build_source_cache = { path = "crates/rattler_build_source_cache", version = "=0.1.6", default-features = false } +rattler_build_types = { path = "crates/rattler_build_types", version = "=0.1.7" } +rattler_build_variant_config = { path = "crates/rattler_build_variant_config", version = "=0.1.7" } +rattler_build_yaml_parser = { path = "crates/rattler_build_yaml_parser", version = "=0.1.7" } [features] default = ['rustls', 'recipe-generation', 's3', 'sigstore'] diff --git a/crates/rattler_build_core/CHANGELOG.md b/crates/rattler_build_core/CHANGELOG.md index e131a77ed..c8b27a2be 100644 --- a/crates/rattler_build_core/CHANGELOG.md +++ b/crates/rattler_build_core/CHANGELOG.md @@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.5](https://github.com/prefix-dev/rattler-build/compare/rattler_build_core-v0.2.4...rattler_build_core-v0.2.5) - 2026-05-20 + +### Added + +- Allow build scripts to override package contents ([#2476](https://github.com/prefix-dev/rattler-build/pull/2476)) +- add warn when repodata unsupported ([#2472](https://github.com/prefix-dev/rattler-build/pull/2472)) +- v3 packages ([#2452](https://github.com/prefix-dev/rattler-build/pull/2452)) + +### Fixed + +- validate source attestations ([#2338](https://github.com/prefix-dev/rattler-build/pull/2338)) +- improve error handling in DependencyResolutionError ([#2485](https://github.com/prefix-dev/rattler-build/pull/2485)) +- respect `.orig`-only sources in patch application ([#2470](https://github.com/prefix-dev/rattler-build/pull/2470)) +- variant tracking and env vars for staging cache inheritance ([#2455](https://github.com/prefix-dev/rattler-build/pull/2455)) +- remove PKG_* environment variables in staging cache, set variant values ([#2449](https://github.com/prefix-dev/rattler-build/pull/2449)) +- use force directory removal to handle Windows file locks ([#2444](https://github.com/prefix-dev/rattler-build/pull/2444)) +- prevent stacking of pending-rm suffixes on Windows cleanup ([#2439](https://github.com/prefix-dev/rattler-build/pull/2439)) +- set CONDA_BUILD env var in build_env.sh to fix env-isolation none ([#2433](https://github.com/prefix-dev/rattler-build/pull/2433)) +- include default env vars also in test environment ([#2425](https://github.com/prefix-dev/rattler-build/pull/2425)) + +### Other + +- bump rattler crates ([#2502](https://github.com/prefix-dev/rattler-build/pull/2502)) +- bump rattler crates and migrate to reqwest 0.13 ([#2493](https://github.com/prefix-dev/rattler-build/pull/2493)) +- lazily initialize the `BaseClient` ([#2456](https://github.com/prefix-dev/rattler-build/pull/2456)) +- bump rattler dependencies ([#2457](https://github.com/prefix-dev/rattler-build/pull/2457)) + ## [0.2.4](https://github.com/prefix-dev/rattler-build/compare/rattler_build_core-v0.2.3...rattler_build_core-v0.2.4) - 2026-04-13 ### Added diff --git a/crates/rattler_build_core/Cargo.toml b/crates/rattler_build_core/Cargo.toml index 4eb52f9ad..35c7a986b 100644 --- a/crates/rattler_build_core/Cargo.toml +++ b/crates/rattler_build_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_core" -version = "0.2.4" +version = "0.2.5" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_jinja/CHANGELOG.md b/crates/rattler_build_jinja/CHANGELOG.md index 03b55d705..80c364efb 100644 --- a/crates/rattler_build_jinja/CHANGELOG.md +++ b/crates/rattler_build_jinja/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_jinja-v0.1.6...rattler_build_jinja-v0.1.7) - 2026-05-20 + +### Added + +- `git.latest_tag_distance` ([#2484](https://github.com/prefix-dev/rattler-build/pull/2484)) + +### Fixed + +- correct `git.latest_tag_distance` parsing for dashed tag names ([#2491](https://github.com/prefix-dev/rattler-build/pull/2491)) + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_jinja-v0.1.5...rattler_build_jinja-v0.1.6) - 2026-04-13 ### Fixed diff --git a/crates/rattler_build_jinja/Cargo.toml b/crates/rattler_build_jinja/Cargo.toml index a205eed67..27e3503cb 100644 --- a/crates/rattler_build_jinja/Cargo.toml +++ b/crates/rattler_build_jinja/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_jinja" -version = "0.1.6" +version = "0.1.7" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_networking/CHANGELOG.md b/crates/rattler_build_networking/CHANGELOG.md index 226362c41..37dce2b81 100644 --- a/crates/rattler_build_networking/CHANGELOG.md +++ b/crates/rattler_build_networking/CHANGELOG.md @@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_networking-v0.1.5...rattler_build_networking-v0.1.6) - 2026-05-20 + +### Other + +- bump rattler crates and migrate to reqwest 0.13 ([#2493](https://github.com/prefix-dev/rattler-build/pull/2493)) +- lazily initialize the `BaseClient` ([#2456](https://github.com/prefix-dev/rattler-build/pull/2456)) + ## [0.1.5](https://github.com/prefix-dev/rattler-build/compare/rattler_build_networking-v0.1.4...rattler_build_networking-v0.1.5) - 2026-04-13 ### Other diff --git a/crates/rattler_build_networking/Cargo.toml b/crates/rattler_build_networking/Cargo.toml index bc8820060..6decce6d3 100644 --- a/crates/rattler_build_networking/Cargo.toml +++ b/crates/rattler_build_networking/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_networking" -version = "0.1.5" +version = "0.1.6" edition.workspace = true authors.workspace = true license.workspace = true diff --git a/crates/rattler_build_package/CHANGELOG.md b/crates/rattler_build_package/CHANGELOG.md index 5463a5e91..0c2d77a08 100644 --- a/crates/rattler_build_package/CHANGELOG.md +++ b/crates/rattler_build_package/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_package-v0.1.6...rattler_build_package-v0.1.7) - 2026-05-20 + +### Added + +- v3 packages ([#2452](https://github.com/prefix-dev/rattler-build/pull/2452)) + +### Other + +- bump rattler dependencies ([#2457](https://github.com/prefix-dev/rattler-build/pull/2457)) + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_package-v0.1.5...rattler_build_package-v0.1.6) - 2026-04-13 ### Other diff --git a/crates/rattler_build_package/Cargo.toml b/crates/rattler_build_package/Cargo.toml index cd021234c..885795f3f 100644 --- a/crates/rattler_build_package/Cargo.toml +++ b/crates/rattler_build_package/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_package" -version = "0.1.6" +version = "0.1.7" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_recipe/CHANGELOG.md b/crates/rattler_build_recipe/CHANGELOG.md index baff8feb8..b1256ec44 100644 --- a/crates/rattler_build_recipe/CHANGELOG.md +++ b/crates/rattler_build_recipe/CHANGELOG.md @@ -7,6 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_recipe-v0.1.6...rattler_build_recipe-v0.1.7) - 2026-05-20 + +### Added + +- v3 packages ([#2452](https://github.com/prefix-dev/rattler-build/pull/2452)) +- remove experimental guard for staging outputs ([#2432](https://github.com/prefix-dev/rattler-build/pull/2432)) + +### Fixed + +- inherit build number for cache outputs ([#2460](https://github.com/prefix-dev/rattler-build/pull/2460)) +- variant tracking and env vars for staging cache inheritance ([#2455](https://github.com/prefix-dev/rattler-build/pull/2455)) +- disable build file auto-discovery for multi-output recipes ([#2436](https://github.com/prefix-dev/rattler-build/pull/2436)) + +### Other + +- bump rattler dependencies ([#2457](https://github.com/prefix-dev/rattler-build/pull/2457)) + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_recipe-v0.1.5...rattler_build_recipe-v0.1.6) - 2026-04-13 ### Added diff --git a/crates/rattler_build_recipe/Cargo.toml b/crates/rattler_build_recipe/Cargo.toml index 07453edc7..2631e9e11 100644 --- a/crates/rattler_build_recipe/Cargo.toml +++ b/crates/rattler_build_recipe/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_recipe" -version = "0.1.6" +version = "0.1.7" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_recipe_generator/CHANGELOG.md b/crates/rattler_build_recipe_generator/CHANGELOG.md index 31d23dc94..85aef188d 100644 --- a/crates/rattler_build_recipe_generator/CHANGELOG.md +++ b/crates/rattler_build_recipe_generator/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_recipe_generator-v0.1.5...rattler_build_recipe_generator-v0.1.6) - 2026-05-20 + +### Other + +- bump rattler crates and migrate to reqwest 0.13 ([#2493](https://github.com/prefix-dev/rattler-build/pull/2493)) + ## [0.1.5](https://github.com/prefix-dev/rattler-build/compare/rattler_build_recipe_generator-v0.1.4...rattler_build_recipe_generator-v0.1.5) - 2026-04-13 ### Other diff --git a/crates/rattler_build_recipe_generator/Cargo.toml b/crates/rattler_build_recipe_generator/Cargo.toml index 52b1ede4e..2a918f6bf 100644 --- a/crates/rattler_build_recipe_generator/Cargo.toml +++ b/crates/rattler_build_recipe_generator/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_recipe_generator" -version = "0.1.5" +version = "0.1.6" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_script/CHANGELOG.md b/crates/rattler_build_script/CHANGELOG.md index 58174a82d..8fd5e7535 100644 --- a/crates/rattler_build_script/CHANGELOG.md +++ b/crates/rattler_build_script/CHANGELOG.md @@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.4](https://github.com/prefix-dev/rattler-build/compare/rattler_build_script-v0.2.3...rattler_build_script-v0.2.4) - 2026-05-20 + +### Fixed + +- set CONDA_BUILD env var in build_env.sh to fix env-isolation none ([#2433](https://github.com/prefix-dev/rattler-build/pull/2433)) + +### Other + +- bump rattler crates and migrate to reqwest 0.13 ([#2493](https://github.com/prefix-dev/rattler-build/pull/2493)) + ## [0.2.3](https://github.com/prefix-dev/rattler-build/compare/rattler_build_script-v0.2.2...rattler_build_script-v0.2.3) - 2026-04-13 ### Added diff --git a/crates/rattler_build_script/Cargo.toml b/crates/rattler_build_script/Cargo.toml index 666443757..90502ff7b 100644 --- a/crates/rattler_build_script/Cargo.toml +++ b/crates/rattler_build_script/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_script" -version = "0.2.3" +version = "0.2.4" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_source_cache/CHANGELOG.md b/crates/rattler_build_source_cache/CHANGELOG.md index 607147ddc..e2a43baf2 100644 --- a/crates/rattler_build_source_cache/CHANGELOG.md +++ b/crates/rattler_build_source_cache/CHANGELOG.md @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_source_cache-v0.1.5...rattler_build_source_cache-v0.1.6) - 2026-05-20 + +### Fixed + +- validate source attestations ([#2338](https://github.com/prefix-dev/rattler-build/pull/2338)) + +### Other + +- bump rattler crates and migrate to reqwest 0.13 ([#2493](https://github.com/prefix-dev/rattler-build/pull/2493)) +- lazily initialize the `BaseClient` ([#2456](https://github.com/prefix-dev/rattler-build/pull/2456)) + ## [0.1.5](https://github.com/prefix-dev/rattler-build/compare/rattler_build_source_cache-v0.1.4...rattler_build_source_cache-v0.1.5) - 2026-04-13 ### Fixed diff --git a/crates/rattler_build_source_cache/Cargo.toml b/crates/rattler_build_source_cache/Cargo.toml index fda45064b..3b570d7fa 100644 --- a/crates/rattler_build_source_cache/Cargo.toml +++ b/crates/rattler_build_source_cache/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_source_cache" -version = "0.1.5" +version = "0.1.6" edition.workspace = true authors.workspace = true license.workspace = true diff --git a/crates/rattler_build_types/CHANGELOG.md b/crates/rattler_build_types/CHANGELOG.md index e9f65afc8..3ac36e88c 100644 --- a/crates/rattler_build_types/CHANGELOG.md +++ b/crates/rattler_build_types/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_types-v0.1.6...rattler_build_types-v0.1.7) - 2026-05-20 + +### Other + +- update Cargo.toml dependencies + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_types-v0.1.5...rattler_build_types-v0.1.6) - 2026-04-13 ### Other diff --git a/crates/rattler_build_types/Cargo.toml b/crates/rattler_build_types/Cargo.toml index aff5b1eb0..2939fb153 100644 --- a/crates/rattler_build_types/Cargo.toml +++ b/crates/rattler_build_types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_types" -version = "0.1.6" +version = "0.1.7" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_variant_config/CHANGELOG.md b/crates/rattler_build_variant_config/CHANGELOG.md index 9e7d417af..d000d7ef3 100644 --- a/crates/rattler_build_variant_config/CHANGELOG.md +++ b/crates/rattler_build_variant_config/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_variant_config-v0.1.6...rattler_build_variant_config-v0.1.7) - 2026-05-20 + +### Other + +- update Cargo.toml dependencies + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_variant_config-v0.1.5...rattler_build_variant_config-v0.1.6) - 2026-04-13 ### Other diff --git a/crates/rattler_build_variant_config/Cargo.toml b/crates/rattler_build_variant_config/Cargo.toml index 6ae1d2e51..e63807fb3 100644 --- a/crates/rattler_build_variant_config/Cargo.toml +++ b/crates/rattler_build_variant_config/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_variant_config" -version = "0.1.6" +version = "0.1.7" authors.workspace = true edition.workspace = true license.workspace = true diff --git a/crates/rattler_build_yaml_parser/CHANGELOG.md b/crates/rattler_build_yaml_parser/CHANGELOG.md index b71f02935..e6debe786 100644 --- a/crates/rattler_build_yaml_parser/CHANGELOG.md +++ b/crates/rattler_build_yaml_parser/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.7](https://github.com/prefix-dev/rattler-build/compare/rattler_build_yaml_parser-v0.1.6...rattler_build_yaml_parser-v0.1.7) - 2026-05-20 + +### Other + +- updated the following local packages: rattler_build_jinja + ## [0.1.6](https://github.com/prefix-dev/rattler-build/compare/rattler_build_yaml_parser-v0.1.5...rattler_build_yaml_parser-v0.1.6) - 2026-04-13 ### Other diff --git a/crates/rattler_build_yaml_parser/Cargo.toml b/crates/rattler_build_yaml_parser/Cargo.toml index 0095bad11..dbe25a597 100644 --- a/crates/rattler_build_yaml_parser/Cargo.toml +++ b/crates/rattler_build_yaml_parser/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rattler_build_yaml_parser" -version = "0.1.6" +version = "0.1.7" edition.workspace = true license.workspace = true repository.workspace = true From 6880abeface8c3102c4665ba011dc9ea1409f35e Mon Sep 17 00:00:00 2001 From: "prefix-dev-release-bot[bot]" Date: Wed, 20 May 2026 07:56:07 +0000 Subject: [PATCH 2/5] chore: sync py-rattler-build Cargo.lock --- py-rattler-build/rust/Cargo.lock | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/py-rattler-build/rust/Cargo.lock b/py-rattler-build/rust/Cargo.lock index d06442ea0..b81a3f7c9 100644 --- a/py-rattler-build/rust/Cargo.lock +++ b/py-rattler-build/rust/Cargo.lock @@ -4792,7 +4792,7 @@ dependencies = [ [[package]] name = "rattler_build_core" -version = "0.2.4" +version = "0.2.5" dependencies = [ "anyhow", "arwen-codesign", @@ -4875,7 +4875,7 @@ dependencies = [ [[package]] name = "rattler_build_jinja" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "indexmap 2.13.0", @@ -4895,7 +4895,7 @@ dependencies = [ [[package]] name = "rattler_build_networking" -version = "0.1.5" +version = "0.1.6" dependencies = [ "astral-reqwest-middleware", "astral-reqwest-retry", @@ -4906,7 +4906,7 @@ dependencies = [ [[package]] name = "rattler_build_package" -version = "0.1.6" +version = "0.1.7" dependencies = [ "chrono", "content_inspector", @@ -4934,7 +4934,7 @@ dependencies = [ [[package]] name = "rattler_build_recipe" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "globset", @@ -4966,7 +4966,7 @@ dependencies = [ [[package]] name = "rattler_build_recipe_generator" -version = "0.1.5" +version = "0.1.6" dependencies = [ "async-once-cell", "async-recursion", @@ -4995,7 +4995,7 @@ dependencies = [ [[package]] name = "rattler_build_script" -version = "0.2.3" +version = "0.2.4" dependencies = [ "clap", "console", @@ -5016,7 +5016,7 @@ dependencies = [ [[package]] name = "rattler_build_source_cache" -version = "0.1.5" +version = "0.1.6" dependencies = [ "astral-reqwest-middleware", "astral-reqwest-retry", @@ -5055,7 +5055,7 @@ dependencies = [ [[package]] name = "rattler_build_types" -version = "0.1.6" +version = "0.1.7" dependencies = [ "globset", "itertools 0.14.0", @@ -5069,7 +5069,7 @@ dependencies = [ [[package]] name = "rattler_build_variant_config" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "marked-yaml", @@ -5088,7 +5088,7 @@ dependencies = [ [[package]] name = "rattler_build_yaml_parser" -version = "0.1.6" +version = "0.1.7" dependencies = [ "marked-yaml", "miette", From 5bfa8bf2246f1f50f6cce9aecc8b04a6a7a0b72c Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 20 May 2026 10:50:07 +0200 Subject: [PATCH 3/5] fix(jinja): handle Expr::Compare introduced in minijinja 2.20 minijinja 2.20.0 split chained comparisons (e.g. `a < b < c`) out of Expr::BinOp into a dedicated Expr::Compare variant, which broke the exhaustive match in collect_variables_from_expr. Add a Compare arm that walks the left-hand expression and every operand of the chain so all referenced variables continue to be tracked. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/rattler_build_jinja/src/ast_variables.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/rattler_build_jinja/src/ast_variables.rs b/crates/rattler_build_jinja/src/ast_variables.rs index ef8de2466..615503be1 100644 --- a/crates/rattler_build_jinja/src/ast_variables.rs +++ b/crates/rattler_build_jinja/src/ast_variables.rs @@ -384,6 +384,12 @@ fn collect_variables_from_expr( collect_variables_from_expr(&binop.left, variables); collect_variables_from_expr(&binop.right, variables); } + Expr::Compare(compare) => { + collect_variables_from_expr(&compare.expr, variables); + for op in &compare.ops { + collect_variables_from_expr(&op.expr, variables); + } + } Expr::IfExpr(if_expr) => { collect_variables_from_expr(&if_expr.test_expr, variables); collect_variables_from_expr(&if_expr.true_expr, variables); From 2f5a2b59d7780d777959e947db61cabd93305741 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 20 May 2026 11:38:52 +0200 Subject: [PATCH 4/5] chore(playground): bump pinned minijinja to 2.20 to match workspace The playground crate is excluded from the main workspace and keeps its own lockfile for WASM dep resolution. It was still pinned to minijinja 2.18, so after adding the Expr::Compare arm (only present in 2.20+) the WASM build broke with E0599 on the playground crate. Run `cargo update -p minijinja` inside the playground so it resolves to 2.20.0 like the rest of the workspace. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/rattler_build_playground/Cargo.lock | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/rattler_build_playground/Cargo.lock b/crates/rattler_build_playground/Cargo.lock index ad309e228..9ea54e681 100644 --- a/crates/rattler_build_playground/Cargo.lock +++ b/crates/rattler_build_playground/Cargo.lock @@ -1058,9 +1058,9 @@ dependencies = [ [[package]] name = "minijinja" -version = "2.18.0" +version = "2.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "328251e58ad8e415be6198888fc207502727dc77945806421ab34f35bf012e7d" +checksum = "2929e494b2280e1e18959bb2e121da03347ae896896fdfaceaab43c88a02803f" dependencies = [ "aho-corasick", "memo-map", @@ -1225,7 +1225,7 @@ checksum = "f8dcc9c7d52a811697d2151c701e0d08956f92b0e24136cf4cf27b57a6a0d9bf" [[package]] name = "rattler_build_jinja" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "indexmap 2.13.0", @@ -1267,7 +1267,7 @@ dependencies = [ [[package]] name = "rattler_build_recipe" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "globset", @@ -1299,7 +1299,7 @@ dependencies = [ [[package]] name = "rattler_build_script" -version = "0.2.3" +version = "0.2.4" dependencies = [ "clap", "console", @@ -1309,7 +1309,7 @@ dependencies = [ [[package]] name = "rattler_build_types" -version = "0.1.6" +version = "0.1.7" dependencies = [ "globset", "itertools", @@ -1323,7 +1323,7 @@ dependencies = [ [[package]] name = "rattler_build_variant_config" -version = "0.1.6" +version = "0.1.7" dependencies = [ "fs-err", "marked-yaml", @@ -1342,7 +1342,7 @@ dependencies = [ [[package]] name = "rattler_build_yaml_parser" -version = "0.1.6" +version = "0.1.7" dependencies = [ "marked-yaml", "miette", From c4d2dade1f22cbc895a8651df78c9273d8a77590 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Wed, 20 May 2026 13:54:07 +0200 Subject: [PATCH 5/5] chore(py-rattler-build): bump pinned minijinja to 2.20 to match workspace py-rattler-build/rust/ has its own Cargo.lock (it's a separate Cargo project, not a workspace member). It was still pinned to minijinja 2.18.0, so pre-commit's py-rattler-build-cargo-clippy job failed with E0599 on Expr::Compare after the source fix landed. Same shape as the playground lockfile bump in the previous commit. Co-Authored-By: Claude Opus 4.7 (1M context) --- py-rattler-build/rust/Cargo.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/py-rattler-build/rust/Cargo.lock b/py-rattler-build/rust/Cargo.lock index b81a3f7c9..b14cc930e 100644 --- a/py-rattler-build/rust/Cargo.lock +++ b/py-rattler-build/rust/Cargo.lock @@ -3504,9 +3504,9 @@ dependencies = [ [[package]] name = "minijinja" -version = "2.18.0" +version = "2.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "328251e58ad8e415be6198888fc207502727dc77945806421ab34f35bf012e7d" +checksum = "2929e494b2280e1e18959bb2e121da03347ae896896fdfaceaab43c88a02803f" dependencies = [ "aho-corasick", "memo-map",