Skip to content

Commit

Permalink
Merge pull request #52 from NorskRegnesentral/update-dependencies
Browse files Browse the repository at this point in the history
[MNT] Support python 3.13
  • Loading branch information
Tveten authored Dec 11, 2024
2 parents b1d0826 + 54ebd2e commit 49b63e1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,19 @@ jobs:

pytests-without-numba:
name: pytests-without-numba
strategy:
fail-fast: false
matrix:
python-version:
- "3.9"
- "3.13"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: ${{ matrix.python-version }}
- name: Run skchange without Numba
run: |
python -m pip install --upgrade pip
Expand All @@ -53,7 +59,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: ${{ matrix.python-version }}
- name: Run skchange with and without Numba
# Both with and without to get full coverage report.
# Without numba is very fast, so it doesn't hurt to run it twice.
Expand Down
9 changes: 5 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,19 @@ classifiers = [
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.9,<3.13"
requires-python = ">=3.9,<3.14"
dependencies = [
"numpy>=1.21",
"pandas>=1.1",
"sktime>=0.33",
"sktime>=0.35",
]

[project.urls]
Expand All @@ -51,8 +54,6 @@ numba = [

# all_extras - all soft dependencies, install via "pip install skchange[all_extras]"
all_extras = [
"optuna>=3.1.1",
"plotly>=5.13.0",
"numba>=0.56",
]

Expand Down

0 comments on commit 49b63e1

Please sign in to comment.