Skip to content

Commit

Permalink
[MNT] Python 3.12 support - for release 2.1.0 (#109)
Browse files Browse the repository at this point in the history
This PR introduces a version bump for the python 3.12 release:

* 3.12 allowed in `pyproject.toml`
* extended test CI coverage to 3.12

Also makes the following changes:

* upper version bounds in `pyproject.toml`
* bump `numpy` upper bound
  • Loading branch information
fkiraly committed Oct 9, 2023
1 parent 3e99ed6 commit a4c0b92
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-20.04, windows-latest, macOS-11]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
os: [ubuntu-20.04, windows-latest, macOS-11]
runs-on: ${{ matrix.os }}
steps:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macOS-11]
python-version: ['3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.11']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -85,6 +85,11 @@ jobs:
python-version: 3.11
bitness: 64
platform_id: win_amd64
- os: windows-2019
python: 312
python-version: 3.12
bitness: 64
platform_id: win_amd64

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_static/switcher.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "2.0.1 (stable)",
"version": "stable",
"url": "https://skpro.readthedocs.io/en/v2.0.1/"
}
},
{
"name": "2.0.0",
"version": "v2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/get_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Installation

``skpro`` currently supports:

* environments with python version 3.8, 3.9, 3.10, or 3.11.
* environments with python version 3.8, 3.9, 3.10, 3.11, or 3.12.
* operating systems Mac OS X, Unix-like OS, Windows 8.1 and higher
* installation via ``PyPi`` or ``conda``

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 @@ Installation

``skpro`` currently supports:

* environments with python version 3.8, 3.9, 3.10 or 3.11
* environments with python version 3.8, 3.9, 3.10, 3.11, or 3.12
* operating systems Mac OS X, Unix-like OS, Windows 8.1 and higher

Checkout the full list of pre-compiled wheels on
Expand Down
7 changes: 4 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,14 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
requires-python = ">=3.8,<3.12"
requires-python = ">=3.8,<3.13"
dependencies = [
"numpy>=1.21.0,<1.27",
"pandas>=1.1.0",
"pandas>=1.1.0,<2.2.0",
"packaging",
"scikit-base>=0.4.3",
"scikit-base>=0.4.3,<0.7.0",
"scikit-learn>=0.24.0,<1.4.0",
"scipy<2.0.0,>=1.2.0",
]
Expand Down

0 comments on commit a4c0b92

Please sign in to comment.