diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 199bd80..d208b3d 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-tags: true - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v5 with: diff --git a/pyproject.toml b/pyproject.toml index 50c24b2..100dd02 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,8 +1,5 @@ [build-system] -requires = [ - "hatchling >=1.12.2", - "hatch-vcs >=0.2.0", -] +requires = ["hatchling", "hatch-vcs"] build-backend = "hatchling.build" [project] @@ -40,11 +37,6 @@ include = ["aardvark", "README.md", "LICENSE", "aardvark/config_default.yaml"] [tool.hatch.build.hooks.vcs] version-file = "aardvark/__version__.py" -[tool.hatch.envs.build] -extra-dependencies = [ - "setuptools_scm", -] - [tool.hatch.envs.test] extra-dependencies = [ "pytest",