From 6425be78fbd01590e8723bdc28526caa2b5bef2e Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 18 Jul 2024 14:37:25 -0400 Subject: [PATCH 1/4] drop py39 try to fix oldestdeps --- .github/workflows/ci.yml | 14 +++++++------- CHANGES.rst | 2 ++ pyproject.toml | 5 ++--- tox.ini | 5 +---- 4 files changed, 12 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3e2c8fea..e7850a06 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,9 +35,9 @@ jobs: cache-restore-keys: | pip- # Any env name which does not start with `pyXY` will use this Python version. - default_python: '3.9' + default_python: '3.12' envs: | - - linux: py39-parallel-cov + - linux: py310-test-parallel-cov - linux: py311-test-devdeps-parallel-cov - linux: py312-test-predeps-parallel-cov coverage: codecov @@ -50,7 +50,7 @@ jobs: cache-key: pip-${{ needs.setup.outputs.requirements-hash }} cache-restore-keys: | pip- - default_python: '3.10' + default_python: '3.12' envs: | - linux: asdf - linux: asdf-standard @@ -66,7 +66,7 @@ jobs: cache-restore-keys: | pip- # Any env name which does not start with `pyXY` will use this Python version. - default_python: '3.10' + default_python: '3.12' envs: | - linux: py310-test-parallel - linux: py311-test-parallel @@ -83,7 +83,7 @@ jobs: cache-restore-keys: | pip- # Any env name which does not start with `pyXY` will use this Python version. - default_python: '3.9' + default_python: '3.12' envs: | - linux: py310-test-devdeps-parallel - linux: py311-test-devdeps-parallel @@ -98,9 +98,9 @@ jobs: cache-restore-keys: | pip- # Any env name which does not start with `pyXY` will use this Python version. - default_python: '3.9' + default_python: '3.10' envs: | - - linux: py39-test-oldestdep-parallels-cov + - linux: py310-test-oldestdeps-parallel-cov coverage: codecov wheel_building: diff --git a/CHANGES.rst b/CHANGES.rst index 5adb463e..f459e140 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,8 @@ - strip None factor for spectral_density in equivalency converter to avoid deprecation warnings for astropy 7. [#229] +- drop support for python 3.9. [#232] + 0.6.1 (2024-04-05) ------------------ diff --git a/pyproject.toml b/pyproject.toml index eb915a72..1e7e06d5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,12 +4,11 @@ description = "ASDF serialization support for astropy" readme = 'README.rst' license = { file = 'LICENSE.rst' } authors = [{ name = 'The Astropy Developers', email = 'astropy.team@gmail.com' }] -requires-python = '>=3.9' +requires-python = '>=3.10' classifiers = [ 'Development Status :: 5 - Production/Stable', 'Programming Language :: Python', "Programming Language :: Python :: 3 :: Only", - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -23,7 +22,7 @@ dependencies = [ "asdf-transform-schemas>=0.5", "asdf-standard>=1.1.0", "astropy>=5.0.4", - "numpy>=1.20", + "numpy>=1.24", "packaging>=19", ] [project.optional-dependencies] diff --git a/tox.ini b/tox.ini index a9841faa..fb4e0e43 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,6 @@ [tox] envlist = - py{39,310}-test{,-alldeps} - py38-test-devdeps{,-numpydev} - py38-cov - py39-test-oldestdep-parallels-cov + py{310,311,312}-test{,-devdeps,-predeps,-oldestdeps}{,-numpydev}{,-parallel}{,-cov} requires = setuptools >= 30.3.0 pip >= 19.3.1 From 92ccd31936ed5c88f4e3ed7ebcfe7ca54a38febe Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 18 Jul 2024 15:03:03 -0400 Subject: [PATCH 2/4] bump astropy requirement --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 1e7e06d5..57ed2cc9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ "asdf-coordinates-schemas>=0.3", "asdf-transform-schemas>=0.5", "asdf-standard>=1.1.0", - "astropy>=5.0.4", + "astropy>=6.0.0", "numpy>=1.24", "packaging>=19", ] From 98982ad645f596a203a07862f46f58ae9ca5be78 Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 18 Jul 2024 16:16:06 -0400 Subject: [PATCH 3/4] update readthedocs --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index b78935c8..19fe373a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -5,7 +5,7 @@ build: apt_packages: - graphviz tools: - python: "3.9" + python: "3.12" sphinx: fail_on_warning: true From f047a6bbd274bb523beb83e117cbefc2c44eed9e Mon Sep 17 00:00:00 2001 From: Brett Date: Thu, 18 Jul 2024 16:26:39 -0400 Subject: [PATCH 4/4] roll back astropy pin to 5.2 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57ed2cc9..9a83b079 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,7 +21,7 @@ dependencies = [ "asdf-coordinates-schemas>=0.3", "asdf-transform-schemas>=0.5", "asdf-standard>=1.1.0", - "astropy>=6.0.0", + "astropy>=5.2.0", "numpy>=1.24", "packaging>=19", ]