-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add version field to pyproject.toml for pyluwen (v0.4.8) #11
Conversation
This also impacts the tt-flash/pyproject.toml and I believe just this fix won't fix as the line in tt-flash will pick a version before your fix: Also likely will not work with tt-smi because I believe this will roll back to before this fix unless the tag / version are updated to include your work. If a new 0.4.6 and new 0.4.8 are made, then only this repo needs to be fixed (kind of hack because there would be 2 different versions of the same version). If new version is made, then the other two will need to refer the new version (a cleaner way as each version is its own). |
What version of pip and python is this happening on as I can't reproduce this |
Apparently there's an unexpected Christmas day release of Maturin that's causing issues: and This should be flipped to:
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#version and double checked before it can be merged. An expanded commit message and a sign-off would also be appreciated. |
The fix you proposed works for me (as a commenter, not PR author) |
Maturin made a change to come inline more specifically with pyproject.toml spec, unfortunately it's not a "backwards compatible" change and was done with little fanfare or warning, and immediately caused breakage outside distro's more plodding versions. Maturin Issue: PyO3/maturin#2390 pyproject.toml spec: https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic change in Maturin committed here: PyO3/maturin#2391 This commit superceeds the luwen PR here: tenstorrent#11 as that sets an explicit version, and we don't want that as it adds more sources of truth on the version (seriously there should be 1, and only 1). Signed-off-by: John 'Warthog9' Hawley <jhawley@tenstorrent.com>
@dongjin-na @windwardly Happy to add you to #12 as "reported-by" and "tested-by" - just give me a ping if you want to do that before we queue up the PR |
No thank you. Just happy to have it fixed and propagated. Thank for your work! |
Thanks for the offer. Please add me as "reported-by." I appreciate it. |
Maturin made a change to come inline more specifically with pyproject.toml spec, unfortunately it's not a "backwards compatible" change and was done with little fanfare or warning, and immediately caused breakage outside distro's more plodding versions. Maturin Issue: PyO3/maturin#2390 pyproject.toml spec: https://packaging.python.org/en/latest/specifications/pyproject-toml/#dynamic change in Maturin committed here: PyO3/maturin#2391 This commit superceeds the luwen PR here: tenstorrent#11 as that sets an explicit version, and we don't want that as it adds more sources of truth on the version (seriously there should be 1, and only 1). Reported-by: Dongjin Na <dongjin.na@moreh.io> Signed-off-by: John 'Warthog9' Hawley <jhawley@tenstorrent.com>
Closing as #12 covers this better |
Changes
version = "0.4.8"
tocrates/pyluwen/pyproject.toml
.Why this is needed
pyluwen
via pip.tt-smi
package, aspyluwen
is a dependency.Installation Failure Log (Before Adding Version)
After adding version in
crates/pyluwen/pyproject.toml
.