ludeeus / awesomeversion

One version package to rule them all, One version package to find them, One version package to bring them all, and in the darkness bind them.

Home Page:https://ludeeus.github.io/awesomeversion/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version is not set in pyproject.toml

dvzrv opened this issue · comments

The problem

Hi! The pyproject.toml of this project declares the version of this project as 0, which is wrong.
The correct version of the python project needs to be declared there (see relevant poetry documentation)

Operating system

Arch Linux

Python version

3.10

Problem-relevant code

version = "0"

Traceback/Error logs

No response

Additional information

If the project's version is not set, sdist tarballs and wheels built from it will have wrong metadata set. This means that other projects will not be able to rely on it without the built package being patched beforehand (they will not be able to use the version information).

This is problematic in general version resolution as well as in system's packaging.

Okay, but that allows noone to build this project from this git repository or a tarball created from a tag in this repository.
More specifically this allows noone to run tests, as those are not included in the sdist tarball on pypi.org

Please consider changing the workflow as it is limiting the use of this library and/or adding the tests to the sdist tarball.