Changelog¶
1.0.2 - fixed version strings in case of prerelease tags¶
- Prerelease version strings such as
1.0.0-rc1
were incorrectly returned as1.0.0rc1
(without dash) because of an issue withsetuptools_scm
due topkg_resources
removing the dash of prerelease versions. Fixes #10
1.0.1 - bugfix¶
- Fixed version resolution using
pkg_resources
. Fixed #9
1.0.0 - packaging improvements¶
- packaging improvements: set the "universal wheel" flag to 1, and cleaned up the
setup.py
. In particular removed dependency tosix
for setup and addedpy.typed
file. Fixes #8
0.5.8 - better error message in case git
is unavailable¶
Improved readability of setuptools_scm related outputs:
- Now an explicit message states when
git
command is not available. Fixed #6 - Now an explicit message states when
setuptools_scm
is not installed. Fixed #7.
0.5.7 - minor setup.py improvement¶
Now explicitly setting the zip_safe
flag in setup.py
to avoid ply
being downloaded. From #5
0.5.6 - fixed setup.py classifiers¶
It was incorrectly refering to this project as related to testing.
0.5.5 - Own __version__
was incorrect¶
Fixed #4.
0.5.4 - Fixed bug in case of package both installed and in the path¶
Fixed bug (incorrect version number) happening when a package is both installed and available on python path. This typically happens when a developer is working on a new version of a package while an older version is already installed. Fixes #3.
0.5.3 - Self __version__
¶
__version__
should now be available on the distributed getversion
package.
0.5.0 - First public version¶
Simplified design: now a single get_module_version
function is the entry point and compiles 4 strategies:
__version__
attribute- built-in module using
stdlib_list
- unzipped wheel & unzipped egg
- git scm using
setuptools_scm
0.4.0 - extracted¶
First version extracted from private industrial project. Most important legacy changelog entries for reference:
- Fixed a version detection bug happening when there is a version conflict in the pip environment (for example when package A depends on package B with version
<=1.0.0
, and the found B has version1.1.0
). - The version is now correctly detected even if it is a source project and an old egg-info folder with wrong version is present in filesystem.
- Bug fix: reading version from unzipped wheel
- Various bug fixes in module version handling
- Improved version detection algorithm when relying on git, in
get_pkg_version_from_module
- new method
get_pkg_version_from_module
inutils_modules.py
- new module
utils_version_handling.py
for everything related to versions.