Skip to content

Commit

Permalink
Stop producing wheels for python 3.8
Browse files Browse the repository at this point in the history
Python 3.8 is due to reach its end of life in less than a month, and
most dependencies of scikit-decide already stopped producing wheels for
3.8 for some time.

https://devguide.python.org/versions/
  • Loading branch information
nhuet authored and fteicht committed Sep 20, 2024
1 parent 8dcd249 commit 958eab1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ jobs:
steps:
- uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9
- name: Generate Matrix
id: generate-matrix
shell: python3 {0}
run: |
from os import environ
python_version_build = ["3.8", "3.9", "3.10", "3.11"]
python_version_test = ["3.8", "3.11"]
python_version_build = ["3.9", "3.10", "3.11"]
python_version_test = ["3.9", "3.11"]
test = ["macos-12", "macos-latest", "ubuntu-latest", "windows-latest"]
build_doc = "true"
Expand All @@ -87,7 +87,6 @@ jobs:
to_bool = lambda s: True if s == "true" else False
python_filter = {
'3.11': to_bool("${{ contains(github.event.head_commit.message, '[ci: python-3.11]') }}"),
'3.8': to_bool("${{ contains(github.event.head_commit.message, '[ci: python-3.8]') }}"),
'3.9': to_bool("${{ contains(github.event.head_commit.message, '[ci: python-3.9]') }}"),
'3.10': to_bool("${{ contains(github.event.head_commit.message, '[ci: python-3.10]') }}"),
}
Expand Down Expand Up @@ -134,7 +133,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.8"
python-version: "3.9"
- name: install pre-commit
run: python -m pip install pre-commit
- name: get cached pre-commit hooks
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ format-jinja = """
files = ["skdecide/__init__.py"]

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
pynng = ">=0.6.2"
pathos = ">=0.2.7"
scipy = { version = ">=1.9.2", optional = true }
Expand Down

0 comments on commit 958eab1

Please sign in to comment.