Skip to content
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

Build and publish nightly Python packages. #314

Merged
merged 5 commits into from
Dec 5, 2024

Conversation

ScottTodd
Copy link
Member

Fixes #305.

This forks and adapts the similar scripting from https://github.com/iree-org/iree and https://github.com/nod-ai/shark-ai.

  • build_tools/compute_local_version.py reads from version.json and writes a [-stable,-rc,-dev] version to version_local.json
  • build_tools/build_release.py builds a .whl into wheelhouse/ (I made the script more robust and removed the version handling, delegating that to the dedicated version script and local version file)
  • .github/workflows/build_packages.yml calls build_release.py on a schedule, pushing to a github release
  • build_tools/pypi_deploy.sh and build_tools/promote_whl_from_rc_to_final.py can be used to promote from a nightly release to pypi

Copy link
Member

@marbre marbre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this over and getting us back to speed with this. Some suggestions.

.github/workflows/build_packages.yml Outdated Show resolved Hide resolved
.github/workflows/build_packages.yml Outdated Show resolved Hide resolved
.github/workflows/build_packages.yml Outdated Show resolved Hide resolved
.github/workflows/test_build_release.yml Outdated Show resolved Hide resolved
build_tools/post_build_release_test.sh Outdated Show resolved Hide resolved
build_tools/pypi_deploy.sh Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
docs/releasing.md Outdated Show resolved Hide resolved
@ScottTodd ScottTodd requested a review from marbre December 5, 2024 18:57
@ScottTodd
Copy link
Member Author

Comments addressed. PTAL.

@ScottTodd ScottTodd merged commit 727137a into iree-org:main Dec 5, 2024
7 checks passed
@ScottTodd ScottTodd deleted the release-nightly branch December 5, 2024 21:48
ScottTodd added a commit to nod-ai/shark-ai that referenced this pull request Dec 9, 2024
This simplification will help with
#584.

Nightly releases of iree-turbine are now being built thanks to
iree-org/iree-turbine#314 and published at the
same index as the other IREE packages thanks to
iree-org/iree#19391.
IanNod pushed a commit to IanNod/SHARK-Platform that referenced this pull request Dec 17, 2024
This simplification will help with
nod-ai#584.

Nightly releases of iree-turbine are now being built thanks to
iree-org/iree-turbine#314 and published at the
same index as the other IREE packages thanks to
iree-org/iree#19391.
monorimet pushed a commit to nod-ai/shark-ai that referenced this pull request Jan 8, 2025
This simplification will help with
#584.

Nightly releases of iree-turbine are now being built thanks to
iree-org/iree-turbine#314 and published at the
same index as the other IREE packages thanks to
iree-org/iree#19391.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Start publishing nightly Python packages
2 participants