From defb04222547d52cd86ab83add89d89461585d6e Mon Sep 17 00:00:00 2001 From: Meg Schwamb <megan.schwamb@gmail.com> Date: Fri, 1 Dec 2023 20:37:37 +0000 Subject: [PATCH] update to 3.10, 3.11, 3.12 python update to 3.10+ python for tests and requirements --- .github/workflows/benchmark.yml | 4 ++-- .github/workflows/build-documentation.yml | 4 ++-- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/smoke-test.yml | 2 +- .github/workflows/testing-and-coverage.yml | 2 +- pyproject.toml | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 8bd50345..9d1a60f2 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 50c02fba..ca64ebee 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/publish-to-pypi.yml b/.github/workflows/publish-to-pypi.yml index d4d01f9f..0d56a7c2 100644 --- a/.github/workflows/publish-to-pypi.yml +++ b/.github/workflows/publish-to-pypi.yml @@ -26,7 +26,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index be3eb5fc..6ea52739 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'macos-latest'] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index 423bebcf..754cbb22 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: ['ubuntu-latest', 'macos-latest'] - python-version: ['3.9', '3.10', '3.11'] + python-version: ['3.10', '3.11', '3.12'] runs-on: ${{ matrix.os }} steps: diff --git a/pyproject.toml b/pyproject.toml index b6b186ce..4d53e87d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,16 +6,16 @@ authors = [ { name = "Meg Schwamb", email = "m.schwamb@qub.ac.uk" } ] description = "The survey simulator post processing code for the LSST" -requires-python = ">=3.9" +requires-python = ">=3.10" classifiers = [ "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Astronomy", "Topic :: Scientific/Engineering :: Physics", ]