Skip to main content

30 posts tagged with "conda"

View All Tags

September 2023 Releases

· 6 min read
Ken Odegard
Conda Maintainer

The September 2023 releases included updates to five conda community projects: conda, conda-build, conda-libmamba-solver, conda-index, and pycosat! 🎉 Each of these have been released to both main and conda-forge.

Changes in Conda 23.9.0

To update conda, run:

conda install -n base conda=23.9.0

📢 Special Announcement 📢

info

Conda's default solver will change to conda-libmamba-solver in a special 23.10.0 release in the near future!

You can already benefit from conda-libmamba-solver today by configuring your conda installation to use it (e.g. by running conda config --set solver libmamba).

The current "classic" solver is based on pycosat/Picosat and will remain part of conda for the foreseeable future. A fallback is possible and available.

Additional details on this change as well as the full announcement can be found in the conda 23.9.0 changelog.

Conda Newsletter, Issue #2

· 7 min read
Pinak Datta
Intern, Google Season of Docs

Welcome to the second issue of the conda Community Newsletter! We're excited to bring you the latest updates and insights, packed with valuable information and exciting developments.

In this issue, we've got a diverse range of topics to cover, including Upcoming Events, new tools like conda-store, thought-provoking discussions on conda's free nature, plugin hooks, and intriguing projects like Pandata. Plus, we'll delve into recent releases that promise to enhance your conda experience.

But that's not all! We'll also highlight one job opportunity and share news about recent talks from Travis Hathaway and Bianca Henderson, now available for public consumption.

Is conda free?

· One min read
Dave Clements
Open Source Community Manager

Image credit: Is conda free?


Hi All,

A new blog post, titled "Is conda Free?", answers your questions about:

  1. what is free to use in the conda ecosystem (most everything),
  2. what parts of that ecosystem may not be free, and
  3. under what clearly defined circumstances those maybe-not-free parts can still be free after all.

There has been confusion around this since Anaconda introduced its Terms of Service in 2020. I hope the post banishes that confusion (forevermore!). The post is framed as a discussion, introducing why there might be confusion about this topic, and then diving into the details.

Happy reading, and using the conda ecosystem too!
Dave C

PS: If reading the discussion doesn't grab you then go straight the summary and just pretend you read the whole thing.

PPS: Spoiler alert! ... Yes.

New pre and post command plugin hooks

· 4 min read
Travis Hathaway
Conda maintainer 👷🔧

With the latest conda release (23.7.2 at the time this post was written), the ability to define two new plugin hooks was introduced: "pre command" and "post command". These two new plugin hooks give plugin authors the ability to execute code before and after conda commands are run. In this blog post, we provide more details on how and why you may use these to extend the default behavior of conda.

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!).

Conda News, Issue #1!

· 7 min read
Dave Clements
Open Source Community Manager
Pinak Datta
Intern, Google Season of Docs

Welcome to the first ever conda community newsletter! The newsletter will highlight recent and upcoming activity that is relevant to the conda community. This first issue highlights community gathering spaces, upcoming events, the new rattler library, channel updates from conda-forge and Bioconda, a summary or recent conda-related web content, and finally releases and announcements.

We are hoping these will become a semi-regular feature in the conda landscape going forward. If you have an item to include in a future newsletter, please let us know by posting it to the Conda Communications Matrix Channel or by creating an issue in the Conda Communications GitHub Repo.

Exploring conda Community Spaces: Connect and Collaborate with Us!

· 3 min read
Pinak Datta
Intern, Google Season of Docs
Dave Clements
Open Source Community Manager

Welcome to conda Community Spaces!, Your gateway to a vibrant community where connections are forged, knowledge is shared, and inspiration flourishes. At conda, we are passionate about fostering open collaboration, embracing diverse perspectives, and creating a supportive environment for everyone. Join us on this exciting journey as we delve into the multitude of conda spaces designed to bring our community closer, empower your learning, and ignite your creativity.

Conda doctor: Detecting conda environment inconsistencies easily

· 3 min read
Mahe Iram Khan
Conda Maintainer

The newest conda doctor command will be available with conda version 23.5.0, enabling users to quickly detect corrupted packages (packages with files missing) in their conda environment.

One way packages in an environment may become corrupt is when one or more files in that package are accidentally deleted. Even a single missing file leads to a corrupted package. Until now there was no way to learn of these missing files except manually checking for their existence. With conda doctor, users can learn about all such packages in their conda environment with a single short command.

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.

How to use conda-build to build a Python package with C/C++ dependencies

· 5 min read
Vasvi Sood
Open Source Contributor

Image credit: Mahe Iram Khan


conda-build is an application that automates the process of building and distributing Python packages. It is a powerful tool that has the added advantage of handling dependencies that require C/C++ or other languages. This is particularly useful for scientific computing, where many Python packages have complex dependencies and require specialized libraries and tools.

A recipe outlines the steps needed to build a package from source code. We can create this "recipe" using grayskull. A recipe includes all the necessary information, from downloading and installing dependencies to compiling the source code and creating the final package. Conda-build then renders the recipe to build the package. A recipe typically includes:

  • A script that contains metadata.
  • The script that installs the files for the package on macOS and Linux.
  • The build script that installs the files for the package on Windows.
  • Any additional setup files, depending on the complexity of the package.

In this article, we will guide you through the process of building your Python package with conda-build! conda-build can help us handle even the most complex dependencies for our package, making the process smoother and more efficient. Let's get ready to build an amazing Python package!