BUG: No tests exist yet to ensure that packages are being created correctly
Describe the issue:
One case where files were missing: #310
The sdist was not finding the correct version number: #293
I think these examples demonstrate the need for some checks regarding the build process.
Reproducable code example:
n/a
Error message:
No response
PyTensor version information:
n/a
Context for the issue:
No response
@maresb do you have ideas for what to do?
Right now this is what we have: https://github.com/pymc-devs/pytensor/blob/main/.github/workflows/pypi.yml
I'd add more tests, for example:
- Before a release, fail in case the version number from the tag doesn't match the version reported by
pytensor.__version__. - Ensure consistency between
pytensor.__version__andimportlib.metadata.version("pytensor") - Verify that mandatory files are being included in the various distributions (separately for both sdists and wheels)
Are the first two compatible with the current use of versioneer?
Yes, the first two amount to "check that versioneer isn't screwing something up"