Skip to content

chore(packaging,deps): enable "dynamic" package version from git tags #1451

@danceratopz

Description

@danceratopz

Consider using setuptools-scm and setting dynamic = ["version"], something along the lines of:

[project]
dynamic = ["version"]  # Let the build backend determine the version

[build-system]
requires = ["setuptools>=64", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[tool.setuptools_scm]
version_scheme = "guess-next-dev"
local_scheme = "no-local-version"

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleThe Issue/PR has not had any activity for 60 days. PRs will be automatically closed.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions