From de8e5ed526775df59ee144b8ece02b2df60b9c81 Mon Sep 17 00:00:00 2001 From: Aaron Niskin Date: Mon, 28 Jul 2025 20:51:00 -0400 Subject: [PATCH 1/5] wip --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 952d392..54b24af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ markers = [ source = "vcs" [tool.hatch.version.raw-options] -version_scheme = "only-version" # use tag as version +version_scheme = "guess-next-dev" # use tag as version if exists local_scheme = "no-local-version" # pypi does not support local-schemes tag_regex = "^v(?P[0-9.]+)$" version_file = "src/daggerml/__about__.py" # write version info to this file From 152122b4b420c44eacb2d7323fe8fe09b7ed6504 Mon Sep 17 00:00:00 2001 From: Aaron Niskin Date: Mon, 28 Jul 2025 20:58:17 -0400 Subject: [PATCH 2/5] wip --- .github/workflows/ci.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c20c215..5e20fd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -4,7 +4,7 @@ on: branches: - "**" tags: - - "v[0-9]+.[0-9]+.[0-9]+" # Semantic version tags + - "v*" # Semantic version tags pull_request: jobs: test: diff --git a/pyproject.toml b/pyproject.toml index 54b24af..62ae7ec 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -62,7 +62,7 @@ source = "vcs" [tool.hatch.version.raw-options] version_scheme = "guess-next-dev" # use tag as version if exists local_scheme = "no-local-version" # pypi does not support local-schemes -tag_regex = "^v(?P[0-9.]+)$" +tag_regex = "^v(?P[0-9]+\\.[0-9]+\\.[0-9]+(?:[-\\.][a-zA-Z0-9]+)*)$" version_file = "src/daggerml/__about__.py" # write version info to this file relative_to = "{root:uri}" From d7909dc1740ff48fa7458f9c411ed24b32b9e76b Mon Sep 17 00:00:00 2001 From: Aaron Niskin Date: Mon, 28 Jul 2025 21:50:30 -0400 Subject: [PATCH 3/5] wip --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 62ae7ec..f92a0d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ markers = [ source = "vcs" [tool.hatch.version.raw-options] -version_scheme = "guess-next-dev" # use tag as version if exists +version_scheme = "no-guess-dev" # use tag as version if exists local_scheme = "no-local-version" # pypi does not support local-schemes tag_regex = "^v(?P[0-9]+\\.[0-9]+\\.[0-9]+(?:[-\\.][a-zA-Z0-9]+)*)$" version_file = "src/daggerml/__about__.py" # write version info to this file From 9b078d5efa709b97ada6c613695a970edb2416b0 Mon Sep 17 00:00:00 2001 From: Aaron Niskin Date: Mon, 28 Jul 2025 23:35:39 -0400 Subject: [PATCH 4/5] wip --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5e20fd3..226af88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,6 +15,8 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 # full history + fetch-tags: true # redundant in v4, but explicit submodules: "recursive" - name: Set up Python uses: actions/setup-python@v5 From 0ac8607ab38d663ebab669bac144e298927324c0 Mon Sep 17 00:00:00 2001 From: Aaron Niskin Date: Mon, 28 Jul 2025 23:40:11 -0400 Subject: [PATCH 5/5] wip --- .github/workflows/ci.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 226af88..3dbd6e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: run: | python -m pip install --upgrade pip pip install submodules/daggerml_cli/ - pip install .[test] + pip install .[dev] - name: pytest run: python -m pytest -m "not slow" . lint: diff --git a/pyproject.toml b/pyproject.toml index f92a0d5..d3e9268 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [] [project.optional-dependencies] cli = ["daggerml-cli>=0.0.33"] -test = [ +dev = [ "pytest", "pytest-cov", "moto[all,server]", @@ -74,7 +74,7 @@ artifacts = [ [tool.hatch.envs.default] python="3.10" -features = ["test"] +features = ["dev"] dependencies = ["twine"] pre-install-commands = [ "pip install -e {root:uri}/submodules/daggerml_cli",