From 07e3c03af99fa2bd1cffba918ebb9f47a1984c8b Mon Sep 17 00:00:00 2001 From: Saransh Chopra Date: Mon, 16 Dec 2024 11:39:01 +0000 Subject: [PATCH] Support Python 3.9+ (#77) * Support Python 3.9+ * drop 3.8 in CI --------- Co-authored-by: Robert Timms Co-authored-by: Robert Timms <43040151+rtimms@users.noreply.github.com> --- .github/workflows/test.yml | 2 +- pyproject.toml | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b331a94..f350a44 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: build: strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: diff --git a/pyproject.toml b/pyproject.toml index 584f1b2..d592e6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ build-backend = "flit_core.buildapi" name = "bpx" authors = [{name = "Martin Robinson", email = "martin.robinson@dtc.ox.ac.uk"}] readme = "README.md" +requires-python = ">=3.9" dynamic = ["version", "description"] dependencies = [ "devtools", @@ -15,8 +16,8 @@ dependencies = [ [project.optional-dependencies] dev = [ - 'coverage', # Coverage checking - 'flake8>=3', # Style checking + "coverage", # Coverage checking + "flake8>=3", # Style checking "sphinx>=6", "sphinx_rtd_theme>=0.5", "pydata-sphinx-theme",