From b571fd1aa3902ace90e0bed470895024105be9aa Mon Sep 17 00:00:00 2001 From: Melissa DeLucchi Date: Wed, 4 Dec 2024 10:41:40 -0500 Subject: [PATCH] Move window of supported python versions. --- .copier-answers.yml | 2 +- .github/workflows/asv-main.yml | 2 +- .github/workflows/asv-nightly.yml | 2 +- .github/workflows/asv-pr.yml | 2 +- .github/workflows/build-documentation.yml | 4 ++-- .github/workflows/pre-commit-ci.yml | 2 +- .github/workflows/publish-to-pypi.yml | 2 +- .github/workflows/smoke-test.yml | 2 +- .github/workflows/testing-and-coverage.yml | 2 +- .pre-commit-config.yaml | 2 +- .readthedocs.yml | 2 +- benchmarks/asv.conf.json | 2 +- pyproject.toml | 5 ++--- src/.pylintrc | 2 +- tests/.pylintrc | 2 +- 15 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.copier-answers.yml b/.copier-answers.yml index 4b575b1f..2ffe5718 100644 --- a/.copier-answers.yml +++ b/.copier-answers.yml @@ -20,7 +20,7 @@ project_license: BSD project_name: hats project_organization: astronomy-commons python_versions: -- '3.9' - '3.10' - '3.11' - '3.12' +- '3.13' diff --git a/.github/workflows/asv-main.yml b/.github/workflows/asv-main.yml index 32c25cf5..477ba594 100644 --- a/.github/workflows/asv-main.yml +++ b/.github/workflows/asv-main.yml @@ -8,7 +8,7 @@ on: branches: [ main ] env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks diff --git a/.github/workflows/asv-nightly.yml b/.github/workflows/asv-nightly.yml index 28b270ae..ad6d1622 100644 --- a/.github/workflows/asv-nightly.yml +++ b/.github/workflows/asv-nightly.yml @@ -9,7 +9,7 @@ on: workflow_dispatch: env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks NIGHTLY_HASH_FILE: nightly-hash diff --git a/.github/workflows/asv-pr.yml b/.github/workflows/asv-pr.yml index 4499eb9f..e78bf42b 100644 --- a/.github/workflows/asv-pr.yml +++ b/.github/workflows/asv-pr.yml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: true env: - PYTHON_VERSION: "3.10" + PYTHON_VERSION: "3.11" ASV_VERSION: "0.6.4" WORKING_DIR: ${{github.workspace}}/benchmarks ARTIFACTS_DIR: ${{github.workspace}}/artifacts diff --git a/.github/workflows/build-documentation.yml b/.github/workflows/build-documentation.yml index 638e7b6e..e245952c 100644 --- a/.github/workflows/build-documentation.yml +++ b/.github/workflows/build-documentation.yml @@ -20,10 +20,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install dependencies run: | sudo apt-get update diff --git a/.github/workflows/pre-commit-ci.yml b/.github/workflows/pre-commit-ci.yml index f31b3ee6..b2fe4816 100644 --- a/.github/workflows/pre-commit-ci.yml +++ b/.github/workflows/pre-commit-ci.yml @@ -19,7 +19,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v5 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 f7cecc2e..c7714115 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@v5 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 8371a3c3..39d1f1f0 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/testing-and-coverage.yml b/.github/workflows/testing-and-coverage.yml index b86ee872..0975e3b6 100644 --- a/.github/workflows/testing-and-coverage.yml +++ b/.github/workflows/testing-and-coverage.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['3.9', '3.10', '3.11', '3.12'] + python-version: ['3.10', '3.11', '3.12', '3.13'] steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3ae4770a..1447d1c5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -94,7 +94,7 @@ repos: # supported by your project here, or alternatively use # pre-commit's default_language_version, see # https://pre-commit.com/#top_level-default_language_version - language_version: python3.10 + language_version: python3.11 # Make sure Sphinx can build the documentation while explicitly omitting # notebooks from the docs, so users don't have to wait through the execution # of each notebook or each commit. By default, these will be checked in the diff --git a/.readthedocs.yml b/.readthedocs.yml index 79bfc272..e83928da 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -8,7 +8,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.10" + python: "3.11" # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/benchmarks/asv.conf.json b/benchmarks/asv.conf.json index 6bce45e4..55ab772f 100644 --- a/benchmarks/asv.conf.json +++ b/benchmarks/asv.conf.json @@ -37,7 +37,7 @@ // The Pythons you'd like to test against. If not provided, defaults // to the current version of Python used to run `asv`. "pythons": [ - "3.10" + "3.11" ], // The matrix of dependencies to test. Each key is the name of a // package (in PyPI) and the values are version numbers. An empty diff --git a/pyproject.toml b/pyproject.toml index f8a66cf1..12bc6c80 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,8 +16,7 @@ classifiers = [ "Programming Language :: Python", ] dynamic = ["version"] - -requires-python = ">=3.9" +requires-python = ">=3.10" dependencies = [ "aiohttp", # http filesystem support "astropy", @@ -81,7 +80,7 @@ line_length = 110 [tool.ruff] line-length = 110 -target-version = "py39" +target-version = "py310" [tool.ruff.lint] select = [ diff --git a/src/.pylintrc b/src/.pylintrc index 1762c338..0a0ec55d 100644 --- a/src/.pylintrc +++ b/src/.pylintrc @@ -87,7 +87,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.10 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/tests/.pylintrc b/tests/.pylintrc index f72052e2..2e834208 100644 --- a/tests/.pylintrc +++ b/tests/.pylintrc @@ -87,7 +87,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.9 +py-version=3.10 # Discover python modules and packages in the file system subtree. recursive=no