Release: migrate from deprecated build command
@sadielbartholomew is already working on this.
Since Sep 8, 2026.
Assessment
This issue has not been assessed yet.
Description
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.
- Dominant language
- Python
- Stars
- 150
- Forks
- 23
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NCAS-CMS/cf-python
-
code tidy
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug?
-
enhancement
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
API review (4.0.0) documentation
Difficulty 4/5 3-5 days Newbie friendliness 48/100
All issues in NCAS-CMS/cf-python
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·