From 3408547229bce3d341b9bec0edc3d8a9da6e2211 Mon Sep 17 00:00:00 2001 From: Oksana Shadura Date: Fri, 1 Dec 2023 18:26:07 +0100 Subject: [PATCH] versioneer is breaking coffea_casa wheel, trying to fix pyproject,yaml --- pyproject.toml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a77b6d3c..ca504ebe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [build-system] -requires = ["setuptools>=42"] +requires = ["setuptools>=42", "versioneer[toml]"] build-backend = "setuptools.build_meta" [tool.black] -target-version = ['py37', 'py38', 'py39'] +target-version = ['py39'] include = '\.pyi?$' exclude = ''' /( @@ -45,3 +45,9 @@ testpaths = [ log_cli_level = "INFO" xfail_strict = true filterwarnings = ['error'] + +[tool.versioneer] +VCS = "git" +style = "pep440" +versionfile_source = "coffea_casa/_version.py" +versionfile_build = "coffea_casa/_version.py"