Skip to content

Commit

Permalink
Merge pull request #1089 from aphearin/drop_py39
Browse files Browse the repository at this point in the history
Drop support for python 3.9
  • Loading branch information
aphearin authored Sep 8, 2024
2 parents 652b8ee + 826dbf7 commit 2af34e8
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 20 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,34 @@ jobs:
strategy:
matrix:
include:
- name: Ubuntu - Python 3.9 with all optional dependencies
- name: Ubuntu - Python 3.10 with all optional dependencies
os: ubuntu-latest
python: 3.9
toxenv: 'py39-test-alldeps'
python: "3.10"
toxenv: 'py10-test-alldeps'

- name: MacOs - Python 3.9 with all optional dependencies
- name: MacOs - Python 3.10 with all optional dependencies
os: macos-latest
python: 3.9
toxenv: 'py39-test-alldeps'
python: "3.10"
toxenv: 'py10-test-alldeps'

- name: Ubuntu - Python 3.11 with all optional dependencies
os: ubuntu-latest
python: "3.11"
toxenv: 'py11-test-alldeps'

- name: MacOs - Python 3.11 with all optional dependencies
os: macos-latest
python: "3.11"
toxenv: 'py11-test-alldeps'

- name: Ubuntu - Python 3.12 with all optional dependencies
os: ubuntu-latest
python: 3.12
python: "3.12"
toxenv: 'py312-test-alldeps'

- name: MacOs - Python 3.12 with all optional dependencies
os: macos-latest
python: 3.12
python: "3.12"
toxenv: 'py312-test-alldeps'

steps:
Expand Down
26 changes: 18 additions & 8 deletions .github/workflows/cron_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,34 @@ jobs:
strategy:
matrix:
include:
- name: Ubuntu - Python 3.9 with all optional dependencies
- name: Ubuntu - Python 3.10 with all optional dependencies
os: ubuntu-latest
python: 3.9
toxenv: 'py39-test-alldeps'
python: "3.10"
toxenv: 'py10-test-alldeps'

- name: MacOs - Python 3.9 with all optional dependencies
- name: MacOs - Python 3.10 with all optional dependencies
os: macos-latest
python: 3.9
toxenv: 'py39-test-alldeps'
python: "3.10"
toxenv: 'py10-test-alldeps'

- name: Ubuntu - Python 3.11 with all optional dependencies
os: ubuntu-latest
python: "3.11"
toxenv: 'py11-test-alldeps'

- name: MacOs - Python 3.11 with all optional dependencies
os: macos-latest
python: "3.11"
toxenv: 'py11-test-alldeps'

- name: Ubuntu - Python 3.12 with all optional dependencies
os: ubuntu-latest
python: 3.12
python: "3.12"
toxenv: 'py312-test-alldeps'

- name: MacOs - Python 3.12 with all optional dependencies
os: macos-latest
python: 3.12
python: "3.12"
toxenv: 'py312-test-alldeps'

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: python -m cibuildwheel --output-dir wheelhouse
env:
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy Cython extension-helpers
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.9"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
CIBW_SKIP: pp*

- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ build:
apt_packages:
- graphviz
tools:
python: "3.9"
python: "3.10"

sphinx:
configuration: docs/conf.py
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ github_project = astropy/halotools
[options]
zip_safe = False
packages = find:
python_requires = >=3.9
python_requires = >=3.10
setup_requires = setuptools_scm
install_requires =
astropy
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[tox]
envlist =
py{39}-test{,-alldeps,-devdeps}{,-cov}
py{310}-test{,-alldeps,-devdeps}{,-cov}
py{311}-test{,-alldeps,-devdeps}{,-cov}
py{312}-test{,-alldeps,-devdeps}{,-cov}
build_docs
linkcheck
Expand Down

0 comments on commit 2af34e8

Please sign in to comment.