How to release a new update. #26
tbergkvist
announced in
Developers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How to release a new update to pypi.
This is a guide intended for the pynanovna developers and maintainers.
Note on versions.
Keep to the major, minor, patch standard.
Do not publish breaking changes in a patch or minor update.
Try to bundle together a lot of new features for a minor update.
Major updates should be planned over long time and talked through with other developers.
Before releasing.
Make sure to test the code on at least two different devices.
tests/
directory.examples/
directory.Make sure that the code is Black formatted.
black .
from the project root directory.Releasing.
At time of writing, pynanovna uses poertry to build the dist and docs, and twine to publish to pypi.
poetry build
.pip install .
from the project root directory.tests/
directory again.examples/
directory again.pip uninstall pynanovna
.twine upload dist/*
and paste the token when asked for.After release.
Beta Was this translation helpful? Give feedback.
All reactions