AnswerDotAI / AnswerDotAI/nbdev
No way to specify `conda_build_config.yaml` from `settings.ini`
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5.3k
- Forks
- 513
- Ø Merge
- 2 T. 30 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
How to reproduce:
1. make a new `nbdev` project.
2. add a cell
> ```python
> #| 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 :
```shell
conda build --output-folder out --no-anaconda-upload -c conda-forge
No numpy version specified in conda_build_config.yaml. Falling back to default numpy value of 1.21
```
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Problem mit einem neuen nbdev-Projekt, settings.ini und dem gezeigten Befehl nbdev_release_both zu reproduzieren. Verfolge, wie settings.ini und das -c build-Argument conda build erreichen; fertig ist es, wenn die konfigurierte conda_build_config.yaml oder eine entsprechende Versionseinstellung berücksichtigt wird, anstatt auf die Standardversion von numpy zurückzufallen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook, python
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100