From 28674a32fc0ce299c88706637d68466c98cad041 Mon Sep 17 00:00:00 2001 From: Michael Osthege Date: Thu, 18 Apr 2024 11:35:42 +0200 Subject: [PATCH] Upgrade Python versions, dropping 3.8 and 3.9 --- .github/workflows/pipeline.yml | 4 ++-- .github/workflows/release.yml | 2 +- requirements.txt | 1 + setup.py | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 3d59d7f..b3dcee2 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.10", "3.11", "3.12"] pymc-version: ["without", "'pymc>=5.0.0'"] steps: - uses: actions/checkout@v4 @@ -44,7 +44,7 @@ jobs: pytest --cov=./murefi --cov-append --cov-report xml --cov-report term-missing murefi/tests.py - name: Upload coverage uses: codecov/codecov-action@v4 - if: matrix.python-version == 3.8 + if: matrix.python-version == 3.11 with: file: ./coverage.xml - name: Test Wheel install and import diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9c30f4e..1885610 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.11 - name: Install dependencies run: | pip install -e . diff --git a/requirements.txt b/requirements.txt index 38ed0af..2a6a399 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,4 +3,5 @@ h5py numpy pandas scipy +setuptools typing_extensions diff --git a/setup.py b/setup.py index 9453d3b..2acaf5b 100644 --- a/setup.py +++ b/setup.py @@ -50,9 +50,9 @@ def get_version(): classifiers=[ "Programming Language :: Python", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "License :: OSI Approved :: GNU Affero General Public License v3", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering",