Release: migrate from deprecated build command

Aperta
#966 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@sadielbartholomew ci sta già lavorando.

Dal 8/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

release

The command we use to build the source distribution tarball, namely python setup.py sdist, is deprecated (though the use of setup.py is still fine, for now): see this official Python packaging guide, stating (noting nice use of BCP 14!):

commands such as the following MUST NOT be run anymore

We are told to now use python -m build instead. This should be a straightforward change but we it would be good to test it with CI. I am updating the test-source-dist.yml workflow and then we can check it works on those jobs and if you're happy then replace as the build command in the release checklist.

As noticed when updating our Actions workflows.

Lingua principale
Python
Stelle
150
Fork
23
Merge medio
1g 11h
PR unite (30g)
2

Guida per i contributori

Apri la guida per i contributori

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 NCAS-CMS/cf-python

Tutte le issue di NCAS-CMS/cf-python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.