From 73f1eeda7f1308542b58477f6b13038cf18ad80c Mon Sep 17 00:00:00 2001 From: Hassan Kibirige Date: Sat, 18 May 2024 23:24:30 +0300 Subject: [PATCH] Bump minimum supported python to 3.10 --- .github/workflows/documentation.yml | 2 +- .github/workflows/release.yml | 4 ++-- .github/workflows/testing.yml | 6 +++--- .github/workflows/weekly.yml | 4 ++-- pyproject.toml | 5 +---- 5 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 0df55be03..9ffb682f9 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -45,7 +45,7 @@ jobs: strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - name: Checkout Code diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31cd77717..bdebe02b5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: strategy: matrix: - python-version: ["3.11"] + python-version: ["3.12"] steps: - name: Checkout Code @@ -60,7 +60,7 @@ jobs: strategy: matrix: - python-version: ["3.11"] + python-version: ["3.12"] steps: - name: Checkout Code diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index e6babb5a4..e6f7107a6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: - python-version: [3.9, 3.12] + python-version: [3.10, 3.12] steps: - name: Checkout Code @@ -85,7 +85,7 @@ jobs: strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - name: Checkout Code uses: actions/checkout@v4 @@ -123,7 +123,7 @@ jobs: strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - name: Checkout Code diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index b613a9cc2..39406b240 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - name: Checkout Code @@ -52,7 +52,7 @@ jobs: strategy: matrix: - python-version: [3.11] + python-version: [3.12] steps: - name: Checkout Code diff --git a/pyproject.toml b/pyproject.toml index 94027f96f..3b2e1198d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,6 @@ classifiers = [ "Operating System :: Unix", "Operating System :: MacOS", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -30,7 +29,7 @@ dependencies = [ "scipy>=1.7.0", "statsmodels>=0.14.0", ] -requires-python = ">=3.9" +requires-python = ">=3.10" [project.optional-dependencies] all = [ @@ -55,8 +54,6 @@ doc = [ "click", "numpydoc>=0.9.1", "quartodoc>=0.7.2", - # Use importlib.resources when min supported python >= 3.9.0 - "importlib_resources", ] lint = [