Skip to content
Open
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
18 changes: 10 additions & 8 deletions .github/workflows/test-pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,24 @@ jobs:
include:
- python: "3.9"
display_name: "2020"
deps: "numpy==1.19.* scipy==1.5.* matplotlib==3.3.* pandas==1.1.* tables==3.6.* scikit-learn==0.24.* numba==0.53.* llvmlite==0.36.*"
deps: "numpy==1.19.*"
dependency-groups: "test,fast"
- python: "3.10"
display_name: "2021ish"
deps: "numpy==1.22.* scipy==1.7.* matplotlib==3.5.* pandas==1.4.* tables==3.7.* scikit-learn==1.0.* numba==0.55.* llvmlite==0.38.*"
dependency-groups: "test,fast"
- python: "3.11"
display_name: "2022"
deps: "numpy==1.24.* scipy==1.9.* matplotlib==3.6.* pandas==2.0.* tables==3.8.* scikit-learn==1.1.* numba==0.57.* llvmlite==0.40.*"
dependency-groups: "test,fast"
extras: "fast"
- python: "3.12"
display_name: "2023"
deps: "numpy==1.26.* scipy==1.11.* matplotlib==3.8.* pandas==2.1.* tables==3.9.* scikit-learn==1.3.* numba==0.59.* llvmlite==0.42.*"
dependency-groups: "test,fast"
- python: "3.13"
display_name: "2024"
deps: "numpy==2.1.* scipy==1.14.* matplotlib==3.9.* pandas==2.2.* tables==3.10.* scikit-learn==1.5.* numba==0.61.* llvmlite==0.44.*"
dependency-groups: "test,fast"
- python: "3.13"
display_name: "latest (no numba)"
deps: "numpy scipy matplotlib pandas tables scikit-learn"
dependency-groups: "test"


steps:
Expand All @@ -44,8 +46,8 @@ jobs:
- name: Install python dependencies
shell: bash
run: |
pip install --disable-pip-version-check --upgrade pip setuptools wheel
pip install -v -e .[test] ${{ matrix.deps }};
pip install --disable-pip-version-check --upgrade pip
pip install -v -e .[${{matrix.dependency-groups}}] ${{ matrix.deps }};
pip list

- name: Run tests
Expand Down
17 changes: 17 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[project]
name = "trackpy"
requires-python = ">= 3.9"
readme = "README.md"
license = "BSD-3-Clause"
dependencies = ["numpy >= 1.19", "scipy >= 1.5", "pandas >= 1.1",
"tables >= 3.6", "scikit-learn >= 0.24", "llvmlite >= 0.36",
"looseversion>=1.0.1", "pyyaml", "matplotlib"]
dynamic = ["version", "authors", "description", "classifiers", "urls"]

[project.optional-dependencies]
test = ["pytest"]
fast = ["numba >= 0.53"]

[build-system]
requires = ["setuptools", "versioneer[toml]"]
build-backend = "setuptools.build_meta"