Closed wackywendell closed 3 weeks ago
One question: can you also update the https://github.com/substrait-io/substrait-validator?tab=readme-ov-file#substrait-version-support section in this PR?
Ah, yes, good catch! Will do.
Rust: https://github.com/substrait-io/substrait-validator/actions/runs/11711071490 ✅ Python: https://github.com/substrait-io/substrait-validator/actions/runs/11711071506 🛑
Looks like we need a fix for the Python wheel artifact issue.
Looks like we need a fix for the Python wheel artifact issue.
Hm, yes. I'm not quite sure what the problem is - it might be that we have N jobs attempting to upload wheels.zip
, and only one can succeed? So perhaps they should each be attempting to upload wheels-${ARCH}-${PYTHON_VERSION}
?
This was a breaking change in the v4
release of the download/upload artifact actions: https://github.com/actions/upload-artifact?tab=readme-ov-file#breaking-changes
There are some suggestions in https://github.com/actions/upload-artifact/issues/480.
I added https://github.com/substrait-io/substrait-validator/issues/296.
Judging from here, it looks like dependabot's upgrade of actions/upload-artifact
from 3 to 4 led to this:
Unlike earlier versions of
upload-artifact
, uploading to the same artifact via multiple jobs is not supported with v4…
Artifact names must be unique since each created artifact is idempotent so multiple jobs cannot modify the same artifact.
I'm happy to make a PR here, although you know this part of the code better than I do, @mbrobbel!
This PR
Closes #290.
This PR is:
python ci/version.py set 0.1.0
.Cargo.toml
, which appears on crates.ioI went with 0.1.0 because the jump in substrait version supported like more than just a patch version change, although I'm not sure it matters pre-1.0; if others have opinions, it would be trivial to switch this to 0.0.12 instead.
Releasing
After this is merged, based on what I saw earlier, I think all we need to do is add a tag (e.g. via the Github web interface) of the form
v*.*.*
and CI should take it from there - building and publishing to crates.io and to PyPI.Followup