Skip to content

Support modern versions of conda/mamba#147

Merged
jhunkeler merged 34 commits into
spacetelescope:masterfrom
jhunkeler:conda-updates
Jun 23, 2026
Merged

Support modern versions of conda/mamba#147
jhunkeler merged 34 commits into
spacetelescope:masterfrom
jhunkeler:conda-updates

Conversation

@jhunkeler

Copy link
Copy Markdown
Collaborator

No description provided.

jhunkeler added 29 commits June 22, 2026 11:55
* Add struct CondaCapabilities
… provided by the installer

* Some commands upgrade conda whether it is configured to allow the behavior or not
* Rename RECIPE_TYPE_* to RECIPE_STYLE_*
* Add defines for RECIPE_BUILD_* that denote which build system should be used to build the recipe
* STASIS wants equals-to, or nothing (latest).
* The use of URLs with '@' is what we need to avoid
* Tell the user the expected format on error
* Add "support" for rattler. Very loosely.
* Boa is dead, but we can still use it if conda is old enough
* Also because boa is dead we purge it from the list if the conda version is too new
* Initial environment activation changed as well, but still compatible with older versions of conda
* Use it for conda and libmamapy version detection
…'t necessary

* The delivery context already provides this path
* Remove inner workspace direction creation (left over from before the test framework handled it)
* Modern mamba returns zero on error, and prints its error messages to stdout. FANTASTIC.
* The error detection seems to still handle the previous behavior as well with older versions.
* And now we print the contents of stdout and stderr on a non-zero exit from the package manager
* Install boa, conda-build, and rattler-build
* If the version of conda or mamba is too new, boa is automatically removed from the list at runtime (its deprecated and causes the solver to fail)
@jhunkeler jhunkeler merged commit 5e0b3fb into spacetelescope:master Jun 23, 2026
3 checks passed
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.

1 participant