Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -261,3 +261,40 @@ jobs:
FLAG: ${{ matrix.flag }}
shell: bash
run: python -c "from skpro.tests._test_vm import run_test_vm; run_test_vm('${{ matrix.flag }}')"

test-deps-2024:
needs: run-tests-no-extras
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6

- run: git remote set-branches origin 'main'

- run: git fetch --depth 1

- name: Install uv
uses: astral-sh/setup-uv@v7
with:
enable-cache: true

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: 3.12

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Install sktime and dependencies
run: pip install .[dev,dependencies_2024]
env:
UV_SYSTEM_PYTHON: 1

- name: Show dependencies
run: python -m pip list

- name: Show available branches
run: git branch -a

- name: Run tests
run: make test
11 changes: 11 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,17 @@ docs = [
"tabulate",
]

# CI related soft dependency sets - not for users of sktime, only for developers
# these are for special uses and may be changed or removed at any time

# August 2024 (briefly after numpy2 release)
dependencies_2024 = [
"numpy==2.1.0",
"pandas==2.3.2",
"scikit-learn==1.5.1",
"scipy==1.14.1",
]

[project.urls]
Homepage = "https://github.com/sktime/skpro"
Repository = "https://github.com/sktime/skpro"
Expand Down
2 changes: 1 addition & 1 deletion skpro/survival/adapters/lifelines.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
"""Implements adapter for lifelines models."""
"""Adapter for lifelines models."""

__all__ = ["_LifelinesAdapter"]
__author__ = ["fkiraly"]
Expand Down
2 changes: 1 addition & 1 deletion skpro/survival/adapters/sksurv.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# copyright: sktime developers, BSD-3-Clause License (see LICENSE file)
"""Implements adapter for scikit-survival models."""
"""Adapter for scikit-survival models."""

__all__ = ["_SksurvAdapter"]
__author__ = ["fkiraly"]
Expand Down