From 4ea555e8b117813ae27d2dc5c6bdb00309f32607 Mon Sep 17 00:00:00 2001 From: Thomas Chamberlin Date: Fri, 25 Oct 2024 13:20:35 -0400 Subject: [PATCH] Drop support for Python 3.9 (#406) specutils has dropped support for Python 3.9, so we will also Note also that we are explicitly dropping support for Python 3.13+, because our maximum-supported Astropy version is incompatible with 3.13+ --- .github/workflows/ci.yml | 4 +-- .github/workflows/release.yml | 2 +- .pre-commit-config.yaml | 2 +- .readthedocs.yaml | 2 +- docs/source/for_beta_testers/beta_testing.rst | 2 +- .../for_developers/manage_requirements.rst | 10 +++--- pyproject.toml | 8 ++--- requirements.txt | 31 ++----------------- 8 files changed, 15 insertions(+), 46 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b905b087..27b39360 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,7 +27,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: - python-version: 3.9 + python-version: "3.10" cache: pip - run: pip install --upgrade coverage[toml] - uses: actions/download-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c83c31b..05b5aefb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: Set up Python ubuntu-latest uses: actions/setup-python@v4 with: - python-version: '3.9' # Should always be the minimum supported Python version + python-version: '3.10' # Should always be the minimum supported Python version cache: 'pip' cache-dependency-path': 'requirements.txt' - name: Install dependencies diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index de4e221b..dde8d987 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,7 +1,7 @@ --- # See https://pre-commit.com for more information default_language_version: - python: python3.9 + python: python3.10 # See https://pre-commit.com/hooks.html for more hooks repos: diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e0652ef0..e2a2913c 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -9,7 +9,7 @@ version: 2 build: os: ubuntu-22.04 tools: - python: "3.9" + python: "3.10" # You can also specify other tool versions: # nodejs: "19" # rust: "1.64" diff --git a/docs/source/for_beta_testers/beta_testing.rst b/docs/source/for_beta_testers/beta_testing.rst index 44e24315..6898e9e3 100644 --- a/docs/source/for_beta_testers/beta_testing.rst +++ b/docs/source/for_beta_testers/beta_testing.rst @@ -70,7 +70,7 @@ We provide steps for working in one of `GBO data reduction hosts