From 466385fa9af58563fa9eb522aceb236c55c719d9 Mon Sep 17 00:00:00 2001 From: qdelamea Date: Thu, 21 Nov 2024 00:34:47 +0100 Subject: [PATCH] just a try --- .github/workflows/publish.yaml | 7 ++++--- pyproject.toml | 1 - setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index c62358d..e844486 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -24,11 +24,12 @@ jobs: - name: Install dependencies run: | - python -m pip install uv - python -m uv pip install build + python -m venv .venv + .venv/bin/python -m pip install uv + .venv/bin/python -m uv pip install build - name: Build the CLI - run: python -m build --sdist --wheel + run: .venv/bin/python -m build --sdist --wheel - name: Upload build artifacts uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a diff --git a/pyproject.toml b/pyproject.toml index 0f81b82..253dfa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,5 +60,4 @@ dev = [ armonik = "armonik_cli.cli:cli" [tool.setuptools_scm] -version_scheme = "post-release" version_file = "src/armonik_cli/_version.py" diff --git a/setup.py b/setup.py index f6d0c77..c19d706 100644 --- a/setup.py +++ b/setup.py @@ -29,4 +29,4 @@ def get_local_schema(version: ScmVersion) -> str: return "" -setup(use_scm_version={"local_scheme": get_local_schema}) +setup(use_scm_version={"version_scheme": get_local_schema})