From 87c58eb814b86627e0ae3d77f21dd8de097fd45f Mon Sep 17 00:00:00 2001 From: Connor Tann <71127464+connortann@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:47:20 +0000 Subject: [PATCH 1/3] Add support for python 3.12 --- .github/workflows/pythonpackage.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 9daef4a..b4df277 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 788f2cd..1fb9316 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ license = "Apache License 2.0" [tool.poetry.dependencies] -python = ">=3.8, <3.12" +python = ">=3.8, <3.13" scikit-learn = ">=1.0.2" numpy = ">=1.21.2" scipy = ">=1.7.2" From 1b5dacc2f892d3c2e1b88dd1339a3926f4f92ce3 Mon Sep 17 00:00:00 2001 From: Connor Tann <71127464+connortann@users.noreply.github.com> Date: Mon, 5 Feb 2024 11:58:24 +0000 Subject: [PATCH 2/3] Drop support for python 3.9 --- .github/workflows/pythonpackage.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index b4df277..9aec202 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/pyproject.toml b/pyproject.toml index 1fb9316..41066b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ license = "Apache License 2.0" [tool.poetry.dependencies] -python = ">=3.8, <3.13" +python = ">=3.9, <3.13" scikit-learn = ">=1.0.2" numpy = ">=1.21.2" scipy = ">=1.7.2" From 3f87cbb76e1df750577b9e5f84f42adb1061d09b Mon Sep 17 00:00:00 2001 From: Connor Tann <71127464+connortann@users.noreply.github.com> Date: Mon, 5 Feb 2024 12:11:11 +0000 Subject: [PATCH 3/3] Bump flake8 and pylint --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 41066b7..944e1f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -25,8 +25,8 @@ pytest = "^6.1.2" black = "^22.8.0" pre-commit = "^2.0" isort = "^5.6.4" -pylint = "^2.6.0" -flake8 = "^5.0.4" +pylint = "^3.0.3" +flake8 = "^7.0.0" [build-system] requires = ["poetry-core>=1.0.0"]