AnswerDotAI / AnswerDotAI/nbdev
`nbdev_conda` not honoring the license choice
- Vorherrschende Sprache
- Jupyter Notebook
- Sterne
- 5.3k
- Forks
- 513
- Ø Merge
- 2 T. 30 Min.
- Gemergte PRs (30 T.)
- 8
Beschreibung
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.
Beitragsleitfaden
Rechercherichtung
Lies `_get_conda_meta` in `nbs/api/release.ipynb` und prüfe anschließend die verknüpften conda-build-Metadaten und die conda-forge-Richtlinien. Überprüfe, wie `cfg.get('license')` und die generierte `license_file` dargestellt werden sollten, und stelle sicher, dass die resultierenden Paketmetadaten die konfigurierte Lizenz und die conda-forge-Anforderungen erfüllen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- jupyter-notebook, python
- Bereich
- build-system, release
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100