[v0.2.0] Quality-of-life suggestions for release, CI, semantic versioning, etc. #56
matthewcarbone
started this conversation in
Ideas
Replies: 1 comment
-
Not sure you can add a milestone to discussions but just to keep track, this will be |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@ziatdinovmax I have a couple of suggestions for your consideration:
pyproject.toml
. PEP 621 began the transition of Python setup to the "non-python" pyproject file. In GPax, thesetup.py
file is not necessary. We can pool all build instructions into thepyproject.toml
file.Similarly, I have developed a procedure for on-the-fly semantic versioning from tags, similar to the oldEDIT: there is a better way to do this usingversioneer.py
method, but my method is a few lines and relies on dunamai to grab the current HEAD's tag. I use this combined with "API-key-free" publishing to PyPI, my CI procedure, and GH environments to securely publish any new tagged release. The environment configuration requires manual confirmation before any release, in case you were worried about over-automation causing unintended things to happen.hatchling
. See here.The most recent example I have of all of this can be found here, with a slightly less recent example here.
I am more than happy to implement these QOL changes.
Beta Was this translation helpful? Give feedback.
All reactions