Calculate package versions following LSST code conventions.
Project description
lsst_versions
This package is used to calculate a version dynamically from a Git repository when it is being built by pip. It is not needed for EUPS-only packages, and the calculated package version will be pip-compatible and thus differ from that produced by EUPS’s pkgautoversion. It avoids the need to hard-code and continually update a version string. It assumes the use of LSST DM release and tagging practices.
lsst-versions 1.1.0 2022-06-14
New Features
Added a new lsst-version command line that can be used to determine the version of a package. This command can also be used to create a version file in the package using the configuration found in a pyproject.toml file. (DM-35064)
API Changes
Renamed the find_dev_lsst_version function to find_lsst_version to reflect the fact that it does more than finding developer versions. (DM-35064)
Miscellaneous Changes of Minor Interest
Replaced some debug prints with logging.
Significantly improved the test coverage. (DM-35064)
lsst-versions 1.0.0 2022-04-18
New Features
Initial release of lsst-versions package. This package can be used as a setuptools entry point to determine the version of a package from the Git repository. (DM-32408)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for lsst_versions-1.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8d6b7c2150ff4f2c7acf02be4bc1439d88e8aa3c46a629021fede3bc4500f74 |
|
MD5 | 921c2363bd5d8fbaeec2b3ea47c550ec |
|
BLAKE2b-256 | 09feca3133042b19046c33e87cca6f153df97fb415e29e0f6f27bedb7eabfbbd |