Skip to main content

31 posts tagged with "conda"

View All Tags

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!

How we reduced conda's index fetch bandwidth by 99%

· 7 min read
Daniel Holth
Conda maintainer

The new conda 23.3.1 release from March, 2023 includes an --experimental=jlap flag or experimental: ["jlap"] .condarc setting that can reduce repdata.json fetch bandwidth by orders of magnitude. This is how we developed conda's new incremental repodata feature.

Conda is a cross-platform, language-agnostic binary package manager that includes a constraint solver to choose compatible sets of packages. Before conda can install a package, it downloads information about all available packages. This allows the solver to make global decisions about which packages to install. The time and bandwidth spent downloading this metadata can be significant, but we have improved this in conda 23.3.1. By enabling the experimental: ["jlap"] feature in .condarc, conda users can see more than a 99% reduction in index fetch bandwidth.

Conda survey results

· 10 min read
Dave Clements
Open Source Community Manager

Anaconda surveyed the conda community in late 2022. This post reviews what we learned from that survey and how it is impacting the future directions of conda.

Around the same time, the Python Software Foundation published the results of their (much, much bigger) Python Packaging Survey. The two surveys asked some similar questions and some distinct ones. We include insights from the PSF survey when they are particularly relevant to the conda community.

Conda Community Chat is now on Element/Matrix

· 5 min read
Dave Clements
Open Source Community Manager

We are pleased to announce that the conda community has migrated our chat rooms to the Matrix/Element platform. For the first time since the conda ecosystem was young, every conda-related chat room is now easily accessible on one platform.

Matrix and Element have been around for a couple of years, and are used widely by communities like ours. Let's dive in:

Get conda news on the conda Announce mailing list

· One min read

Conda Announce is a new mailing list for announcements and news relevant to the conda ecosystem and community.

If you want to stay informed about software releases, new features, upcoming events, and other community news then this is the list for you.

The mailing list is moderated and low-volume: Most news will go out in monthly summary posts. (Our goal is to keep the list volume low enough, and the content relevant enough, that you don’t feel a need to filter it out of your inbox.)

See:

We hope to see you online!

Conda now fiscally sponsored by NumFOCUS

· One min read
Dave Clements
Open Source Community Manager

The conda Organization is delighted to announce that we are now fiscally sponsored by NumFOCUS. This will enable conda to apply for grants, accept and distribute funds, manage trademarks and own web domains with a distinct legal standing.

This milestone demonstrates how far the organization has come in creating an effective open source community with capable governance processes on par with other established projects. With this sponsorship comes the promise of further development - such as transitioning into full openness within GitHub – so stay tuned!

Conda 22.11.1 Released

· One min read

The latest conda release is now available. To update run:

conda install -n base conda=22.11.1

This release includes a number of improvements including:

Check out the 🎥 release video (!) and the changelog for the complete list of improvements.

Announcing the Conda Community Forum

· One min read
Dave Clements
Open Source Community Manager

We are pleased to announce the launch of the conda Community Forum, a gathering place for questions, answers, and discussion about the conda ecosystem.

We hope the forum will be a key component of that ecosystem, and will become the goto place for people with questions about conda & friends.

Conda 22.9.0 Release

· 2 min read
Travis Hathaway
Conda maintainer 👷🔧

Special announcement

If you have been following the conda project previously, you will notice a change in our version number for this release. We have officially switched to the CalVer versioning system as agreed upon in CEP 8 (Conda Enhancement Proposal).

Please read that CEP for more information, but here is a quick synopsis. We hope that this versioning system and our release schedule will help make our releases more predictable and transparent to the community going forward. We are now committed to making at least one release every two months, but keep in mind that we can (and most likely will) be making minor version releases within this window.