From 285013ef1fbc8a750a4aae6468cde38a07fbbfe7 Mon Sep 17 00:00:00 2001 From: Johannes Englisch Date: Mon, 9 Sep 2024 16:59:17 +0200 Subject: [PATCH] pyproject.toml for new cldfbenches (#94) * add pyproject.toml to cldfbench template * bump version numbers in ci for new benches --- .../dataset_template/.github/workflows/cldf-validation.yml | 6 +++--- src/cldfbench/dataset_template/pyproject.toml | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 src/cldfbench/dataset_template/pyproject.toml diff --git a/src/cldfbench/dataset_template/.github/workflows/cldf-validation.yml b/src/cldfbench/dataset_template/.github/workflows/cldf-validation.yml index d30a768..8b54f3b 100644 --- a/src/cldfbench/dataset_template/.github/workflows/cldf-validation.yml +++ b/src/cldfbench/dataset_template/.github/workflows/cldf-validation.yml @@ -12,12 +12,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10"] + python-version: [3.12] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -26,4 +26,4 @@ jobs: pip install pytest-cldf - name: Test with pytest run: | - pytest --cldf-metadata=cldf/cldf-metadata.json test.py + pytest --cldf-metadata=cldf/cldf-metadata.json test.py diff --git a/src/cldfbench/dataset_template/pyproject.toml b/src/cldfbench/dataset_template/pyproject.toml new file mode 100644 index 0000000..fed528d --- /dev/null +++ b/src/cldfbench/dataset_template/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta"