From 8b5035fd1ea5bbbc8de98dc9808a4c2cf87b80b0 Mon Sep 17 00:00:00 2001 From: mj-will Date: Wed, 29 Nov 2023 16:38:33 +0000 Subject: [PATCH 1/2] revert: "build: drop support for Python 3.8" This reverts commit a76342e430a0d107e42adfaa567e3cf9ee6eaf3e. --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 79c706f9..18a2b9bb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ ] description = "Nessai: Nested Sampling with Artificial Intelligence" readme = "README.md" -requires-python = ">=3.9" +requires-python = ">=3.8" license = {text = "MIT"} classifiers = [ "Programming Language :: Python :: 3", @@ -94,6 +94,7 @@ exclude_lines = [ [tool.black] line-length = 79 target-version = [ + "py38", "py39", "py310", "py311", @@ -103,3 +104,4 @@ target-version = [ extend-ignore = [ "E203", ] + From aac955cbc0350e5fd33e5f0ba3f0e6d46b85a95d Mon Sep 17 00:00:00 2001 From: mj-will Date: Wed, 29 Nov 2023 16:39:57 +0000 Subject: [PATCH 2/2] revert: "ci: drop testing on Python 3.8" This reverts commit 1f0d7359059e38ba2434fbf30cd639f65611b6a2. --- .github/workflows/integration-tests.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index b80393bd..6a92fd3e 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [macOS, Ubuntu, Windows] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.os }}-latest steps: diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3dc2ab8a..ee37a72b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -18,7 +18,7 @@ jobs: fail-fast: false matrix: os: [macOS, Ubuntu, Windows] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11"] runs-on: ${{ matrix.os }}-latest steps: