From 79ea60e697974a07d1b26194662ccde2aedeaee5 Mon Sep 17 00:00:00 2001 From: mmcky Date: Mon, 9 Sep 2024 11:29:13 +1000 Subject: [PATCH] update pytest pins --- .github/workflows/tests.yml | 6 +++--- pyproject.toml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1e6d1b6..ca4f636 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest] - python-version: ["3.9", "3.10", "3.11"] + python-version: ["3.11"] # Only test the latest major release of Sphinx because otherwise we need to # keep multiple versions of regression tests on file and this creates lots of # noise in the tests. @@ -51,7 +51,7 @@ jobs: pytest --durations=10 --cov=quantecon_book_theme --cov-report=xml --cov-report=term-missing - name: Upload to Codecov - if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9 && github.repository == 'QuantEcon/quantecon-book-theme' && github.event_name == 'pull_request' + if: matrix.os == 'ubuntu-latest' && matrix.python-version == 3.11 && github.repository == 'QuantEcon/quantecon-book-theme' && github.event_name == 'pull_request' uses: codecov/codecov-action@v3.1.4 with: name: ebp-qbt-pytests-py3.7 @@ -70,7 +70,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v4 with: - python-version: "3.10" + python-version: "3.11" - name: Build package run: | python -m pip install -U pip build diff --git a/pyproject.toml b/pyproject.toml index e92c4f1..0fe6707 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,11 +70,11 @@ doc = [ test = [ "myst_nb", "coverage", - "pytest~=7.1", + "pytest", "pytest-cov", "beautifulsoup4", "sphinx_thebe", - "pytest-regressions~=2.0.1", + "pytest-regressions", "sphinx_copybutton", "sphinx_togglebutton", ]