Skip to main content

13 posts tagged with "conda-build"

View All Tags

July 2023 Releases for conda and conda-build

· 5 min read
Bianca Henderson
Conda maintainer 🐍📦

The July 2023 releases are here! 🎊 Conda 23.7.0, 23.7.1, 23.7.2, and conda-build 3.26.0 are now available on both main and conda-forge channels.

Changes in Conda 23.7.0/23.7.1/23.7.2

To update conda, run:

conda install -n base conda=23.7.2

✨ What's New? ✨

In the latest release of conda, new pre- and post-command plugin hooks that allow you to run your code before or after a conda subcommand are now available, along with a much improved subcommand plugin hook and plugin infrastructure. There is also a new health check for conda doctor that detects altered packages in an environment by comparing expected and computed sha256 checksums, as well as a much-expanded API and command docs (conda env!).

May Releases for Conda, Conda-Build, and Conda-Libmamba-Solver

· 5 min read
Bianca Henderson
Conda maintainer 🐍📦

May releases are here! 🎊 Conda 23.5.0, conda-build 3.25.0, and conda-libmamba-solver 23.5.0 are now available on both main and conda-forge:

Changes in Conda

To update conda, run:

conda install -n base conda=23.5.0

✨ What's New? ✨

The long-awaited conda doctor subcommand plugin has been implemented! The related conda issue is over nine years old and has been a regularly requested feature. The conda doctor command enables conda users to detect any packages with files missing (i.e., corrupt packages) in their conda environment.

Conda-build 3.23 Released

· One min read

conda-build is a conda package for building your own packages for conda and other package managers.

To install conda-build run

conda install conda-build

If you already have it installed, you can upgrade to the newest version with

conda upgrade conda-build

The 3.23.0 and 3.23.1 releases have several updates:

  • Outputs now support both script and files arguments. When both script and an explicit file list are given, the script is run first and then the files given in the explicit file list are packaged. (#4281)
  • Add overlinking_ignore_patterns build parameter to speed up recipes where it is not helpful. (#4576)
  • Add win-arm64 as a recognized platform (subdir). (#4579)
  • Add opt-in environment variable to run conda in isolated mode (python -I -m conda) when invoked from conda-build. This is necessary to fix an issue when packaging conda itself. Alternative solutions (see #4628) are under investigation, so the current implementation will likely change. (#4604, #4625)
  • Refactored conda_build.convert.update_lib_contents to use pathlib.Path. Mark test_cli.test_convert as xfail on Windows (something with the GitHub Windows Runner makes this particularly flaky). (#4619, #4626)

See the conda-build documentation for more on how to use it to create packages.