Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Clarification on updating project metadata: settings.ini vs pyproject.toml

Aperta
#1,447 0 commenti 4 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
jupyter, python

Direzione di ricerca

Inizia confrontando settings.ini e pyproject.toml, quindi esamina come vengono generati i metadati di PyPI e l'indice di GitHub Pages. Conferma quale configurazione controlla gli URL del progetto e l'URL di base dei collegamenti ai simboli di nbdev; il lavoro è completato quando vengono documentate la precedenza e la fonte autorevole richiesta per ogni correzione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

I'm seeking clarification on the correct approach to update project metadata for an existing project, particularly for PyPI configuration. My current setup includes both a settings.ini file and a pyproject.toml file, and I'm unsure which one takes precedence or if both need to be updated.

Current situation:
My project is already released on PyPI and its documentation is hosted on GitHub pages. Some metadata appears to be incorrectly set, possibly due to discrepancies between my PyPI and GitHub usernames. I need to update the following:

  • Project URLs (Homepage link on PyPI)
  • Auto-generated links in the documentation on GitHub pages (index page) for symbols with backticks, for which nbdev links to that symbol’s reference page. Of note, the respective links in the auto-generated README file and on PyPI are correct. The issue is an incorrect base url to my GitHub repo.

My questions: Can I make changes directly in the pyproject.toml file to configure metadata for PyPI, or should this be done via settings.ini? If both files are present, which one takes precedence for PyPI metadata?

Any guidance on the best practices for managing project metadata in this scenario would be greatly appreciated. Thank you!

Lingua principale
Jupyter Notebook
Stelle
5.3k
Fork
517
Merge medio
1m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di AnswerDotAI/nbdev

Tutte le issue di AnswerDotAI/nbdev

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.