Skip to content

Commit

Permalink
Drop Python 3.8, add 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromekelleher committed Jun 20, 2024
1 parent de0055f commit 12ced8e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [ 3.8, 3.9, "3.11" ]
python: [ 3.9, 3.11, 3.12 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
defaults:
run:
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
python: [3.9, "3.10", 3.11, 3.12]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
python: [3.9, "3.10", 3.11, 3.12]
wordsize: [64]
steps:
- name: Checkout
Expand Down Expand Up @@ -107,10 +107,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Build sdist
shell: bash
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
python: [3.9, "3.10", 3.11, 3.12]
steps:
- name: Download wheels
uses: actions/download-artifact@v4
Expand All @@ -162,7 +162,7 @@ jobs:
runs-on: windows-latest
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
python: [3.9, "3.10", 3.11, 3.12]
wordsize: [64]
steps:
- name: Download wheels
Expand All @@ -186,17 +186,17 @@ jobs:
needs: ['manylinux']
strategy:
matrix:
python: [3.8, 3.9, "3.10", 3.11]
python: [3.9, "3.10", 3.11, 3.12]
include:

- python: 3.8
wheel: cp38
- python: 3.9
wheel: cp39
- python: "3.10"
wheel: cp310
- python: 3.11
wheel: cp311
- python: 3.12
wheel: cp312
steps:
- name: Download wheels
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -234,4 +234,4 @@ jobs:
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PRODUCTION PyPI
if: github.event_name == 'release' && !startsWith(github.event.release.tag_name, 'C_')
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@release/v1
4 changes: 2 additions & 2 deletions python/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ classifiers =
Programming Language :: C
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3 :: Only
Development Status :: 5 - Production/Stable
Environment :: Other Environment
Expand All @@ -45,7 +45,7 @@ platforms =

[options]
packages = tskit
python_requires = >=3.8
python_requires = >=3.9
include_package_data = True
# Following numpy 2 packaging advice, we build on numpy 2 and
# have a runtime dependency on >= 1.23.5
Expand Down

0 comments on commit 12ced8e

Please sign in to comment.