Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ All notable changes to this project are documented here.

<!-- towncrier release notes start -->

## 0.9.1 - 2026-11-24

### Fixed

- CycloneDX SBOM emission includes a non-empty `versionsuffix` qualifier in each component `bom-ref` and `purl`, keeping co-installed builds of the same package release distinct so `dependencies` and formulation `taskDependencies` satisfy CycloneDX 1.5 uniqueness.
- Derive `intel` (`iimkl`) and `lfoss` (`lfbf`) intermediate composite toolchains in topological subtoolchain-first order, and exclude `gompi` from `gfbf` hierarchies.
- Easyconfig comment stripping and triple-quoted string scanning skip backslash escapes inside string literals so escaped quotes before `#` or closing delimiters do not truncate strings or drop later fields such as `toolchain`. Trailing comments after a closing triple quote on a continuation line are also stripped.
- Enforce non-system per-dependency toolchain overrides in
`build_order::satisfies` even when a `SYSTEM` variant shares the exact
module version string.
- Evaluate single-clause generator expressions inside method call arguments and parentheses (`sep.join(expr for var in seq)`) in `eb_parse`, recovering dropped `exts_list` blocks in `AlphaPulldown`, `jax`, and `scib-metrics`.
- Expand `%(cudaver)s` and other dependency version templates inside `toolchain.version`, derive `cudaver` from `CUDA-<ver>` toolchain labels when no `CUDA` dependency is listed, and admit suffixed toolchain definitions in `dependency_candidate_scope`.
- Fall back to the `NVHPC` easyconfig in `nvidia_compilers_gcccore` when
no `nvidia-compilers` recipe exists, restoring the `GCCcore` hierarchy
level for pre-2025 `NVHPC` and `nvompi` toolchains.
- Include `versionsuffix` when reading the `nvidia-compilers` or `NVHPC` dependency pin inside `derive_nvidia_family_hierarchy`, so `NVHPC-25.3-CUDA-12.8.0` hierarchies emit `nvidia-compilers-25.3-CUDA-12.8.0` and resolve `libxc` and `GSL` dependencies built against it.
- Map EasyBuild's alternative easyconfig parameter spellings such as
`version_suffix`, `version_prefix`, `deps`, and `build_deps` to their
canonical parameter names after parsing.
- Match combined `version + versionsuffix` dependency pins in `candidate_matches_dep_for_recipe` when `dep.versionsuffix` is unset (such as `MCR/R2019b.8`), and accept trailing commas in `list.append(...)` statements.
- Parse Python raw string literals (`r"..."`, `r'...'`, `r"""..."""`) and raw f-strings (`rf"..."`, `fr"..."`) in `eb_parse` instead of rejecting the prefix as an unknown identifier and dropping `exts_list` or command parameters.
- Parse unparenthesized comma-separated right-hand side tuples in `eb_parse` unpacking assignments (such as `_parallel_tests, _test_type = 1, 'fast'`) so `exts_list` in `CuPy` recipes is preserved.
- Require an empty `versionsuffix` in `build_order::satisfies` when a
dependency omits the versionsuffix tuple element, matching EasyBuild's
empty-suffix default while still allowing exact combined stem+suffix pins.
- `provides` and `classify_stack_diff` in `src/report.rs` match toolchains with `crate::hierarchy::toolchains_match` rather than raw toolchain labels, so legacy `system` and `dummy` lock entries align cleanly with `system/system`.
- `stack admit` validates its timestamp and its quota and live-jobs sources before it takes the lock or runs a command, and reports an invalid timestamp under the ts option instead of generated-at. An invalid lock kind exits with status 2.

### Documentation

- The README and the command-line reference list every tool `eb-stack mcp` serves. The README left out `eb_stack_capacity`, `eb_stack_footprints`, `eb_stack_admit` and the ten `eb_ledger_*` tools, and the reference left out `eb_stack_buildenv` and four ledger tools. A test now compares both pages with the `tools/list` catalog.
- The `stack gap` how-to quotes the count line the command prints, with `filtered`, `open-layer` and `open-easyconfigs`, and lists every file `--out-dir` receives instead of three. A test now compares each count line a how-to quotes with the line its command prints.
- The scheduler capacity page runs as written. Its two commands continued each line with two backslashes, so a pasted block stopped after the first line, and the storage-policy fixture it uses named a stale snapshot digest, so `stack shard --storage-policy` refused it. Both now work from a checkout, and the page names release 0.7.4 as the first one that carries `stack capacity` and `stack shard --storage-policy` instead of saying the 0.7.3 binary lacks them.


## 0.9.0 - 2026-11-19

### Added
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ authors:
license: MIT
repository-code: "https://github.com/stackhands/eb-stack"
url: "https://eb-stack.rgoswami.me"
version: 0.9.0
version: 0.9.1
keywords:
- EasyBuild
- HPC
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ layer. The public files contain reusable package intent and target topology.

## Releasing

Version source of truth: `version` in root `Cargo.toml` (currently **0.9.0**).
Version source of truth: `version` in root `Cargo.toml` (currently **0.9.1**).

`cog bump` cuts a release. `cog.toml` runs `tools/release-prepare` before the
bump commit, which builds `CHANGELOG.md` from `changelog.d/` with towncrier,
Expand All @@ -102,8 +102,8 @@ published citation.
Then sign the tag cog made and push it:

```bash
git tag -s -f v0.9.0 -m "eb-stack 0.9.0" 'v0.9.0^{}'
git push origin v0.9.0
git tag -s -f v0.9.1 -m "eb-stack 0.9.1" 'v0.9.1^{}'
git push origin v0.9.1
# .github/workflows/release.yml (cargo-dist) builds the installers
# and publishes the GitHub Release.
# .github/workflows/publish.yml publishes eb_stack to crates.io with Trusted
Expand All @@ -119,5 +119,5 @@ Verify the binary surface:
```bash
cargo build --release
./target/release/eb-stack --version
# prints eb-stack 0.9.0
# prints eb-stack 0.9.1
```
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "eb_stack"
version = "0.9.0"
version = "0.9.1"
edition = "2021"
# Floor is 1.90: `ordered-float` 5.5.1 sets rust-version 1.90.
# `uuid` 1.29.0 sets 1.89.0. Edition 2024 dependencies need Cargo 1.85.
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

A plan is not a build. `package plan` and `package bump` can establish only **resolves**. `campaign run` owns **builds** and **binary-verified**.

The GitHub release and the crates.io package are 0.9.0 and carry every command here except those the changelog lists as unreleased.
The GitHub release and the crates.io package are 0.9.1 and carry every command here except those the changelog lists as unreleased.

## When EasyBuild alone is enough

Expand Down Expand Up @@ -85,10 +85,10 @@ stops while reading the crate index: the Cargo feature `edition2024` is
not stabilized. `rustup toolchain install stable` and `rustup default
stable` provide a new enough compiler.

The GitHub release is 0.9.0, with installers and archives for Linux
The GitHub release is 0.9.1, with installers and archives for Linux
(x86-64, aarch64), macOS and Windows, and `eb-stack --version` prints
`0.9.0` for it, as a build of this tree does. `cargo install eb_stack
--locked` builds the same 0.9.0 from crates.io.
`0.9.1` for it, as a build of this tree does. `cargo install eb_stack
--locked` builds the same 0.9.1 from crates.io.

`cargo binstall` is not part of a Rust install. `cargo binstall
eb_stack` fails with `no such command: binstall` until that program is
Expand All @@ -104,7 +104,7 @@ install -Dm755 target/release/eb-stack ~/.local/bin/eb-stack
```

Add `~/.local/bin` to `PATH`. `eb-stack --version` then prints
`eb-stack 0.9.0`. The test suite is `cargo test --locked`, in
`eb-stack 0.9.1`. The test suite is `cargo test --locked`, in
[Tests](#tests). It is not required before the first solve.

Build the Rust binary on a suitable build host. EasyBuild installs belong on the target selected by the public target configuration, not necessarily on the machine running the CLI.
Expand Down
1 change: 0 additions & 1 deletion changelog.d/+admit-validate-before-mutate.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+capacity-page-commands.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+cuda-toolchain-templates.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+dep-matching-and-append.bugfix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/+eb-parse-alt-param-names.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+eb-parse-escaped-quotes.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+gap-howto-count-line.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+generator-expr-in-calls.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+mcp-tool-lists.doc.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+nvidia-compilers-cuda-hierarchy.bugfix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/+nvidia-nvhpc-gcccore.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+raw-string-literals.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+report-toolchains-match.bugfix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/+satisfies-dep-toolchain.bugfix.md

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/+satisfies-empty-versionsuffix.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+sbom-versionsuffix-bom-ref.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+toolchain-hierarchy-parity.bugfix.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/+unpack-unparenthesized-tuple.bugfix.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/orgmode/changelog.org
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#+TITLE: Changelog
#+OPTIONS: toc:nil num:nil

Cargo, CITATION, and Sphinx report *0.9.0*. The notes for every release
since 0.3.0, 0.4.0 through 0.9.0, are the sections of
Cargo, CITATION, and Sphinx report *0.9.1*. The notes for every release
since 0.3.0, 0.4.0 through 0.9.1, are the sections of
[[https://github.com/stackhands/eb-stack/blob/main/CHANGELOG.md][CHANGELOG.md]].

The version-one design provides:
Expand Down
2 changes: 1 addition & 1 deletion docs/orgmode/contributing.org
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ layer. Public files contain reusable package intent and target topology.

* Releasing

Version source of truth is ~version~ in root ~Cargo.toml~ (currently *0.9.0*).
Version source of truth is ~version~ in root ~Cargo.toml~ (currently *0.9.1*).

~cog bump~ cuts a release, on a branch named ~chore/release-X.Y.Z~. ~cog.toml~
runs ~tools/release-prepare~ before the bump commit: towncrier builds
Expand Down
2 changes: 1 addition & 1 deletion docs/orgmode/explanation/sbom-blast-radius.org
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ eb-stack --version
#+end_src

#+begin_src text
eb-stack 0.9.0
eb-stack 0.9.1
#+end_src

The how-tos name the flags for each command:
Expand Down
6 changes: 3 additions & 3 deletions docs/orgmode/get-started.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
#+OPTIONS: toc:t num:nil author:nil

This path is for a site administrator. It uses a checkout of the
repository and ~eb-stack~ 0.9.0 on ~PATH~. The fixtures in the checkout
repository and ~eb-stack~ 0.9.1 on ~PATH~. The fixtures in the checkout
are the inputs. [[file:install.org][Installation]] is how the binary
gets onto ~PATH~. A full EasyBuild campaign is the
[[file:tutorial.org][tutorial]]. People changing the tool start at
[[file:contributing.org][Contributing]].

The commands below were run with the 0.9.0 binary. ~--version~ prints
The commands below were run with the 0.9.1 binary. ~--version~ prints
the version the binary was built as.

* Confirm the binary
Expand All @@ -18,7 +18,7 @@ eb-stack --version
#+end_src

#+begin_example
eb-stack 0.9.0
eb-stack 0.9.1
#+end_example

* Inspect a conda-forge recipe
Expand Down
12 changes: 6 additions & 6 deletions docs/orgmode/index.org
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<img class="eb-hero-mark" src="_static/mark.svg" width="56" height="56" alt="" />
<div>
<p class="eb-hero-name">eb-stack</p>
<p class="eb-hero-sub">0.9.0</p>
<p class="eb-hero-sub">0.9.1</p>
</div>
</div>
<p class="eb-hero-tagline">eb-stack reads conda-forge, Spack, PyPI, CRAN, Cargo, LuaRocks, Raku, and EasyBuild recipes into one package plan, writes a planned CycloneDX SBOM and a Resolvo lock per profile, emits one conventional easyconfig per profile, and drives those recipes through a persisted build campaign.</p>
Expand All @@ -20,7 +20,7 @@
``eb-stack``
============

Version 0.9.0 is the crates.io package and the GitHub release. ``package plan`` and ``package bump`` establish *resolves*. ``campaign run`` establishes *builds* and *binary-verified*.
Version 0.9.1 is the crates.io package and the GitHub release. ``package plan`` and ``package bump`` establish *resolves*. ``campaign run`` establishes *builds* and *binary-verified*.

.. grid:: 1 1 2 2
:gutter: 2
Expand Down Expand Up @@ -71,7 +71,7 @@ Version 0.9.0 is the crates.io package and the GitHub release. ``package plan``
:link: changelog
:link-type: doc

Release notes from 0.3.0 through 0.9.0.
Release notes from 0.3.0 through 0.9.1.

.. toctree::
:maxdepth: 1
Expand Down Expand Up @@ -193,10 +193,10 @@ Version 0.9.0 is the crates.io package and the GitHub release. ``package plan``
Site administrators building a stack start with
[[file:install.org][Installation]] and [[file:get-started.org][Get started]],
then the how-to guides in the sidebar (annual bump, new package, shard,
campaign repair). The GitHub release is 0.9.0, with archives for Linux
campaign repair). The GitHub release is 0.9.1, with archives for Linux
(x86-64, aarch64), macOS, and Windows. ~cargo install eb_stack --locked~
builds that same 0.9.0 from crates.io. ~eb-stack --version~ prints
~eb-stack 0.9.0~.
builds that same 0.9.1 from crates.io. ~eb-stack --version~ prints
~eb-stack 0.9.1~.

Contributors start at [[file:contributing.org][Contributing]]: Rust 1.90,
~cargo test --locked~, and the Org-to-Sphinx build. The generated Rust API
Expand Down
Loading
Loading