AnswerDotAI / AnswerDotAI/nbdev
`nbdev_conda` not honoring the license choice
- Lingua principale
- Jupyter Notebook
- Stelle
- 5.3k
- Fork
- 513
- Merge medio
- 2g 30m
- PR unite (30g)
- 8
Descrizione
The license is unconditionally set to "Apache" at the moment; see `_get_conda_meta` in https://github.com/fastai/nbdev/blob/master/nbs/api/release.ipynb
Should it be changed to take in `cfg.get('license')`, and the `license_family` field dropped?
conda-build will deduct the license family from the name if it's not specified.
On a related note, conda-forge requires that we set the `license_file`
https://github.com/conda-forge/staged-recipes/blob/main/.github/pull_request_template.md
https://docs.conda.io/projects/conda-build/en/latest/resources/define-metadata.html#license-file
If there is no reason against it, Is it safe to hard-code it to be just `LICENSE`? It's picked up from PyPI automatically.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Leggi `_get_conda_meta` in `nbs/api/release.ipynb`, quindi esamina i metadati conda-build collegati e le linee guida di conda-forge. Verifica come devono essere rappresentati `cfg.get('license')` e il `license_file` generato, e assicurati che i metadati risultanti del pacchetto rispettino la licenza configurata e i requisiti di conda-forge.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- jupyter-notebook, python
- Ambito
- build-system, release
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100