Conda#
CAREamics is available via conda-forge. Package maintenance is done through the careamics-feedstock.
New CAREamics version#
New version are automatically pulled by conda-forge from PyPi, and a PR is made to the feedstock repository.
Typically, the PR updates the version
number and the hash
in the meta.yaml
file.
Updating the recipe#
When dependencies change, the conda recipe needs to be updated. This is done by making a PR (e.g. from careamics-feedstock fork).
The best is to update the dependencies in the meta.yaml
file, and push the changes to the automated PR on the official feedstock repository.
Testing the recipe#
It may happen that the container build on the official feedstock repo fails, in which case one needs to test locally what can go wrong. Here is how to do it:
cd careamics-feedstock
conda create -n forge python=3.10
conda activate forge
conda install conda-build
conda config --add channels conda-forge
conda config --set channel_priority strict
Then create a local conda config:
And add the following content:
Finally, build the package: