Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24.3.0 conda and conda-build March 2024 release blog post #185

Merged
merged 5 commits into from
Mar 26, 2024
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
8 changes: 4 additions & 4 deletions blog/2023-11-27-conda-documentation-gets-a-new-theme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ image: img/blog/2023-11-27-conda-documentation-gets-a-new-theme/conda-documentat
[conda-incubator]: https://github.com/conda-incubator
[conda-org]: https://github.com/conda

We recently pushed out a new theme to the documentation sites for
We recently pushed out a new theme to the documentation sites for
[conda][conda] and [conda-build][conda-build]. This theme is also available
for all conda related projects to use as a Sphinx theme (check out the
for all conda related projects to use as a Sphinx theme (check out the
[conda-sphinx-theme][conda-sphinx-theme] project).

<!-- truncate -->
Expand All @@ -34,7 +34,7 @@ team to choose what is best for them.
For any feature requests or bug reports regarding the new theme, please file them in the issues
section of the [conda-sphinx-theme project on GitHub][conda-sphinx-theme].

The theme itself is currently installable either by `pip install conda-sphinx-theme` or
The theme itself is currently installable either by `pip install conda-sphinx-theme` or
by `conda install -c conda-forge conda-sphinx-theme`.

We hope you all enjoy a better looking conda documentation experience!
We hope you all enjoy a better looking conda documentation experience!
6 changes: 3 additions & 3 deletions blog/2023-12-27-social-move.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ Conda is moving our social media presence from Twitter/X to Mastodon and LinkedI

Going forward, you can find us at

* **[@conda@fosstodon.org](https://fosstodon.org/@conda) on Mastodon**
* **[Conda Community](https://linkedin.com/company/condacommunity) on LinkedIn**
- **[@conda@fosstodon.org](https://fosstodon.org/@conda) on Mastodon**
- **[Conda Community](https://linkedin.com/company/condacommunity) on LinkedIn**

If you are on either platform then please follow and link to those accounts, or, just use the `#conda` hashtag.

We won't close the Twitter account. We will update it to say it is no longer active, and point users to the conda communities on Mastodon and LinkedIn. If you are active on Twitter, we encourage you to also use the `#conda` hashtag.

We hope to see you on Mastodon and LinkedIn in 2024!

PS: conda-forge is discussing making the same move.
PS: conda-forge is discussing making the same move.
1 change: 0 additions & 1 deletion blog/2024-01-31-january-releases.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ conda install -n base conda=24.1.2

<!-- truncate -->


### ✨ What's New? ✨

- Verify signatures on to-be-installed packages instead of on all packages.
Expand Down
195 changes: 195 additions & 0 deletions blog/2024-03-20-march-releases.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
---
title: "March 2024 Releases"
slug: "2024-03-20-march-releases"
authors: [beeankha]
tags: [announcement, conda, conda-build]
description: |
Conda 24.3.0 and conda-build 24.3.0 have been released! 🎉
image: img/blog/2024-03-20-march-releases/banner.png
---

The March 2024 releases included updates to conda and conda-build! 🎉 Both of these have been released to both `main` and `conda-forge`.

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

To update conda, run:

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

<!-- truncate -->

### What's New?

- Show the first few characters of undecodeable response if `repodata.json` raises `JSONDecodeError`.
- Update `conda.gateways.subprocess.subprocess_call` to use `text=True` to avoid manual encoding/decoding.
- Add a new plugin hook giving plugin authors the ability to define new settings.
- Optimize module imports to speed up `conda activate`.
- Move `conda env export` to `conda export` and alias the old command to the new command.
- Report progress while running `conda install --revision <idx>`.
- Add `conda.testing.tmp_channel` pytest fixture to create a temporary local channel for testing.
- Upload stable release artifacts to GitHub releases during releases.

### 🔧 What Got Fixed? 🔧

- Print traceback on `KeyboardInterrupt` instead of raising another `AttributeError` exception, when conda debugging logs are enabled.
- Parse integer channel notice IDs as `str` instead of raising an exception.
- Add direct runtime dependency on `zstandard` for use when downloading `repodata.json.zst`.
- Fallback to `repodata.json` if `repodata.json.zst` cannot be decompressed as `zstandard`.
- `conda rename` command no longer throws an error when conda is not active.
- Fallback to `repodata.json` from `repodata.json.zst` on most 4xx error codes.
- Fix excess resource usage by log handling when fetching repodata.
- Re-enable `--subdir` and `--platform` flags to be available for `conda env create` command.
- Fix `__archspec` virtual package on Windows to return microarchitecture instead of the default `x86_64`.

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

- Discontinue custom docker images. Use images provided by [Anaconda Inc.](https://hub.docker.com/r/continuumio/miniconda3) or [conda-forge](https://hub.docker.com/r/condaforge/miniforge3) instead.
- Mark `conda.testing.integration.make_temp_channel` as pending deprecation. Use `conda.testing.tmp_channel` fixture instead.
- Mark `conda.testing.integration.running_a_python_capable_of_unicode_subprocessing` as pending deprecation.
- Mark `conda.testing.integration.set_tmpdir` as pending deprecation. Use `tmp_path`, `conda.testing.path_factory`, or `conda.testing.tmp_env` instead.
- Mark `conda.testing.integration._get_temp_prefix` as pending deprecation. Use `tmp_path`, `conda.testing.path_factory`, or `conda.testing.tmp_env` instead.
- Mark `conda.testing.integration.make_temp_prefix` as pending deprecation. Use `tmp_path`, `conda.testing.path_factory`, or `conda.testing.tmp_env` instead.
- Mark `conda.testing.integration.FORCE_temp_prefix` as pending deprecation. Use `tmp_path`, `conda.testing.path_factory`, or `conda.testing.tmp_env` instead.
- Mark `conda.testing.integration.create_temp_location` as pending deprecation. Use `tmp_path` or `conda.testing.path_factory` instead.
- Mark `conda.testing.integration.tempdir` as pending deprecation. Use `tmp_path` or `conda.testing.path_factory` instead.
- Mark `conda.testing.integration.reload_config` as pending deprecation. Use `conda.base.context.reset_context` instead.
- Remove `conda.export.handle_proxy_407`.
- Remove vendored `conda._vendor.boltons`. Use `boltons` package instead.
- Remove `conda.auxlib.packaging`. Use a modern build system instead; see https://packaging.python.org/en/latest/tutorials/packaging-projects#creating-pyproject-toml for more details.
- Remove `conda env create --force`. Use `conda env create --yes` instead.
- Remove `conda info PACKAGE`. Use `conda search PACKAGE --info` instead.
- Remove `conda.core.subdir_data.fetch_repodata_remote_request`. Use `conda.core.subdir_data.SubdirData.repo_fetch.fetch_latest_parsed` instead."
- Remove `conda.exports.memoized`. Use `functools.lru_cache` instead.
- Remove `conda.gateways.disk.read._digest_path`. Use `conda.gateways.disk.read.compute_sum` instead.
- Remove `conda.gateways.disk.read.compute_md5sum`. Use `conda.gateways.disk.read.compute_sum(path, "md5")` instead.
- Remove `conda.gateways.disk.read.compute_sha256sum`. Use `conda.gateways.disk.read.compute_sum(path, "sha256")` instead.
- Remove `conda.instructions.PREFIX`.
- Remove `conda.instructions.PREFIX_CMD`.
- Remove `conda.testing.encode_for_env_var`.
- Remove `conda.testing.conda_check_versions_aligned`.
- Remove `conda.testing.helpers.run_inprocess_conda_command`. Use `conda.testing.tmp_env` instead.
- Remove `conda.testing.helpers.capture_json_with_argv`.
- Remove `conda.testing.integration.get_conda_list_tuple`. Use `conda.core.prefix_data.PrefixData.get` instead.
- Remove `conda.utils.md5_file`. Use `conda.gateways.disk.read.compute_sum(path, "md5")` instead.
- Remove `conda.utils.hashsum_file`. Use `conda.gateways.disk.read.compute_sum` instead.
- Remove `conda.utils.safe_open`. Use `open` instead.
- Remove `python -m conda_env`. Use `conda env` or `python -m conda env` instead.
- Remove `conda_env.env.load_from_directory`.
- Remove `conda_env.pip_util.get_pip_version`.
- Remove `conda_env.pip_util.PipPackage`.
- Remove `conda_env.pip_util.installed`.
- Remove `conda_env.pip_util._canonicalize_name`.
- Remove `conda_env.pip_util.add_pip_installed`.
- Postpone `conda.base.context.Context.conda_exe` deprecation to `conda 24.9`.
- Postpone `conda.testing.integration.run_command` deprecation to `conda 25.3`.
- Postpone loading subcommands from executables deprecation to `conda 25.3`.

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

- Update the navigation links for Miniconda.

---

## Changes in Conda-Build [24.3.0](https://github.com/conda/conda-build/releases/tag/24.3.0)

To update conda-build, run:

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

### What's New?

- Add compatibility for `LIEF=0.14`.
- Add a check to print an additional warning and return an empty string when bits is "arm64" in `msvc_env_cmd`.

### 🔧 What Got Fixed? 🔧

- Fix `stdlib` being recognized in variant hash inputs.

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

- Mark `conda_build.bdist_conda` module as pending deprecation.
- Mark `conda_build.build.have_prefix_files` as deprecated.
- Mark `conda_build.conda_interface.handle_proxy_407` as deprecated. Handled by `conda.gateways.connection.session.CondaSession`.
- Mark `conda_build.conda_interface.hashsum_file` as deprecated. Use `conda.gateways.disk.read.compute_sum` instead.
- Mark `conda_build.conda_interface.md5_file` as deprecated. Use `conda.gateways.disk.read.compute_sum(path, 'md5')` instead.
- Mark `conda_build.environ.PREFIX_ACTION` as deprecated.
- Mark `conda_build.environ.LINK_ACTION` as deprecated.
- Mark `conda_build.environ.cache_actions` as deprecated.
- Mark `conda_build.index.DummyExecutor` as deprecated.
- Mark `conda_build.index.MAX_THREADS_DEFAULT` as deprecated.
- Mark `conda_build.index.LOCK_TIMEOUT_SECS` as deprecated.
- Mark `conda_build.index.LOCKFILE_NAME` as deprecated.
- Mark `conda_build.api.get_output_file_path` as deprecated. Use `conda_build.api.get_output_file_paths` instead.
- Mark `conda_build.environ.Environment` as deprecated. Use `conda.core.prefix_data.PrefixData` instead.
- Mark `conda_build.conda_interface.get_version_from_git_tag` as deprecated. Use `conda_build.environ.get_version_from_git_tag` instead.
- Rename `conda_build.environ.create_env('specs_or_actions' -> 'specs_or_precs')`.
- Rename `conda_build.environ._execute_actions('actions' -> 'precs')`.
- Rename `conda_build.environ._display_actions('actions' -> 'precs')`.
- Rename `conda_build.inspect.check_install('platform' -> 'subdir')`.
- Rename `conda_build.render.execute_download_actions('actions' -> 'precs')`.
- Rename `conda_build.render.get_upstream_pins('actions' -> 'precs')`.
- Remove `conda_build.cli.main_render.execute(print_results)`.
- Remove `conda_build.conda_interface.Dist`.
- Remove `conda_build.conda_interface.display_actions`.
- Remove `conda_build.conda_interface.execute_actions`.
- Remove `conda_build.conda_interface.execute_plan`.
- Remove `conda_build.conda_interface.install_actions`.
- Remove `conda_build.conda_interface.linked`.
- Remove `conda_build.conda_interface.linked_data`.
- Remove `conda_build.conda_interface.package_cache`.
- Remove `conda_build.environ.get_install_actions`. Use `conda_build.environ.get_package_records` instead.
- Remove `conda_build.index._determine_namespace`.
- Remove `conda_build.index._make_seconds`.
- Remove `conda_build.index.REPODATA_VERSION`.
- Remove `conda_build.index.CHANNELDATA_VERSION`.
- Remove `conda_build.index.REPODATA_JSON_FN`.
- Remove `conda_build.index.REPODATA_FROM_PKGS_JSON_FN`.
- Remove `conda_build.index.CHANNELDATA_FIELDS`.
- Remove `conda_build.index._clear_newline_chars`.
- Remove `conda_build.index._get_jinja2_environment`.
- Remove `conda_build.index._maybe_write`.
- Remove `conda_build.index._make_build_string`.
- Remove `conda_build.index._warn_on_missing_dependencies`.
- Remove `conda_build.index._cache_post_install_details`.
- Remove `conda_build.index._cache_recipe`.
- Remove `conda_build.index._cache_run_exports`.
- Remove `conda_build.index._cache_icon`.
- Remove `conda_build.index._make_subdir_index_html`.
- Remove `conda_build.index._make_channeldata_index_html`.
- Remove `conda_build.index._get_source_repo_git_info`.
- Remove `conda_build.index._cache_info_file`.
- Remove `conda_build.index._alternate_file_extension`.
- Remove `conda_build.index._get_resolve_object`.
- Remove `conda_build.index._get_newest_versions`.
- Remove `conda_build.index._add_missing_deps`.
- Remove `conda_build.index._add_prev_ver_for_features`.
- Remove `conda_build.index._shard_newest_packages`.
- Remove `conda_build.index._build_current_repodata`.
- Remove `conda_build.index.ChannelIndex`.
- Remove `conda_build.inspect.check_install('prepend')`.
- Remove `conda_build.inspect.check_install('minimal_hint')`.
- Remove `conda_build.noarch_python.ISWIN`. Use `conda_build.utils.on_win` instead.
- Remove `conda_build.noarch_python._force_dir`. Use `os.makedirs(exist_ok=True)` instead.
- Remove `conda_build.noarch_python._error_exit`.
- Remove `conda_build.render.actions_to_pins`.
- Remove `conda_build.utils.linked_data_no_multichannels`.
- Postpone `conda_build.index.channel_data` deprecation.

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

- Update advice for installing conda-build into base environment.

---

### We ❤️ Our Community

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

- [@zklaus](https://github.com/zklaus) made their first contribution in [conda#13579](https://github.com/conda/conda/pull/13579)
- [@finnagin](https://github.com/finnagin) made their first contribution in [conda-build#4867](https://github.com/conda/conda-build/pull/4867)

If you have ideas or want to help improve any of the conda community projects, we love to see new (and returning) contributors! 😄
2 changes: 1 addition & 1 deletion blog/news.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"title": "January 2024 Releases", "slug": "2024-01-31-january-releases", "authors": ["kenodegard"], "tags": ["announcement", "conda", "conda-build", "conda-libmamba-solver", "conda-index"], "description": "Conda 24.1.0/.1/.2, conda-build 24.1.0/.1/.2, conda-libmamba-solver 24.1.0, and conda-index 0.4.0 have been released! \ud83c\udf89\n", "image": "img/blog/2024-01-31-january-releases/banner.jpg", "date": "2024-01-31T00:00:00"}, {"title": "Conda is moving to Mastodon & LinkedIn", "slug": "2023-12-27-social-move", "authors": ["tnabtaf"], "tags": ["announcement", "conda", "twitter", "mastodon", "linkein"], "description": "Conda is retiring its Twitter account. Please join us on Mastodon and LinkedIn\n", "image": "img/blog/2023-12-27-social-move/banner.png", "date": "2023-12-27T00:00:00"}, {"title": "November 2023 Releases", "slug": "2023-12-07-november-releases", "authors": ["kenodegard"], "tags": ["announcement", "conda", "conda-build", "conda-libmamba-solver"], "description": "Conda 23.11.0, conda-build 3.28.0/3.28.1, and conda-libmamba-solver 23.11.0/23.11.1 have been released! \ud83c\udf89\n", "image": "img/blog/2023-12-07-november-releases/banner.jpg", "date": "2023-12-07T00:00:00"}, {"title": "Conda 23.10.0: libmamba is now the default solver", "slug": "2023-11-06-conda-23-10-0-release", "authors": ["jaimergp", "jezdez"], "tags": ["announcement", "conda", "libmamba"], "description": "\ud83d\ude84 The speedy conda-libmamba-solver becomes the default solver in the Conda 23.10.0 release. Please fasten your seat belts.\n", "image": "img/blog/2023-11-06-conda-23-10-0-release/speed.jpg", "image_credit": "<a href=\"https://unsplash.com/photos/time-lapse-photography-of-tunnel-sb7RUrRMaC4\">Mathew Schwartz on Unsplash</a>", "date": "2023-11-06T00:00:00"}, {"title": "September 2023 Releases", "slug": "2023-10-12-september-releases", "authors": ["kenodegard"], "tags": ["announcement", "conda", "conda-build", "conda-libmamba-solver", "conda-index", "pycosat"], "description": "Conda 23.9.0, conda-build 3.27.0, conda-libmamba-solver 23.9.0/23.9.1, conda-index 0.3.0, and pycosat 0.6.5/0.6.6 have been released! \ud83c\udf89\n", "image": "img/blog/2023-10-12-september-releases/banner.jpg", "date": "2023-10-12T00:00:00"}]
[{"title": "March 2024 Releases", "slug": "2024-03-20-march-releases", "authors": ["beeankha"], "tags": ["announcement", "conda", "conda-build"], "description": "Conda 24.3.0 and conda-build 24.3.0 have been released! \ud83c\udf89\n", "image": "img/blog/2024-03-20-march-releases/banner.png", "date": "2024-03-20T00:00:00"}, {"title": "January 2024 Releases", "slug": "2024-01-31-january-releases", "authors": ["kenodegard"], "tags": ["announcement", "conda", "conda-build", "conda-libmamba-solver", "conda-index"], "description": "Conda 24.1.0/.1/.2, conda-build 24.1.0/.1/.2, conda-libmamba-solver 24.1.0, and conda-index 0.4.0 have been released! \ud83c\udf89\n", "image": "img/blog/2024-01-31-january-releases/banner.jpg", "date": "2024-01-31T00:00:00"}, {"title": "Conda is moving to Mastodon & LinkedIn", "slug": "2023-12-27-social-move", "authors": ["tnabtaf"], "tags": ["announcement", "conda", "twitter", "mastodon", "linkein"], "description": "Conda is retiring its Twitter account. Please join us on Mastodon and LinkedIn\n", "image": "img/blog/2023-12-27-social-move/banner.png", "date": "2023-12-27T00:00:00"}, {"title": "November 2023 Releases", "slug": "2023-12-07-november-releases", "authors": ["kenodegard"], "tags": ["announcement", "conda", "conda-build", "conda-libmamba-solver"], "description": "Conda 23.11.0, conda-build 3.28.0/3.28.1, and conda-libmamba-solver 23.11.0/23.11.1 have been released! \ud83c\udf89\n", "image": "img/blog/2023-12-07-november-releases/banner.jpg", "date": "2023-12-07T00:00:00"}, {"title": "Conda documentation gets a new theme", "slug": "2023-11-27-conda-documentation-get-a-new-theme", "authors": ["travishathaway"], "tags": ["conda", "announcement"], "description": "", "image": "img/blog/2023-11-27-conda-documentation-gets-a-new-theme/conda-documentation-screenshot.png", "date": "2023-11-27T00:00:00"}]
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion
const {themes} = require('prism-react-renderer');
const { themes } = require("prism-react-renderer");
const lightCodeTheme = themes.github;
const darkCodeTheme = themes.dracula;

Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

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

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading