From dc9db7442928d2c9331d28a6434b9b33034babb9 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Mon, 20 Oct 2025 11:56:00 -1000 Subject: [PATCH 1/2] * Add testsing dependencies. --- CHANGELOG.md | 2 +- pyproject.toml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d3cc21..b0d106e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## UNRELEASED +## 0.2.2 (2025-10-20) - Modernize the repo to use `pyproject.toml`. - Update docs. diff --git a/pyproject.toml b/pyproject.toml index 8a45a39..ac9d616 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,6 +36,16 @@ dependencies = [ ] dynamic = ["version"] +[project.optional-dependencies] +testing = [ + "coverage", + "pycodestyle", + "pytest", + "pytest-cov", + "pytest-doctestplus", + "tox", +] + [project.urls] Documentation = "https://projectpanoptes.org/" Source = "https://github.com/panoptes/panoptes-data/" From 69ca4aac8943bd3c5173f86b13d10c50eef7f007 Mon Sep 17 00:00:00 2001 From: Wilfred Tyler Gee Date: Mon, 20 Oct 2025 12:00:15 -1000 Subject: [PATCH 2/2] Update pyproject.toml Specify testing dependency versions Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- pyproject.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ac9d616..77ff31f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,12 +38,12 @@ dynamic = ["version"] [project.optional-dependencies] testing = [ - "coverage", - "pycodestyle", - "pytest", - "pytest-cov", - "pytest-doctestplus", - "tox", + "coverage>=7.0,<8.0", + "pycodestyle>=2.10,<3.0", + "pytest>=7.0,<8.0", + "pytest-cov>=4.0,<5.0", + "pytest-doctestplus>=1.0,<2.0", + "tox>=4.0,<5.0", ] [project.urls]