fastai / nbdev

Create delightful software with Jupyter Notebooks
https://nbdev.fast.ai/
Apache License 2.0
4.8k stars 484 forks source link

No way to specify `conda_build_config.yaml` from `settings.ini` #1379

Open dsm-72 opened 8 months ago

dsm-72 commented 8 months ago

How to reproduce:

  1. make a new nbdev project.
  2. add a cell
    #| export
    import numpy
  3. add requirements = numpy>=1.22 in the settings.ini file
  4. run nbdev_release_both --build_args '-c conda-forge

This will result in :

conda build --output-folder out --no-anaconda-upload -c conda-forge  <pkgname>
No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.21