-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use setuptools_scm for python version management #627
use setuptools_scm for python version management #627
Conversation
971e3f7
to
29de1c9
Compare
Thanks for the PR! You can check out the "tarballs" artifact of this PR and see that there's names like:
I think that's probably not quite what we want? Would it be possible to just use Also can you try making a tag in your local repository to make sure that the name generation works for tagged builds as expected? |
29de1c9
to
73d69b2
Compare
I merged this PR into my fork, and tagged https://github.com/luizirber/wasmtime/runs/319963416
I can try to figure out this, or is it good enough that the proper version is being generated for tags/releases for github? This is the generated release for 0.8.1: https://github.com/luizirber/wasmtime/releases/tag/v0.8.1 I'll also create a new |
73d69b2
to
04b8ae3
Compare
Nice! For the dev/master releases we largely just want a constant filename there, that allows us to have a stable download link. |
2838822
to
6caacf2
Compare
6caacf2
to
7b05ab7
Compare
I just found about the The issue is that |
Seems reasonable to me, and we can always continue to tweak as necessary. Thanks @luizirber! |
Hello,
I noticed https://pypi.org/project/wasmtime/ is still stuck in 0.2, and releases like 0.8.0 still generate version
0.0.1
for the Python wheels.This PR uses setuptools_scm to read version information from the git tags, so the right version will be picked up (and no manual update is needed in setup.py).
TODO: check what happens with the
dev
tag...