[go: up one dir, main page]

Skip to main content

September 2024 Releases

Β· 9 min read
Mahe Iram Khan
Conda Maintainer

The September 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.

Changes in Conda 24.9.0/24.9.1​

To update conda, run:

conda install -n base conda=24.9.1

✨ Special announcement βœ¨β€‹

This is an announcement about an important and positive future change in conda's functionality:

Following feedback from conda users about the pre-configuration of the conda code base to favor channels from Anaconda Inc, we've started the process to deprecate hardcoding Anaconda's channels as the default set of channels in the conda source code, which is a remnant of conda's incubation at the company.

In the future, we will rely on providers of conda distributions, such as miniforge or Anaconda (including miniconda), to pre-configure their preferred channels, e.g. by running the necessary conda config --set channels command.

We're also going to continue to work on improving channel management in the foreseeable future and would love to get your feedback.

Rattler is moving to the conda organization

Β· 3 min read
Wolf Vollprecht
CEO of prefix.dev
Bas Zalmstra
prefix.dev

We're happy to announce that rattler, a suite of Rust crates with Python bindings for conda package management, has officially joined the conda community organization. This move marks a significant milestone in the evolution of the conda ecosystem. The conda community is a multi-stakeholder organization for the conda ecosystem, and the defining body that sets forth new standards.

What is rattler?​

The rattler crates were originally created by Bas Zalmstra and further developed at prefix.dev.

Its key features include:

  • A clean, expressive API for Rust developers
  • Well-designed Python bindings and documentation
  • The fastest SAT solver in the conda ecosystem (resolvo)

Rattler's functionality spans from reading index metadata and searching packages to resolving, downloading, installing, and even writing packages. At prefix.dev all next-generation tools for the conda ecosystem are built upon rattler, such as:

  • Pixi: A modern package manager for conda & PyPI packages
  • rattler-build: A new and very fast tool for building conda packages with a community-designed, revamped recipe format

Adoption and Python bindings​

Rattler is already widely used to build custom tooling (as is done by large organizations such as Palantir, QuantCo and the Chicago Trading Company among others).

The Python bindings to rattler, originally developed by Tarun Pratap Singh are one of the easiest ways to programmatically deal with conda packages. They can be installed from conda-forge or PyPI!

import asyncio
import tempfile
from rattler import solve, install, VirtualPackage

async def main() -> None:
# Let's solve the environment
print("started solving the environment")
solved_records = await solve(
# Channels to use for solving
channels=["conda-forge"],
# The specs to solve for
specs=["python 3.12.*", "pip", "requests 2.31.*"],
# Virtual packages define the specifications of the environment
virtual_packages=VirtualPackage.detect(),
)
print("solved required dependencies")

# Install the packages into a new environment (or updates it if it already existed).
env_path = tempfile.mkdtemp()
await install(
records=solved_records,
target_prefix=env_path,
)

print(f"created environment: {env_path}")

if __name__ == "__main__":
asyncio.run(main())

The move to the Conda Community​

By joining the conda community as a new community project, the rattler project now falls under community governance. This transition opens up new opportunities for the wider conda ecosystem to leverage and contribute to this powerful toolset. The development continues to be led by the team at prefix.dev who will continue with high velocity on lots of innovations for the conda ecosystem.

What is the Conda Community?​

The conda community is an open source software community that is engaged in the development of the tooling around conda packages. Members of the conda community are employees of prefix.dev, Anaconda, Quansight, NVIDIA, Voltron Data and other companies that have a vested interest in the conda ecosystem.

If you are a tool developer and interested in the capabilities of rattler or py-rattler, you can find the documentation here:

You can find the authors of rattler on the prefix.dev Discord - feel free to connect and ask questions! We are – of course – also active on the conda community channels (such as Element).

New video on conda-forge origins

Β· One min read
Wolf Vollprecht
CEO of prefix.dev

The first "Chatting with the Conda Community" is out! In this episode, Wolf Vollprecht and Filipe Fernandes talk about the origins of conda-forge. Watch the video here.

Did you ever wonder how & when conda-forge was created? In this first edition of "Chatting with the Conda Community" we are uncovering the origin story of conda-forge.

Other topics:

  • Scientists and their relationship with Software
  • Sustaining open source (and conda-forge)
  • Anecdotes from 9 years of conda-forge
  • Discussing pixi and what Filipe thinks about it

Filipe Fernandes (also know as ocefpaf) is a physical oceanographer turned research software engineer, and software packaging hobbyist. He is very passionate about open source software and tries to make Met/Ocean science better with code. Filipe is a conda steering council member and a conda-forge core member.

Your host is Wolf Vollprecht, CEO of prefix.dev, a conda steering council member and conda-forge core member.

Conda Ecosystem Explained

Β· 6 min read
Dasha Gurova
Open Source Community Manager
Jannis Leidel
Steering council member

Get to know the conda ecosystemβ€”a vibrant community supporting an open-source, language-agnostic, and multi-platform package management system. Discover conda CLI tools for managing packages and environments, and explore key repositories like conda-forge, bioconda and defaults. You will learn how to get started with conda tools, the important things to keep in mind, and how multistakeholder governance ensures the ecosystem remains reliable and accessible to all.

Developer Guide: A Tale of Five Prefixes

Β· 4 min read
Ken Odegard
Conda Maintainer
OpenAI ChatGPT
Large Language Model πŸ€–

In the realm of package management and environment configuration, conda has emerged as a versatile tool empowering developers with environment management. A pivotal aspect of conda's architecture lies in its prefix system, which underwent a significant evolution over its previous versions, transforming conda from a simple package manager into a sprawling environment manager. In this technical discourse, we delve into the intricacies of conda's prefix system, shedding light on its evolution and the five distinct prefixes delineated within the conda source code.