From b19c3a961c79028d7c39a4f1ff1c2df991406d1d Mon Sep 17 00:00:00 2001 From: Jirka Borovec <6035284+Borda@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:09:04 +0100 Subject: [PATCH] ci: pin `pytest` for package doctests (#19567) --- .github/workflows/ci-pkg-install.yml | 2 +- requirements/doctests.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 requirements/doctests.txt diff --git a/.github/workflows/ci-pkg-install.yml b/.github/workflows/ci-pkg-install.yml index 20530be8b0..67a9b9f21b 100644 --- a/.github/workflows/ci-pkg-install.yml +++ b/.github/workflows/ci-pkg-install.yml @@ -115,7 +115,7 @@ jobs: done - name: Install pytest doctest extension run: | - pip install -q "pytest-doctestplus>=0.9.0" + pip install -q -r requirements/doctests.txt pip list - name: DocTest package diff --git a/requirements/doctests.txt b/requirements/doctests.txt new file mode 100644 index 0000000000..703f221660 --- /dev/null +++ b/requirements/doctests.txt @@ -0,0 +1,2 @@ +pytest ==7.4.0 +pytest-doctestplus ==1.0.0