Skip to content

CI: Build workflow tags current version as 0.1.dev1+xyz #760

@juleswg23

Description

@juleswg23

The build workflow tags the current version of great-tables as 0.1.dev1+xyz. This causes a dependency that itself relies on Great Tables to be unable to build.

https://github.com/posit-dev/great-tables/actions/runs/16887918732/job/47840177072#step:4:283

Image

setuptools_scm infers the tag of the current version as 0.1.dev1+[xyz], instead of 0.18.1.dev1+[xyx], or whatever the current version is. One solution is to add the below code to pyproject.toml, but this will require manually updating the fallback_version every time

[tool.setuptools_scm]
fallback_version = "0.18.0"

A more robust solution may be to do the build with uv, and the run pytests through uv as well, which is what Pointblank does.

# Makefile
uv run pytest --cov=great_tables --cov-report=xml

And then by installing uv in the CI:

# ci_tests.yml
steps:
...
  - name: Install uv
    uses: astral-sh/setup-uv@v5

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions