Skip to content

Commit

Permalink
Remove Python 3.8 builds (EOL soon; no Numpy v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Sep 16, 2024
1 parent d65dde7 commit b0aacd8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ jobs:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
build:
os: "ubuntu-20.04"
tools:
python: "3.8"
python: "3.11"
jobs:
post_checkout:
# Download and uncompress the binary
Expand Down
2 changes: 1 addition & 1 deletion docs/source/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Pip package
.. image:: https://flat.badgen.net/badge/install%20with/pip/green
:target: https://pypi.org/project/ms2pip/

With Python 3.8 or higher, run:
With Python 3.9 or higher, run:

.. code-block:: bash
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ classifiers = [
"Topic :: Scientific/Engineering :: Bio-Informatics",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"numpy>=1.25,<3",
"pandas>=1,<3",
Expand Down Expand Up @@ -83,15 +83,15 @@ include = ["ms2pip*"]

[tool.black]
line-length = 99
target-version = ['py38']
target-version = ['py39']

[tool.ruff]
line-length = 99
target-version = 'py38'
target-version = 'py39'

[tool.cibuildwheel]
build = "cp3*-manylinux_x86_64 cp3*-win_amd64 cp3*-macosx_x86_64 cp3*-macosx_arm64"
skip = "cp36-* cp37-* cp312-*" # EOL / no Numpy wheels available yet for Python 3.12
skip = "cp36-* cp37-* cp38-*"
manylinux-x86_64-image = "manylinux2014"
# test-command = "pytest {package}/tests"
test-command = "ms2pip --help"
Expand Down

0 comments on commit b0aacd8

Please sign in to comment.