diff --git a/.github/workflows/ci_workflows.yml b/.github/workflows/ci_workflows.yml index f1c38c0a18..9d4e0119a9 100644 --- a/.github/workflows/ci_workflows.yml +++ b/.github/workflows/ci_workflows.yml @@ -51,10 +51,10 @@ jobs: toxposargs: --remote-data allow_failure: false - - name: OS X - Python 3.9 + - name: OS X - Python 3.12 os: macos-latest - python: 3.9 - toxenv: py39-test + python: '3.12' + toxenv: py312-test allow_failure: false - name: Windows - Python 3.10 diff --git a/.github/workflows/predeps_workflows.yml b/.github/workflows/predeps_workflows.yml index aa2d1ac785..0a803a4cb5 100644 --- a/.github/workflows/predeps_workflows.yml +++ b/.github/workflows/predeps_workflows.yml @@ -32,8 +32,8 @@ jobs: - name: RC testing on OSX os: macos-latest - python: 3.9 - toxenv: py39-test-predeps + python: '3.10' + toxenv: py310-test-predeps - name: RC testing on Windows os: windows-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2754de7d8d..e47e0e683c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,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 43f8e9a17b..cf5e968799 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -62,6 +62,8 @@ Specviz2d Other Changes and Additions --------------------------- +- Bump required Python version to 3.10. [#2757] + - Line menu in Redshift from Centroid section of Line Analysis now shows values in current units. [#2816] 3.9.2 (unreleased) diff --git a/README.rst b/README.rst index 3a6ccd47ed..c5d6b4c5fc 100644 --- a/README.rst +++ b/README.rst @@ -54,7 +54,7 @@ version conflicts with other packages you may have installed, for example: .. code-block:: bash - conda create -n jdaviz-env python=3.9 + conda create -n jdaviz-env python=3.12 conda activate jdaviz-env Installing the released version can be done using pip: diff --git a/docs/dev/release.rst b/docs/dev/release.rst index 96372b8952..739b140a39 100644 --- a/docs/dev/release.rst +++ b/docs/dev/release.rst @@ -542,7 +542,7 @@ You can create a clean checkout as follows (requires .. code-block:: bash - conda create -n testenv python=3.9 + conda create -n testenv python=3.12 conda activate testenv pip install pytest pytest-astropy pytest-tornasync dist/*.whl cd .. diff --git a/docs/index.rst b/docs/index.rst index af771a7dbf..79a848f55b 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -76,7 +76,7 @@ contextual information like on-sky views of the spectrograph slit. .. warning:: - As of ``jdaviz`` version 3.5, python 3.8 is no longer supported. Please use python 3.9 or + As of ``jdaviz`` version 3.10, please use Python 3.10 or greater to get the latest bug fixes and feature additions for ``jdaviz``. .. note:: diff --git a/docs/installation.rst b/docs/installation.rst index c53b8c6d25..14e2894bbe 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -59,7 +59,7 @@ Common Issues If you encounter problems while following these installation instructions, please consult :ref:`known installation issues `. -Note that ``jdaviz`` requires Python 3.9 or newer. If your ``pip`` corresponds to an older version of +Note that ``jdaviz`` 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/docs/known_bugs.rst b/docs/known_bugs.rst index 086f959a35..24ff187678 100644 --- a/docs/known_bugs.rst +++ b/docs/known_bugs.rst @@ -51,7 +51,7 @@ compatible version: .. code-block:: bash - conda create -n jdaviz python=3.8 + conda create -n jdaviz python=3.12 conda activate jdaviz pip install vispy>=0.6.5 pip install jdaviz --no-cache-dir diff --git a/pyproject.toml b/pyproject.toml index 0c1db31fdf..52bf994860 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "jdaviz" description = "Astronomical data analysis development leveraging the Jupyter platform" -requires-python = ">=3.9" +requires-python = ">=3.10" authors = [ { name = "JDADF Developers", email = "help@stsci.edu" }, ] @@ -38,7 +38,6 @@ dependencies = [ "sidecar>=0.5.2", "ipypopout>=0.0.11", "astroquery", - "y_py<0.5.5;python_version=='3.9'", ] dynamic = [ "version", diff --git a/tox.ini b/tox.ini index fd12715869..19504ce2ba 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{38,39,310,311,312}-test{,-alldeps,-devdeps,-predeps}{-romandeps}{,-cov} + py{310,311,312}-test{,-alldeps,-devdeps,-predeps}{-romandeps}{,-cov} linkcheck codestyle pep517