The release version is 1.3.1, but it is built as version 1.0.0 because the pyproject.toml file specifies v1.0.0. This leads to certain issues when installing the package.
I suggest you use release-please and a version.py-file.
version.py:
from importlib.metadata import PackageNotFoundError, distribution
try:
version = distribution("omnia_timeseries").version
except PackageNotFoundError:
# This will happen if you run omnia-timeseries without installing it as a package.
version = "0.0.0"
Release-please is super simple in GitHub Actions, and will automatically create a new release PR depending on the changes you make:
The release version is 1.3.1, but it is built as version 1.0.0 because the pyproject.toml file specifies v1.0.0. This leads to certain issues when installing the package.
I suggest you use release-please and a version.py-file.
version.py:
Release-please is super simple in GitHub Actions, and will automatically create a new release PR depending on the changes you make: