Closed tekktrik closed 2 years ago
I realize that on change was missing - added as #31, then the release and download from PyPI should have __version__
match the PyPI one. I'll report back and confirm that. I'll add the changes from #31 to the others since they're still unmerged.
Alright, looks like it's good!
Python 3.10.5 (main, Jun 6 2022, 18:49:26) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import adafruit_sht31d
>>> adafruit_sht31d.__version__
'2.3.15'
Populates
__version__
(assuming it's set to the expected0.0.0-auto.0
) before building the package and during the release CI process. Also tests thesed
usage (though not sure how that might fail) during the build CI process.Additionally move the problem matchers step before the pre-commit hooks so it works as intended. Seems like a good time to do that.
For reference tested successfully in my CSV library: https://github.com/tekktrik/CircuitPython_CSV
If this goes well, this file can just be copy/pasted like it is here during the move to
pyproject.toml
.