From a35e3703fc1239648aa8eb01460c7430de89b72a Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Thu, 27 Jun 2024 11:20:14 +0100 Subject: [PATCH 1/3] ci: fix specs for dependencies --- .github/workflows/tests.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7109e7d5..a54a09fd 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,28 +27,28 @@ jobs: matrix: os: [ubuntu-latest] python-version: ["3.9", "3.10", "3.11", "3.12"] - sphinx: [">=5.0,<=7.*"] # Newest Sphinx (any) - myst-parser: [">=1.0.0,<=2.*"] # Newest MyST Parser (any) + sphinx: [">=5,<8"] # Newest Sphinx (any) + myst-parser: [">=1,<3"] # Newest MyST Parser (any) include: # Just check the other platforms once - os: windows-latest python-version: "3.10" sphinx: "~=7.0" - myst-parser: ">=2.0" + myst-parser: "~=2.0" - os: macos-latest python-version: "3.10" sphinx: "~=7.0" - myst-parser: ">=2.0" + myst-parser: "~=2.0" # Oldest known-compatible dependencies - os: ubuntu-latest python-version: "3.9" - sphinx: "~=5.0" - myst-parser: "~=1.0.0" + sphinx: "==5.0.0" + myst-parser: "==1.0.0" # Newest known-compatible dependencies - os: ubuntu-latest python-version: "3.12" - sphinx: "~=7.0" - myst-parser: "~=2.0.0" + sphinx: "==7.0.0" + myst-parser: "==2.0.0" runs-on: ${{ matrix.os }} From 411392833616a156eda06f4cb295775964420329 Mon Sep 17 00:00:00 2001 From: Angus Hollands Date: Thu, 27 Jun 2024 11:21:18 +0100 Subject: [PATCH 2/3] chore: disable codecov upload for now --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a54a09fd..2d28ee39 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -90,9 +90,11 @@ jobs: run: coverage xml # for some reason the tests/conftest.py::check_nbs fixture breaks pytest-cov's cov-report outputting # this is why we run `coverage xml` afterwards (required by codecov) - + + # TEMPORARY FIX: Disable codecov until we can get it working again - name: Upload to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v3.1.4 + if: false with: name: myst-nb-pytests flags: pytests From bb677890636ee56148b4d99c72bf74743c03f300 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 27 Jun 2024 10:22:33 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d28ee39..031e9c24 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -90,7 +90,7 @@ jobs: run: coverage xml # for some reason the tests/conftest.py::check_nbs fixture breaks pytest-cov's cov-report outputting # this is why we run `coverage xml` afterwards (required by codecov) - + # TEMPORARY FIX: Disable codecov until we can get it working again - name: Upload to Codecov uses: codecov/codecov-action@v3.1.4