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

Populate __version__ for nightly builds #999

Conversation

jgerityneurala
Copy link
Contributor

Pull Request Description:

Closes #998.

This changeset modifies the nightly build workflow to set model_compression_toolkit.__version__ in-source, making the full nightly version identifier available at runtime. This also resolves the curious post-release identifiers published to PyPI, which I assume were unintentional behavior (please correct me if I'm wrong).

The old timestamp created what PEP 440 calls an [implicit
post-release](https://peps.python.org/pep-0440/#implicit-post-releases),
the trailing `-hhmmss` portion is converted to `.posthhmmss` with
leading zeros omitted, usually resulting in a 3-digit post-release
identifier on PyPI because the build takes a few minutes and starts
close to midnight.
@reuvenperetz reuvenperetz merged commit eceb70b into sony:main Mar 17, 2024
27 checks passed
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.

Include nightly build version information in __version__
2 participants