From e3fc1efc6efeed6fae885f4640e2292df6455bfb Mon Sep 17 00:00:00 2001 From: "Philipp A." Date: Tue, 5 May 2026 12:52:53 +0200 Subject: [PATCH 1/2] chore: automatically derive version --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 621eb79..ef9cb0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,9 @@ [build-system] build-backend = "hatchling.build" -requires = [ "hatchling" ] +requires = [ "hatch-vcs", "hatchling" ] [project] name = "interscale" -version = "0.0.1" description = "Multi-scale cell interaction model for spatial transcriptomics data." readme = "README.md" license = "BSD-3-Clause" @@ -16,6 +15,7 @@ authors = [ { name = "Sara Jimenez" }, ] requires-python = ">=3.11" +dynamic = [ "version" ] classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", @@ -95,6 +95,7 @@ envs.hatch-test.matrix = [ envs.hatch-test.overrides.matrix.deps.env-vars = [ { key = "UV_PRERELEASE", value = "allow", if = [ "pre" ] }, ] +version.source = "vcs" [tool.uv] # fix build deps when building from source From 4f26db8086b79d6fa9f83c537bb14db86eb5b191 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 5 May 2026 11:10:41 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index ef9cb0d..10dac1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ authors = [ { name = "Sara Jimenez" }, ] requires-python = ">=3.11" -dynamic = [ "version" ] classifiers = [ "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.11", @@ -23,6 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", ] +dynamic = [ "version" ] dependencies = [ "anndata", "fast-array-utils[accel]",