From a932795839c9dc83dac45be23745cd811e391e8b Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 5 Apr 2024 06:50:07 -0500 Subject: [PATCH 1/3] Fix min dep test --- .github/workflows/main.yml | 4 +--- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65fcc46..839050a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -57,9 +57,7 @@ jobs: - name: Base Setup uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1 with: - python_version: "3.8" - - name: Install miniumum versions - uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1 + dependency_type: minimum - name: Run the unit tests run: | python -m pytest -vv || python -m pytest -vv --lf diff --git a/pyproject.toml b/pyproject.toml index e765002..27cb72f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,7 @@ classifiers = [ ] requires-python = ">=3.8" dependencies = [ - "packaging", + "packaging>=22.0", "tomlkit", "setuptools>=60.2.0", "wheel", From c5b37c8de6860f53f30b85ebfd095be4183ba5ec Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 5 Apr 2024 06:51:02 -0500 Subject: [PATCH 2/3] set more min versions --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 27cb72f..b6739fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,10 +20,10 @@ classifiers = [ requires-python = ">=3.8" dependencies = [ "packaging>=22.0", - "tomlkit", + "tomlkit>=0.12.1", "setuptools>=60.2.0", - "wheel", - "deprecation", + "wheel>=0.41.1", + "deprecation>=2.1.0", ] [project.readme] From ab3c3154e9278114e1e4c1b8a79ad3b49ef9e2b8 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 5 Apr 2024 07:43:36 -0500 Subject: [PATCH 3/3] fix test --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 839050a..2ec12cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,6 +60,7 @@ jobs: dependency_type: minimum - name: Run the unit tests run: | + python -m pip install ".[test]" python -m pytest -vv || python -m pytest -vv --lf test_prereleases: