Skip to content
hulkoba edited this page Jun 20, 2024 · 8 revisions

Welcome to the conda-smithy wiki!

Set up on macOS

  1. clone repo
  2. install miniconda from their website or use homebrew
  3. reload terminal
  4. conda env create
  5. conda activate conda-smithy
  6. which python -> should point to a conda env specific python
  7. python -m pip install .
  8. run tests with pytest

To change python version

  1. change version in the environment.yml
  2. delete old env if created earlier. conda env delete -n conda-smithy
  3. run conda env create -f environment.yml

Troubleshooting tests

When you get this on the final step running pytest:

FAILED tests/test_lint_recipe.py::test_lint_no_builds - KeyError: 'GH_TOKEN'

see this PR: https://github.com/neighbourhoodie/conda-smithy/pull/10

Clone this wiki locally