From bd6b0df661f667cd996398e8458f8e23ed389c10 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 15:02:07 -0400 Subject: [PATCH 01/18] reorganize testing for improved package pinning and add numpy 2 to newest testing --- .github/workflows/ci-oldest-reqs.txt | 4 +++- .github/workflows/run-pytest.yml | 6 ------ requirements/requirements-data.txt | 2 -- requirements/requirements-jit.txt | 1 - requirements/requirements-test.txt | 15 ++++++++++++--- 5 files changed, 15 insertions(+), 13 deletions(-) delete mode 100644 requirements/requirements-data.txt delete mode 100644 requirements/requirements-jit.txt diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index f203a27..d506e73 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -6,6 +6,8 @@ numpy == 1.21.0 ruptures == 1.1.5 scikit-learn == 0.24.0 pandas == 1.1.3 -hypothesis +hypothesis == 5.13 pytest == 6.2.1 pytest-cov[toml] == 2.12.1 +numba == 0.52.0 +xarray == 0.20.0 \ No newline at end of file diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 2661c50..2d22c4c 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -49,17 +49,11 @@ jobs: - name: Install newest dependencies run: | pip install -r requirements/requirements-test.txt - pip install -r requirements/requirements-data.txt if: ${{ matrix.dependencies == 'newest' }} - name: Install oldest dependencies run: | pip install -r .github/workflows/ci-oldest-reqs.txt - pip install -r requirements/requirements-data.txt if: ${{ matrix.dependencies == 'oldest' }} - - name: Install numba (if available) - run: | - pip install -r requirements/requirements-jit.txt - if: ${{ matrix.python != '3.12' }} - name: Install the package run: | pip install -e . diff --git a/requirements/requirements-data.txt b/requirements/requirements-data.txt deleted file mode 100644 index 81749ae..0000000 --- a/requirements/requirements-data.txt +++ /dev/null @@ -1,2 +0,0 @@ -pandas -xarray diff --git a/requirements/requirements-jit.txt b/requirements/requirements-jit.txt deleted file mode 100644 index c3db445..0000000 --- a/requirements/requirements-jit.txt +++ /dev/null @@ -1 +0,0 @@ -numba diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index d828b0e..17def48 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,3 +1,12 @@ -hypothesis -pytest -pytest-cov[toml] +hypothesis == 6.0 +pytest == 8.0 +pytest-cov[toml] == 5.0 +bottleneck == 1.4 +freud-analysis == 3.1 +kneed == 0.8.5 +numpy == 2.0 +ruptures == 1.1.9 +scikit-learn == 1.5 +pandas == 2.2.2 +numba == 0.60 +xarray == 2024.6 \ No newline at end of file From 55c5d5c3d12e2b495c65bbc0b9a0ec8f1915b688 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 15:06:22 -0400 Subject: [PATCH 02/18] increase numba version --- .github/workflows/ci-oldest-reqs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index d506e73..b9ffe69 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -9,5 +9,5 @@ pandas == 1.1.3 hypothesis == 5.13 pytest == 6.2.1 pytest-cov[toml] == 2.12.1 -numba == 0.52.0 +numba == 0.53.0 xarray == 0.20.0 \ No newline at end of file From d9721edfc92ee9e465e1eb6e1cb159d6d1ffd53e Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 15:19:36 -0400 Subject: [PATCH 03/18] update pytest version --- .github/workflows/ci-oldest-reqs.txt | 2 +- requirements/requirements-test.txt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index b9ffe69..b0b6e1c 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -10,4 +10,4 @@ hypothesis == 5.13 pytest == 6.2.1 pytest-cov[toml] == 2.12.1 numba == 0.53.0 -xarray == 0.20.0 \ No newline at end of file +xarray == 0.20.0 diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index 17def48..603271e 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,5 +1,5 @@ hypothesis == 6.0 -pytest == 8.0 +pytest == 8.2.2 pytest-cov[toml] == 5.0 bottleneck == 1.4 freud-analysis == 3.1 @@ -9,4 +9,4 @@ ruptures == 1.1.9 scikit-learn == 1.5 pandas == 2.2.2 numba == 0.60 -xarray == 2024.6 \ No newline at end of file +xarray == 2024.6 From 62b1a385547a03a7e6dd6ec76b8d5b2727cd6c0d Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 15:29:06 -0400 Subject: [PATCH 04/18] update hypothesis --- requirements/requirements-test.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index 603271e..d5933b6 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,6 +1,6 @@ -hypothesis == 6.0 +hypothesis == 6.103.2 pytest == 8.2.2 -pytest-cov[toml] == 5.0 +pytest-cov[toml] == 5.0.0 bottleneck == 1.4 freud-analysis == 3.1 kneed == 0.8.5 From 4d2e71ec4c1c7939e79d6904e5dd03cb4146baa1 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:09:18 -0400 Subject: [PATCH 05/18] update hypothesis --- .github/workflows/ci-oldest-reqs.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index b0b6e1c..90b7d7c 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -1,13 +1,13 @@ bottleneck == 1.3.4 -freud-analysis == 2.7.0 +freud == 2.7.0 coverage[toml] == 6.2 kneed == 0.8.2 numpy == 1.21.0 ruptures == 1.1.5 scikit-learn == 0.24.0 pandas == 1.1.3 -hypothesis == 5.13 +hypothesis == 5.38.0 pytest == 6.2.1 pytest-cov[toml] == 2.12.1 -numba == 0.53.0 +numba == 0.55.0 xarray == 0.20.0 From ceff99a3c5e4a741da396f6f64ec80becf9416ea Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:10:55 -0400 Subject: [PATCH 06/18] fix freud name --- .github/workflows/ci-oldest-reqs.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index 90b7d7c..785ef8b 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -1,5 +1,5 @@ bottleneck == 1.3.4 -freud == 2.7.0 +freud-analysis == 2.7.0 coverage[toml] == 6.2 kneed == 0.8.2 numpy == 1.21.0 From f830823b93e581d6e41b3060e02de4e85597a695 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:23:54 -0400 Subject: [PATCH 07/18] try running only newest --- .github/workflows/run-pytest.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 2d22c4c..e043da1 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -27,14 +27,15 @@ jobs: # Defaults to newest dependencies - dependencies: 'newest' # Other tests - - python: '3.9' - dependencies: 'oldest' - - os: 'macos-latest' - python: '3.9' - dependencies: 'oldest' - - os: 'macos-latest' - python: '3.12' - dependencies: 'newest' + #- os: 'ubuntu-latest' + # python: '3.9' + # dependencies: 'oldest' + #- os: 'macos-latest' + # python: '3.9' + # dependencies: 'oldest' + #- os: 'macos-latest' + # python: '3.12' + # dependencies: 'newest' steps: - uses: actions/checkout@v4 with: From 259d212843f658fece73a7b9d2092ef97d347fcb Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:28:25 -0400 Subject: [PATCH 08/18] test macos newest --- .github/workflows/run-pytest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index e043da1..3f5aa17 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -33,9 +33,9 @@ jobs: #- os: 'macos-latest' # python: '3.9' # dependencies: 'oldest' - #- os: 'macos-latest' - # python: '3.12' - # dependencies: 'newest' + - os: 'macos-latest' + python: '3.12' + dependencies: 'newest' steps: - uses: actions/checkout@v4 with: From 5e15f853286e465ace6698a98a9513ce81529a42 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:30:38 -0400 Subject: [PATCH 09/18] get rid of coverage for now --- .github/workflows/ci-oldest-reqs.txt | 1 - .github/workflows/run-pytest.yml | 5 +---- pyproject.toml | 4 ---- requirements/requirements-test.txt | 1 - 4 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index 785ef8b..524c484 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -1,6 +1,5 @@ bottleneck == 1.3.4 freud-analysis == 2.7.0 -coverage[toml] == 6.2 kneed == 0.8.2 numpy == 1.21.0 ruptures == 1.1.5 diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 3f5aa17..0d4ca33 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -60,7 +60,4 @@ jobs: pip install -e . - name: Test with pytest run: | - pytest --cov=dupin --cov-config=pyproject.toml --cov-report=xml tests -v - - uses: codecov/codecov-action@v4 - with: - token: ${{ secrets.CODECOV_TOKEN }} + python -m pytest -v \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 79d6f78..615caf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -71,10 +71,6 @@ select = [ [tool.ruff.lint.pydocstyle] convention = "numpy" -[tool.coverage.run] -branch = true -source = [ "dupin" ] - [tool.pytest.ini_options] minversion = "6.0" filterwarnings = [ diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index d5933b6..c50ca99 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,6 +1,5 @@ hypothesis == 6.103.2 pytest == 8.2.2 -pytest-cov[toml] == 5.0.0 bottleneck == 1.4 freud-analysis == 3.1 kneed == 0.8.5 From ab71b5e5f5d0819458c520b183cce726541ea06f Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:31:46 -0400 Subject: [PATCH 10/18] add macos 3.9 latest newst --- .github/workflows/run-pytest.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 0d4ca33..3fc6269 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -33,6 +33,9 @@ jobs: #- os: 'macos-latest' # python: '3.9' # dependencies: 'oldest' + - os: 'macos-latest' + python: '3.9' + dependencies: 'newest' - os: 'macos-latest' python: '3.12' dependencies: 'newest' From 6ac50699c2ebae4efe8a9a0b9d97bd30f2022993 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:32:40 -0400 Subject: [PATCH 11/18] pre-commit --- .github/workflows/run-pytest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 3fc6269..ce6ef9e 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -63,4 +63,4 @@ jobs: pip install -e . - name: Test with pytest run: | - python -m pytest -v \ No newline at end of file + python -m pytest -v From b098f74ab481f13635fd9943737ebf5867eac6b7 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 18:34:13 -0400 Subject: [PATCH 12/18] add ubuntu latest oldest --- .github/workflows/run-pytest.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index ce6ef9e..616f98c 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -27,9 +27,9 @@ jobs: # Defaults to newest dependencies - dependencies: 'newest' # Other tests - #- os: 'ubuntu-latest' - # python: '3.9' - # dependencies: 'oldest' + - os: 'ubuntu-latest' + python: '3.9' + dependencies: 'oldest' #- os: 'macos-latest' # python: '3.9' # dependencies: 'oldest' From 6d7b1302395d75b05e50789433ed758d1b9a3367 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:15:32 -0400 Subject: [PATCH 13/18] update oldest hypothesis --- .github/workflows/ci-oldest-reqs.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index 524c484..d0133de 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -5,8 +5,7 @@ numpy == 1.21.0 ruptures == 1.1.5 scikit-learn == 0.24.0 pandas == 1.1.3 -hypothesis == 5.38.0 +hypothesis == 6.30.0 pytest == 6.2.1 -pytest-cov[toml] == 2.12.1 numba == 0.55.0 xarray == 0.20.0 From 961c391585e481ba8de196299cd5af9ec9c73250 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:17:46 -0400 Subject: [PATCH 14/18] move tests reqs to workflows --- {requirements => .github/workflows}/requirements-test.txt | 0 .github/workflows/run-pytest.yml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {requirements => .github/workflows}/requirements-test.txt (100%) diff --git a/requirements/requirements-test.txt b/.github/workflows/requirements-test.txt similarity index 100% rename from requirements/requirements-test.txt rename to .github/workflows/requirements-test.txt diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 616f98c..06e4166 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -52,7 +52,7 @@ jobs: pip install setuptools --upgrade - name: Install newest dependencies run: | - pip install -r requirements/requirements-test.txt + pip install -r .github/workflows/requirements-test.txt if: ${{ matrix.dependencies == 'newest' }} - name: Install oldest dependencies run: | From 8a847ee4f3cbfb7b6b8d696e880a06b7212b2378 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:18:04 -0400 Subject: [PATCH 15/18] rearrange requrements file for pyproject.toml --- pyproject.toml | 15 ++++++--------- requirements.txt | 7 ------- requirements/requirements-testing.txt | 2 ++ requirements/requirements.txt | 7 +++++++ 4 files changed, 15 insertions(+), 16 deletions(-) delete mode 100644 requirements.txt create mode 100644 requirements/requirements-testing.txt create mode 100644 requirements/requirements.txt diff --git a/pyproject.toml b/pyproject.toml index 615caf6..d9a7edf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,15 +20,12 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] -dependencies = [ - "bottleneck", # perform moving window array computations - "freud-analysis", # generate features - "kneed", # knee/elbow detection - "numpy", # basic numerical Python - "pandas", # Handling DataFrames in functions and signal aggregation. - "ruptures", # event detection - "scikit-learn", # For ML window dimensionality reduction -] + +[tool.setuptools.dynamic] +dependencies = { file = ["requirements/requirements.txt"] } +optional-dependencies = { testing = { file = [ + "requirements/requirements-testing.txt", +] } } [project.urls] Source = "https://github.com/glotzerlab/dupin" diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 109749a..0000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -bottleneck -freud-analysis -kneed -numpy -ruptures -scikit-learn -pandas diff --git a/requirements/requirements-testing.txt b/requirements/requirements-testing.txt new file mode 100644 index 0000000..3f3fc87 --- /dev/null +++ b/requirements/requirements-testing.txt @@ -0,0 +1,2 @@ +pytest>6.2.1 +hypothesis>6.30.0 \ No newline at end of file diff --git a/requirements/requirements.txt b/requirements/requirements.txt new file mode 100644 index 0000000..754f4ed --- /dev/null +++ b/requirements/requirements.txt @@ -0,0 +1,7 @@ +bottleneck>=1.3.4 +freud-analysis>=2.7.0 +kneed>=0.8.2 +numpy>=1.21 +ruptures>=1.1.5 +scikit-learn>=0.24.0 +pandas>=1.1.3 From 05a0b2762e7d0ada88761eb3c35726364253ab9b Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:19:15 -0400 Subject: [PATCH 16/18] pre-commit --- .github/workflows/run-pytest.yml | 6 +++--- requirements/requirements-testing.txt | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index 06e4166..e5ba414 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -30,9 +30,9 @@ jobs: - os: 'ubuntu-latest' python: '3.9' dependencies: 'oldest' - #- os: 'macos-latest' - # python: '3.9' - # dependencies: 'oldest' + - os: 'macos-latest' + python: '3.9' + dependencies: 'oldest' - os: 'macos-latest' python: '3.9' dependencies: 'newest' diff --git a/requirements/requirements-testing.txt b/requirements/requirements-testing.txt index 3f3fc87..3df4139 100644 --- a/requirements/requirements-testing.txt +++ b/requirements/requirements-testing.txt @@ -1,2 +1,2 @@ pytest>6.2.1 -hypothesis>6.30.0 \ No newline at end of file +hypothesis>6.30.0 From 3165bbf66677bea5605e60fbf96edd58b3639fee Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:24:45 -0400 Subject: [PATCH 17/18] up numpy version --- .github/workflows/ci-oldest-reqs.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt index d0133de..d292902 100644 --- a/.github/workflows/ci-oldest-reqs.txt +++ b/.github/workflows/ci-oldest-reqs.txt @@ -1,11 +1,11 @@ bottleneck == 1.3.4 freud-analysis == 2.7.0 kneed == 0.8.2 -numpy == 1.21.0 +numpy == 1.22.0 ruptures == 1.1.5 scikit-learn == 0.24.0 pandas == 1.1.3 hypothesis == 6.30.0 pytest == 6.2.1 -numba == 0.55.0 +numba == 0.55.2 xarray == 0.20.0 From 369c418dc5dcf49a4e71786f7a653ec3a3e89615 Mon Sep 17 00:00:00 2001 From: Domagoj Fijan Date: Sun, 23 Jun 2024 19:28:10 -0400 Subject: [PATCH 18/18] test only with one set of deps --- .github/workflows/ci-oldest-reqs.txt | 11 ----------- .github/workflows/run-pytest.yml | 19 ++----------------- 2 files changed, 2 insertions(+), 28 deletions(-) delete mode 100644 .github/workflows/ci-oldest-reqs.txt diff --git a/.github/workflows/ci-oldest-reqs.txt b/.github/workflows/ci-oldest-reqs.txt deleted file mode 100644 index d292902..0000000 --- a/.github/workflows/ci-oldest-reqs.txt +++ /dev/null @@ -1,11 +0,0 @@ -bottleneck == 1.3.4 -freud-analysis == 2.7.0 -kneed == 0.8.2 -numpy == 1.22.0 -ruptures == 1.1.5 -scikit-learn == 0.24.0 -pandas == 1.1.3 -hypothesis == 6.30.0 -pytest == 6.2.1 -numba == 0.55.2 -xarray == 0.20.0 diff --git a/.github/workflows/run-pytest.yml b/.github/workflows/run-pytest.yml index e5ba414..b273c92 100644 --- a/.github/workflows/run-pytest.yml +++ b/.github/workflows/run-pytest.yml @@ -16,7 +16,7 @@ concurrency: cancel-in-progress: true jobs: test: - name: test (${{ matrix.os }}, ${{ matrix.python }}, ${{ matrix.dependencies }}) + name: test (${{ matrix.os }}, ${{ matrix.python }}) runs-on: ${{ matrix.os }} strategy: fail-fast: true @@ -24,21 +24,11 @@ jobs: os: [ubuntu-latest] python: ['3.9', '3.10', '3.11', '3.12'] include: - # Defaults to newest dependencies - - dependencies: 'newest' # Other tests - - os: 'ubuntu-latest' - python: '3.9' - dependencies: 'oldest' - - os: 'macos-latest' - python: '3.9' - dependencies: 'oldest' - os: 'macos-latest' python: '3.9' - dependencies: 'newest' - os: 'macos-latest' python: '3.12' - dependencies: 'newest' steps: - uses: actions/checkout@v4 with: @@ -50,14 +40,9 @@ jobs: - name: Update pip/build packages run: | pip install setuptools --upgrade - - name: Install newest dependencies + - name: Install dependencies run: | pip install -r .github/workflows/requirements-test.txt - if: ${{ matrix.dependencies == 'newest' }} - - name: Install oldest dependencies - run: | - pip install -r .github/workflows/ci-oldest-reqs.txt - if: ${{ matrix.dependencies == 'oldest' }} - name: Install the package run: | pip install -e .