Skip to content

Commit

Permalink
November Release Blogpost
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Dec 6, 2024
1 parent 059e2b3 commit f843a1c
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 14 deletions.
116 changes: 116 additions & 0 deletions blog/2024-12-05-november-releases.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
---
title: "November 2024 Releases"
slug: "2024-12-05-november-releases"
authors: [kenodegard]
tags: [announcement, conda, conda-build, conda-libmamba-solver]
description: |
conda 24.11.0, conda-build 24.11.2, and conda-libmamba-solver 24.11.1 have been released! 🎉
image: img/blog/2024-12-05-november-releases/banner.png
---

The November 2024 releases included updates to conda, conda-build, and conda-libmamba-solver! 🎉 All of these have been released to both `main` and `conda-forge` channels.

<!-- truncate -->

## Changes in conda [24.11.0](https://github.com/conda/conda/releases/tag/24.11.0)

To update `conda` to the latest version, run:

```bash
conda install -n base conda=24.11.0
```

### ✨ What's New? ✨

- Adds a new plugin hook for reporter backends.
- Add support for CEP-17 that allows specifying the path to the site-packages directory of the the Python package via the `repodata.json`.
- Adds progress bar support for reporter backends plugin hook.
- Adds support for defining spinners for the reporter backends plugin hook.
- Adds support for confirmation functions for reporter backends plugin hook.
- Add new plugin hooks (`conda_session_headers` and `conda_request_headers`) to add headers to outgoing HTTP requests.

### 🔧 What Got Fixed? 🔧

- Do not retry solves twice in failed `conda env` runs.
- Remove CreateNonAdminAction to prevent conda remove from deleting `.nonadmin` files.
- Do not map Python distribution names to conda names in `PrefixData(pip_interop_enabled=True)`.
- Fix output writing for `conda export --json --file`.
- Update `deprecated.action()` function to account for positional arguments that have no value specified.
- Fix continuous integration upload of coverage files.

### 🌅 What Got Deprecated or Got Marked for Future [Deprecation](https://github.com/conda-incubator/ceps/blob/main/cep-9.md)? 🌅

- Remove `__conda_reactivate` shell function in favor of `__conda_activate reactivate`.
- Mark `conda.misc.rel_path` as pending deprecation.
- Require Python 3.9 or greater.

## Changes in conda-build [24.11.0](https://github.com/conda/conda-build/releases/tag/24.11.0)/[24.11.1](https://github.com/conda/conda-build/releases/tag/24.11.1)/[24.11.2](https://github.com/conda/conda-build/releases/tag/24.11.2)

To update `conda-build` to the latest version, run:

```bash
conda install -n base conda-build=24.11.2
```

### ✨ What's New? ✨

- Introduce `--package-format` as a command line argument.
- This takes precedence over default value and `condarc`.
- Normalization occurs so `1`, `"1"`, `tar.bz2`,`.tar.bz2`, `2`, `"2"`, `conda`, `.conda` are all recognized and mapped appropriately.
- Other options are rejected.
- Add support for [CEP-17](https://github.com/conda/ceps/blob/main/cep-0017.md) that allows specifying the location of the site-packages directory with the `python_site_packages_path` build option for any packages named `python`.

### 🔧 What Got Fixed? 🔧

- Fix regex for Jinja2 `set` / `for` statements to be more specific.
- Fix `ruamel.yaml` usage to use supported APIs.
- Fix bug variant variables were not defined for the first parsing pass of a recipe.
- Fix a bug where variants were incorrectly found as being used when they matched a leading substring of another variant.
- Fix a bug where variants were not found when variables were used in `pin_*` statements.
- (24.11.1) Fix `TypeError` when no CLI arguments are passed.
- (24.11.2) Fix bug where `.copy()` was used on a string instead of `copy()` when processing variants.

### 🌅 What Got Deprecated or Got Marked for Future [Deprecation](https://github.com/conda-incubator/ceps/blob/main/cep-9.md)? 🌅

- Deprecate `conda_build.exceptions.UnableToParseMissingJinja2`.
- Deprecate `conda_build.index.get_build_index(locking)`.
- Deprecate `conda_build.index.get_build_index(timeout)`.
- Require Python 3.9 or greater.
- The default value for `--package-format` and `conda_pkg_format` will become `.conda` in 25.1.

### 📄 What's New in Documentation? 📄

- Better document `run_test.r`.
- Fix bug in docs build by pinning `conda-sphinx-theme` version to 0.2.2.

## Changes in conda-libmamba-solver [24.11.0rc](https://github.com/conda/conda-libmamba-solver/releases/tag/24.11.0rc)/[24.11.0](https://github.com/conda/conda-libmamba-solver/releases/tag/24.11.0)/[24.11.1](https://github.com/conda/conda-libmamba-solver/releases/tag/24.11.1)

To update `conda-libmamba-solver` to the latest version, run:

```bash
conda install -n base conda-libmamba-solver=24.11.1
```

### ✨ What's New? ✨

- Require `libmambapy` v2. This is a big refactor in `libmamba` internals, which also allowed us to remove a lot of code in `conda-libmamba-solver`.

### 🔧 What Got Fixed? 🔧

- Load SOLV repodata cache in offline mode too.
- (24.11.1) Ensure `PackageRecord` URLs are percent-decoded before passing them back to `conda`.

### 🌅 What Got Deprecated or Got Marked for Future Deprecation

- `CONDA_LIBMAMBA_SOLVER_NO_CHANNELS_FROM_INSTALLED` has no effect anymore. Channels coming from installed packages are no longer added to the channel list.
- Removed `conda_libmamba_solver.state.BaseIndexHelper`. The base class is now `conda_libmamba_solver.index.IndexHelper`.
- Verbose logging in `libsolv` has a big overhead in `libmamba` v2, so we have disabled it by default (even if the user adds `-vvv` flags to the CLI). To opt-in, please set `CONDA_LIBMAMBA_SOLVER_DEBUG_LIBSOLV` to a truthy value.
- Python 3.8 is no longer supported. The minimum version is now 3.9.

## We ❤️ Our Community

Altogether, we had 3 new contributors this release cycle; thank you to all of our open source community members for helping making these improvements possible.

- @muffato made their first contribution in [conda#14342](https://github.com/conda/conda/pull/14342)
- @nilskch made their first contribution in [conda#14214](https://github.com/conda/conda/pull/14214)
- @corneliusroemer made their first contribution in [conda-build#5417](https://github.com/conda/conda-build/pull/5417)
30 changes: 16 additions & 14 deletions blog/news.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
[
{
"title": "November 2024 Releases",
"slug": "2024-12-05-november-releases",
"authors": [
"kenodegard"
],
"tags": [
"announcement",
"conda",
"conda-build",
"conda-libmamba-solver"
],
"description": "conda 24.11.0, conda-build 24.11.2, and conda-libmamba-solver 24.11.1 have been released! \ud83c\udf89\n",
"image": "img/blog/2024-12-05-november-releases/banner.png",
"date": "2024-12-05T00:00:00"
},
{
"title": "Navigating Change in Conda-Build Recipe Formats: Balancing Legacy and Innovation",
"slug": "2024-11-15-v0-format-modifications",
Expand Down Expand Up @@ -61,19 +77,5 @@
"description": "Rattler, a set of Rust libraries for managing conda environments, is moving to the conda organization.",
"image": "img/blog/2024-10-rattler/banner.png",
"date": "2024-10-01T00:00:00"
},
{
"title": "New video on conda-forge origins",
"slug": "2024-09-12-chatting-with-the-conda-community-1",
"authors": [
"wolfv"
],
"tags": [
"announcement",
"chatting-with-the-conda-community"
],
"description": "The first \"chatting with the conda community\" is talking about the origins of conda-forge - with Filipe Fernandes.",
"image": "img/blog/2024-09-chatting-with-conda-community/banner.png",
"date": "2024-09-12T00:00:00"
}
]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f843a1c

Please sign in to comment.