From e5936103333f090b4b5975947bcab68a876f41eb Mon Sep 17 00:00:00 2001 From: Brett Date: Sat, 9 Mar 2024 10:38:52 -0500 Subject: [PATCH] pin pytest for gwcs tests to deal with doctestplus issue --- .github/workflows/ci.yml | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c92779..7ed88e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -96,6 +96,8 @@ jobs: python-version: 3.9 - name: Install asdf-wcs-schemas run: cd asdf-wcs-schemas && pip install . + - name: Install older pytest + run: pip install "pytest<8.1" - name: Install gwcs run: cd gwcs && pip install -e .[test] - name: Pip Freeze diff --git a/pyproject.toml b/pyproject.toml index c32db1d..9e5fad5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ docs = [ 'sphinx-rtd-theme', ] test = [ - 'pytest >= 4.6.0', + 'pytest >= 4.6.0, <= 8.1', 'asdf >= 2.8.0', 'asdf-astropy', ]