uuid6-python icon indicating copy to clipboard operation
uuid6-python copied to clipboard

version metadata is incorrect

Open andrewzah opened this issue 1 year ago • 0 comments

Hello, I'm packaging this library with Nix as a dependency for pulpcore, which specifies

"uuid6>=2023.5.2,<=2024.7.10"

but it can't resolve correctly due to hardcoding the version to 0.0.0.dev0 in setup.py:

if GITHUB_REF and GITHUB_REF.startswith(PREFIX):
    prefix_len = len(PREFIX)
    VERSION = GITHUB_REF[prefix_len:]
else:
    VERSION = "0.0.0.dev0"

the standard resolution is to update this in the commit that is tagged for that release.

andrewzah avatar Nov 21 '24 02:11 andrewzah