Skip to content

Commit 0c50da9

Browse files
committed
CI: adding back sphinx9 testing
1 parent b2b5e12 commit 0c50da9

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest]
22-
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
23-
sphinx: ["~=8.0"] # temporary limit, bring it back to newest sphinx once we are sphinx9 compatible
22+
python-version: ["3.11", "3.12", "3.13", "3.14"]
23+
sphinx: [""] # Newest Sphinx
2424
myst-parser: [""] # Newest MyST Parser (any)
2525
include:
2626
# Just check the other platforms once
@@ -53,9 +53,9 @@ jobs:
5353
pillow: "==11.0.0"
5454
# Newest known-compatible dependencies
5555
- os: ubuntu-latest
56-
python-version: "3.13"
57-
sphinx: "~=8.0"
58-
myst-parser: "==4.0.0"
56+
python-version: "3.14"
57+
sphinx: "~=9.0"
58+
myst-parser: "~=5.0"
5959
pillow: "==11.0.0"
6060

6161
runs-on: ${{ matrix.os }}
@@ -79,7 +79,7 @@ jobs:
7979

8080
publish:
8181

82-
name: Publish to PyPi
82+
name: Publish to PyPI
8383
needs: [tests]
8484
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
8585
runs-on: ubuntu-latest

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ dependencies = [
4343
"myst-parser>=1.0.0",
4444
"nbformat>=5.0",
4545
"pyyaml",
46-
"sphinx>=5,<9", # If we get bugs for older versions, just pin this higher
46+
"sphinx>=5", # If we get bugs for older versions, just pin this higher
4747
"typing-extensions",
4848
# ipykernel is not a requirement of the library,
4949
# but is a common requirement for users (registers the python3 kernel)
@@ -175,8 +175,8 @@ filterwarnings = [
175175
'ignore:datetime.datetime.utcnow\(\) is deprecated:DeprecationWarning:jupyter_cache',
176176
# From matplotlib’s dependencies
177177
'ignore::DeprecationWarning:pyparsing', # imports deprecated `sre_constants`
178-
# From myst-parser on Sphinx 9
179-
'ignore:.*MystReferenceResolver.app.*:DeprecationWarning',
178+
# From myst-parser on Sphinx 9 we hit RemovedInSphinx11Warning
179+
'ignore:.*MystReferenceResolver.app.*',
180180
# Upstream myst-parser still hits env.app deprecations under Sphinx 9
181181
'ignore:.*env\\.app.*:DeprecationWarning:myst_parser',
182182
# Windows issues, some may need to be fixed in MyST-NB, others are upstream

0 commit comments

Comments
 (0)