Skip to content

Refactor package version bumping #42

Description

@leoyala

The package version is currently hardcoded in pyproject.toml and init. This also requires to manually change the version on those locations manually before making a release. A more flexible and automated way to manage this would involve the following changes:

  1. Infer the package version from the installed package version using something like the following:
from importlib.metadata import version

from . import _logging as _logging

__version__ = version("dstrack")
  1. Create a new GitHub action that can be triggered manually, which uses uv version bump to bump the package version and opens a PR.
  2. Leave pre-release action as a manual trigger. The tag should be created when the release is created through the GitHub action for “Pre Release”. Once the tag is created, the release pipeline is trigerred automatically.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions