From 8de0782eac3ce6455d4d8ac11e60300d28a8c024 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 7 Oct 2024 15:48:55 +0200 Subject: [PATCH 01/21] Use standard pyproject.toml --- pyproject.toml | 77 +++++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 36 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index cc27ee6..bc72a3a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,36 +1,51 @@ -[tool.poetry] +[build-system] +requires = ["hatchling", "hatch-vcs"] +build-backend = "hatchling.build" + +[project] name = "edfio" -version = "0.0.0" description = "Read and write EDF/EDF+ files." -license = "Apache-2.0" -authors = ["The Siesta Group "] +license = { text = "Apache-2.0" } +authors = [ + { name = "The Siesta Group", email = "opensource@thesiestagroup.com" } +] readme = "README.md" -repository = "https://github.com/the-siesta-group/edfio" -documentation = "https://edfio.readthedocs.io" +requires-python = ">=3.9" +dependencies = [ + "numpy >= 1.22.0" +] +dynamic = ["version"] -[tool.poetry.dependencies] -python = "^3.9" -numpy = ">=1.22.0" +[project.optional-dependencies] +dev = [ + "pytest>=7.4.3", + "pytest-cov>=4.1.0", + "pre-commit>=3.5.0", + "mypy>=1.6.1", + "ruff>=0.3.4", + "sphinx>=7.2.6", + "myst-parser>=2.0.0", + "pydata-sphinx-theme>=0.14.3", + "numpydoc>=1.6.0" +] -[tool.poetry.group.dev.dependencies] -pytest = "7.4.3" -pytest-cov = "4.1.0" -pre-commit = "3.5.0" -mypy = "1.6.1" -ruff = "0.3.4" -sphinx = "7.2.6" -myst-parser = "2.0.0" -pydata-sphinx-theme = "0.14.3" -numpydoc = "1.6.0" +[project.urls] +repository = "https://github.com/the-siesta-group/edfio" +documentation = "https://edfio.readthedocs.io" -[tool.poetry-dynamic-versioning] -vcs = "git" -style = "semver" -enable = true +[tool.hatch.version] +source = "vcs" +raw-options = { version_scheme = "release-branch-semver" } -[build-system] -requires = ["poetry-core>=1.0.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"] -build-backend = "poetry_dynamic_versioning.backend" +[tool.mypy] +python_version = "3.9" +ignore_missing_imports = true +disallow_untyped_defs = true +warn_unreachable = true +strict_equality = true +pretty = true +warn_unused_ignores = true +packages = ["edfio"] [tool.ruff] target-version = "py39" @@ -70,13 +85,3 @@ ban-relative-imports = "all" [tool.ruff.lint.pydocstyle] convention = "numpy" - -[tool.mypy] -python_version = "3.9" -ignore_missing_imports = true -disallow_untyped_defs = true -warn_unreachable = true -strict_equality = true -pretty = true -warn_unused_ignores = true -packages = ["edfio"] From 2cf35d53f91436cfe97aa7eb34c134f851e3c426 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 08:36:22 +0200 Subject: [PATCH 02/21] Use uv in test.yml --- .github/workflows/test.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1745e6c..fbc3307 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -41,25 +41,15 @@ jobs: with: python-version: ${{ matrix.python-version }} allow-prereleases: true - - uses: actions/cache@v4 - with: - path: ~/.cache/pip - key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }} - restore-keys: | - ${{ runner.os }}-pip- - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} - - name: Setup Poetry - run: | - pip install -U pip - pip install poetry==1.7.0 - poetry install --only dev - poetry run pip install ${{matrix.numpy}} + - name: Install uv + uses: astral-sh/setup-uv@v3 - name: Pre-commit run: | - poetry run pre-commit run --all-files + uv run --with ${{matrix.numpy}} pre-commit run --all-files - name: Pytest run: | - poetry run pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 + uv run --with ${{matrix.numpy}} pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 From 4730a95c9b47963a938cf6ac459120e13679f9d1 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 08:48:00 +0200 Subject: [PATCH 03/21] Test skipping --pre --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fbc3307..0707f3c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - numpy: ["--pre numpy"] + # numpy: ["--pre numpy"] include: - python-version: "3.9" numpy: numpy==1.22.0 From 231a0687d283cfeebcc08863eda698a19e3ff907 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 08:53:31 +0200 Subject: [PATCH 04/21] Include optional deps --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0707f3c..d1e1071 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -49,7 +49,7 @@ jobs: uses: astral-sh/setup-uv@v3 - name: Pre-commit run: | - uv run --with ${{matrix.numpy}} pre-commit run --all-files + uv run --extra dev --with ${{matrix.numpy}} pre-commit run --all-files - name: Pytest run: | - uv run --with ${{matrix.numpy}} pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 + uv run --extra dev --with ${{matrix.numpy}} pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 From b1fe14ff4ce37b98ab3abb4c023d8a408d8c33b1 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 08:54:51 +0200 Subject: [PATCH 05/21] Remove poetry hook --- .pre-commit-config.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d0a3d95..d47f6b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,8 +31,3 @@ repos: language: python types_or: [python, pyi] require_serial: true - - - repo: https://github.com/python-poetry/poetry - rev: '1.7.0' - hooks: - - id: poetry-check From 0dd0538df58096d9f229d97acd88dd3a893b144a Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 08:57:30 +0200 Subject: [PATCH 06/21] Fix style --- tests/conftest.py | 2 +- tests/test_edf_header.py | 6 +++--- tests/test_edf_signal.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 5e7b6ed..6aac776 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,6 +3,6 @@ import pytest -@pytest.fixture() +@pytest.fixture def tmp_file(tmp_path: Path) -> Path: return tmp_path / "target.edf" diff --git a/tests/test_edf_header.py b/tests/test_edf_header.py index 837baa0..25d35bf 100644 --- a/tests/test_edf_header.py +++ b/tests/test_edf_header.py @@ -29,19 +29,19 @@ def test_decode_edfplus_date_invalid_month_name(): _decode_edfplus_date("02-MAI-1951") -@pytest.fixture() +@pytest.fixture def patient(): return Patient._from_str("MCH-0234567 F 02-MAY-1951 Haagse_Harry") -@pytest.fixture() +@pytest.fixture def recording(): return Recording._from_str( "Startdate 02-MAR-2002 EMG561 BK/JOP Sony. MNC R Median Nerve." ) -@pytest.fixture() +@pytest.fixture def edf(patient, recording): return Edf([EdfSignal(np.arange(10), 1)], patient=patient, recording=recording) diff --git a/tests/test_edf_signal.py b/tests/test_edf_signal.py index b769c12..e7a3899 100644 --- a/tests/test_edf_signal.py +++ b/tests/test_edf_signal.py @@ -62,7 +62,7 @@ def sine(duration, f, fs): return np.sin(2 * np.pi * f * t) -@pytest.fixture() +@pytest.fixture def dummy_edf_signal() -> EdfSignal: data = sine(5, 2, 128) return EdfSignal(data, 128) From a0065ed154e3039b01b9c1e98ff5ee60a1555cb7 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 09:00:53 +0200 Subject: [PATCH 07/21] Fix doc build --- .readthedocs.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index e12aa58..830ca2d 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -9,9 +9,8 @@ build: python: "3.9" jobs: pre_build: - - pip install poetry==1.7.0 - - poetry config virtualenvs.create false - - poetry install + - pip install uv + - uv install sphinx: configuration: docs/source/conf.py From e7bc53e7d3af09d88b889e5ab9291054e26428d7 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 09:03:13 +0200 Subject: [PATCH 08/21] Fix more --- .readthedocs.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 830ca2d..b2e61b0 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,7 +10,6 @@ build: jobs: pre_build: - pip install uv - - uv install sphinx: configuration: docs/source/conf.py From 59a154ebd54849b4a2768eb0b4bbdc7c1c42e7e8 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 09:04:33 +0200 Subject: [PATCH 09/21] Manually activate venv --- .readthedocs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.readthedocs.yml b/.readthedocs.yml index b2e61b0..d1249ef 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -10,6 +10,8 @@ build: jobs: pre_build: - pip install uv + - uv sync + - source .venv/bin/activate sphinx: configuration: docs/source/conf.py From f74005bd7bf44de08b8320ae75fe24dec404e940 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 09:10:32 +0200 Subject: [PATCH 10/21] Try nothing --- .readthedocs.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index d1249ef..89f1599 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,11 +7,11 @@ build: os: ubuntu-22.04 tools: python: "3.9" - jobs: - pre_build: - - pip install uv - - uv sync - - source .venv/bin/activate + # jobs: + # pre_build: + # - pip install uv + # - uv sync + # - source $READTHEDOCS_VIRTUALENV_PATH/activate sphinx: configuration: docs/source/conf.py From fa84470e657f6fe61d378dc40ac848d481510e9f Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:19:31 +0200 Subject: [PATCH 11/21] Pin dev dependencies --- pyproject.toml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index bc72a3a..87ab144 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,15 +18,15 @@ dynamic = ["version"] [project.optional-dependencies] dev = [ - "pytest>=7.4.3", - "pytest-cov>=4.1.0", - "pre-commit>=3.5.0", - "mypy>=1.6.1", - "ruff>=0.3.4", - "sphinx>=7.2.6", - "myst-parser>=2.0.0", - "pydata-sphinx-theme>=0.14.3", - "numpydoc>=1.6.0" + "pytest==7.4.3", + "pytest-cov==4.1.0", + "pre-commit==3.5.0", + "mypy==1.6.1", + "ruff==0.3.4", + "sphinx==7.2.6", + "myst-parser==2.0.0", + "pydata-sphinx-theme==0.14.3", + "numpydoc==1.6.0" ] [project.urls] From b583adce269095f68a315495824fa7898db864bf Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:20:15 +0200 Subject: [PATCH 12/21] Fix latest numpy --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1e1071..8de91fb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - # numpy: ["--pre numpy"] + numpy: numpy include: - python-version: "3.9" numpy: numpy==1.22.0 From 4cd673ca000ce648e04b8ed7135ca5733b12adb3 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:21:57 +0200 Subject: [PATCH 13/21] Adapt setup actions --- .github/workflows/test.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8de91fb..38e6b04 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,19 +37,17 @@ jobs: - uses: actions/checkout@v4 with: lfs: true - - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - allow-prereleases: true - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} - - name: Install uv + - name: Setup uv uses: astral-sh/setup-uv@v3 + - name: Install Python ${{ matrix.python-version }} + run: uv python install ${{ matrix.python-version }} - name: Pre-commit run: | - uv run --extra dev --with ${{matrix.numpy}} pre-commit run --all-files + uv run --extra dev --with ${{ matrix.numpy }} pre-commit run --all-files - name: Pytest run: | - uv run --extra dev --with ${{matrix.numpy}} pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 + uv run --extra dev --with ${{ matrix.numpy }} pytest -Werror --cov --cov-report term-missing --cov-fail-under=100 From f7bef3c26df103e79c07a9fe4465ddea3e35a30c Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:23:26 +0200 Subject: [PATCH 14/21] Fix doc build --- .readthedocs.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.readthedocs.yml b/.readthedocs.yml index 89f1599..5d05f13 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -7,11 +7,9 @@ build: os: ubuntu-22.04 tools: python: "3.9" - # jobs: - # pre_build: - # - pip install uv - # - uv sync - # - source $READTHEDOCS_VIRTUALENV_PATH/activate + commands: + - pip install uv + - uv run --extra dev python -m sphinx -T -b html -d docs/_build/doctrees -D language=en docs/source $READTHEDOCS_OUTPUT/html sphinx: configuration: docs/source/conf.py From 27ff31025bffc5dbb2699083d37263966102f8f0 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:28:45 +0200 Subject: [PATCH 15/21] Fix yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 38e6b04..2eb745d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] - numpy: numpy + numpy: ["numpy"] include: - python-version: "3.9" numpy: numpy==1.22.0 From 6c928bda11e6b72f5bd7c6e5612681b455c513b5 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Fri, 11 Oct 2024 18:30:18 +0200 Subject: [PATCH 16/21] Revert pytest.fixture --- tests/conftest.py | 2 +- tests/test_edf_header.py | 6 +++--- tests/test_edf_signal.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6aac776..5e7b6ed 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -3,6 +3,6 @@ import pytest -@pytest.fixture +@pytest.fixture() def tmp_file(tmp_path: Path) -> Path: return tmp_path / "target.edf" diff --git a/tests/test_edf_header.py b/tests/test_edf_header.py index 25d35bf..837baa0 100644 --- a/tests/test_edf_header.py +++ b/tests/test_edf_header.py @@ -29,19 +29,19 @@ def test_decode_edfplus_date_invalid_month_name(): _decode_edfplus_date("02-MAI-1951") -@pytest.fixture +@pytest.fixture() def patient(): return Patient._from_str("MCH-0234567 F 02-MAY-1951 Haagse_Harry") -@pytest.fixture +@pytest.fixture() def recording(): return Recording._from_str( "Startdate 02-MAR-2002 EMG561 BK/JOP Sony. MNC R Median Nerve." ) -@pytest.fixture +@pytest.fixture() def edf(patient, recording): return Edf([EdfSignal(np.arange(10), 1)], patient=patient, recording=recording) diff --git a/tests/test_edf_signal.py b/tests/test_edf_signal.py index e7a3899..b769c12 100644 --- a/tests/test_edf_signal.py +++ b/tests/test_edf_signal.py @@ -62,7 +62,7 @@ def sine(duration, f, fs): return np.sin(2 * np.pi * f * t) -@pytest.fixture +@pytest.fixture() def dummy_edf_signal() -> EdfSignal: data = sine(5, 2, 128) return EdfSignal(data, 128) From c0b214bd121b9c3c6443dacf4a24113deaa77fbc Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 14 Oct 2024 15:18:20 +0200 Subject: [PATCH 17/21] Update dev instructions --- CONTRIBUTING.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0b5ca24..3ef509a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -27,19 +27,13 @@ Before you start working on your contribution, please make sure to follow the gu ## Development environment -We use Poetry for managing project dependencies. -If you haven't already, you can install Poetry by following the instructions in the [official documentation](https://python-poetry.org/docs/#installing-with-the-official-installer). -Make sure to use Python 3.9: +We suggest to use [`uv`](https://docs.astral.sh/uv/getting-started/installation/) for managing project dependencies, but any other standard-compliant tool will work too. - poetry env use 3.9 +Create a virtual environment with Python 3.9 and install all dependencies: -Install all dependencies with + uv sync --python=3.9 --all-extras - poetry install - -And activate the virtual environment with - - poetry shell +**When using `uv`, prepend the commands below with `uv run` to make sure they are executed in the virtual environment!** ## Tests @@ -85,4 +79,4 @@ To release a new version, follow the steps below: - [Create a new release](https://github.com/the-siesta-group/edfio/releases/new) on GitHub. - Create a new tag where the target version is prefixed with a `v`, e.g., `v0.2.0`. - Use the tag as the release title. -- [poetry-dynamic-versioning](https://github.com/mtkennerly/poetry-dynamic-versioning) and the [release action](https://github.com/the-siesta-group/edfio/blob/main/.github/workflows/release.yml) take care of the rest. +- The [release action](https://github.com/the-siesta-group/edfio/blob/main/.github/workflows/release.yml) takes care of the rest. From 586ba4527b59952ea10f5547fcec74172f589378 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 14 Oct 2024 15:19:11 +0200 Subject: [PATCH 18/21] Remove Poetry badge --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index cd9ce17..a7ea792 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,6 @@ [![License](https://img.shields.io/pypi/l/edfio)](https://github.com/the-siesta-group/edfio/blob/main/LICENSE) [![Docs](https://readthedocs.org/projects/edfio/badge)](https://edfio.readthedocs.io/en/stable/index.html) -[![Poetry](https://img.shields.io/endpoint?url=https://python-poetry.org/badge/v0.json)](https://python-poetry.org/) [![Checked with mypy](https://www.mypy-lang.org/static/mypy_badge.svg)](https://mypy-lang.org/) [![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) From 0577b0ff9a3a91566e1c89dd63065fa702b227b3 Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 14 Oct 2024 15:19:22 +0200 Subject: [PATCH 19/21] Modify release workflow --- .github/workflows/release.yml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4108855..4e67569 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,17 +11,15 @@ jobs: publish: needs: test runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v4 with: lfs: true - - uses: actions/setup-python@v5 - with: - python-version: "3.9" - - name: Publish + - name: Setup uv + uses: astral-sh/setup-uv@v3 + - name: Publish to PyPI run: | - pip install poetry==1.7.0 - pip install poetry-dynamic-versioning[plugin] - poetry dynamic-versioning - poetry build - poetry publish -u __token__ -p ${{ secrets.PYPI_API_TOKEN }} + uv build + uv publish From 47f964325902c75a898f511433fb3719ad789ace Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Mon, 14 Oct 2024 15:19:37 +0200 Subject: [PATCH 20/21] Ignore uv.lock instead of poetry.lock --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3e3cd2d..88d551d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ *__pycache__* build docs/source/generated -poetry.lock +uv.lock From a66365ede42fe53274a9fd0ad478972ed733c13e Mon Sep 17 00:00:00 2001 From: Clemens Brunner Date: Tue, 15 Oct 2024 08:58:34 +0200 Subject: [PATCH 21/21] Use default versioning scheme --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 87ab144..266a541 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ documentation = "https://edfio.readthedocs.io" [tool.hatch.version] source = "vcs" -raw-options = { version_scheme = "release-branch-semver" } [tool.mypy] python_version = "3.9"