From 90dc7d4af29c0dc7214b8e9c064886448670f524 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Thu, 25 Aug 2022 08:09:09 -0700 Subject: [PATCH] Specify lower bounds on dependencies --- .github/workflows/test.yml | 1 + pyproject.toml | 15 ++++----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7f7c1d1..ee60845 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,6 +28,7 @@ jobs: run: | python -m pip install --upgrade pip pip install ".[test]" + pip install ".[lint]" - name: Lint run: pre-commit run --all-files --show-diff-on-failure --color always diff --git a/pyproject.toml b/pyproject.toml index 7e877c3..93f3b70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,27 +1,20 @@ [build-system] -requires = ["flit_core >=3.3,<4"] +requires = ["flit_core >=3.6,<4"] build-backend = "flit_core.buildapi" [project] name = "lazy_loader" version = "0.1rc2.dev0" requires-python = ">=3.8" -authors = [{name = "The Scientific Python Group"}] +authors = [{name = "Scientific Python Developers"}] readme = "README.md" license = {file = "LICENSE.md"} classifiers = ["License :: OSI Approved :: BSD License"] dynamic = ["description"] [project.optional-dependencies] -dev = [ - "flit" -] -test = [ - "pytest", - "black", - "pre-commit", - "flake8" -] +test = ["pytest >= 7"] +lint = ["pre-commit >= 2.20"] [project.urls] Home = "https://scientific-python.org/specs/spec-0001/"