From 37ba05f90900189c1c1098255a31d636418464e0 Mon Sep 17 00:00:00 2001 From: Kyle Conroy Date: Fri, 24 May 2024 13:46:40 -0400 Subject: [PATCH] drop support for python 3.9 to match jdaviz doing the same --- .github/workflows/ci_workflows.yml | 18 +++++++++--------- .github/workflows/publish.yml | 2 +- CHANGES.rst | 2 +- docs/installation.rst | 2 +- pyproject.toml | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index 43a26458..b6ae948b 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -51,24 +51,24 @@ jobs: toxposargs: --remote-data allow_failure: false - - name: OS X - Python 3.9 + - name: OS X - Python 3.10 os: macos-latest - python: 3.9 - toxenv: py39-test + python: '3.10' + toxenv: py310-test allow_failure: false - - name: Windows - Python 3.9 + - name: Windows - Python 3.11 os: windows-latest - python: 3.9 - toxenv: py39-test + python: 3.11 + toxenv: py311-test allow_failure: false # This also runs on cron but we want to make sure new changes # won't break this job at the PR stage. - - name: Python 3.11 with latest dev versions of key dependencies, and remote data + - name: Python 3.12 with latest dev versions of key dependencies, and remote data os: ubuntu-latest - python: '3.11' - toxenv: py311-test-devdeps + python: '3.12' + toxenv: py312-test-devdeps toxposargs: --remote-data --run-slow allow_failure: true diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 27e4e440..240d2baa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,7 +25,7 @@ jobs: - uses: actions/setup-python@v5 with: - python-version: 3.9 + python-version: 3.10 - name: Install python-build and twine run: python -m pip install build "twine>=3.3" diff --git a/CHANGES.rst b/CHANGES.rst index 322f6c7d..075c61a2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,7 @@ 0.4.0 (unreleased) ------------------ -* Updates to use jdaviz 3.10. [#105] +* Updates to use jdaviz 3.10, which now requires python 3.10+. [#105] * Support loading, viewing, and slicing through TPF data cubes. [#82, #117] diff --git a/docs/installation.rst b/docs/installation.rst index c5ad9fda..6785f21b 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -51,7 +51,7 @@ Common Issues If you encounter problems while following these installation instructions, please consult :ref:`known installation issues `. -Note that ``lcviz`` requires Python 3.9 or newer. If your ``pip`` corresponds to an older version of +Note that ``lcviz`` requires Python 3.10 or newer. If your ``pip`` corresponds to an older version of Python, it will raise an error that it cannot find a valid package. Users occasionally encounter problems running the pure ``pip`` install above. For those diff --git a/pyproject.toml b/pyproject.toml index d9b6e9f2..4093b066 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "lcviz" description = "A Jdaviz-based light curve analysis and visualization tool" -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [ { name = "JDADF Developers", email = "kconroy@stsci.edu" }, ]