diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 364ace130..46cd3ceb9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 232611080..fd182f8bd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" diff --git a/skpro/survival/adapters/lifelines.py b/skpro/survival/adapters/lifelines.py index 34381b8c7..ebdaa91a7 100644 --- a/skpro/survival/adapters/lifelines.py +++ b/skpro/survival/adapters/lifelines.py @@ -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"] diff --git a/skpro/survival/adapters/sksurv.py b/skpro/survival/adapters/sksurv.py index 5774fa496..9d7b43c1e 100644 --- a/skpro/survival/adapters/sksurv.py +++ b/skpro/survival/adapters/sksurv.py @@ -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"]