-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into handle-escape-less
- Loading branch information
Showing
545 changed files
with
160,753 additions
and
159,076 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,19 +29,20 @@ jobs: | |
ubuntu: | ||
runs-on: ubuntu-latest | ||
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}) | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
- "3.13" | ||
docutils: | ||
- "0.20" | ||
- "0.21" | ||
# include: | ||
# # test every supported Docutils version for the latest supported Python | ||
# - python: "3.12" | ||
# - python: "3.13" | ||
# docutils: "0.20" | ||
|
||
steps: | ||
|
@@ -72,28 +73,30 @@ jobs: | |
deadsnakes: | ||
runs-on: ubuntu-latest | ||
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}) | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- "3.13-dev" | ||
- "3.14" | ||
docutils: | ||
- "0.20" | ||
- "0.21" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python }} (deadsnakes) | ||
uses: deadsnakes/action@v3.1.0 | ||
uses: deadsnakes/action@v3.2.0 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
python-version: ${{ matrix.python }}-dev | ||
- name: Check Python version | ||
run: python --version --version | ||
- name: Install graphviz | ||
run: sudo apt-get install graphviz | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
sed -i 's/flit_core>=3.7/flit_core @ git+https:\/\/github.com\/pypa\/flit.git#subdirectory=flit_core/' pyproject.toml | ||
python -m pip install .[test] | ||
- name: Install Docutils ${{ matrix.docutils }} | ||
run: python -m pip install --upgrade "docutils~=${{ matrix.docutils }}.0" | ||
|
@@ -102,22 +105,20 @@ jobs: | |
env: | ||
PYTHONWARNINGS: "error" # treat all warnings as errors | ||
|
||
deadsnakes-free-threraded: | ||
free-threaded: | ||
runs-on: ubuntu-latest | ||
name: Python ${{ matrix.python }} (Docutils ${{ matrix.docutils }}; free-threaded) | ||
name: Python ${{ matrix.python }} (free-threaded) | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- "3.13-dev" | ||
docutils: | ||
- "0.20" | ||
- "0.21" | ||
- "3.13" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python }} (deadsnakes) | ||
uses: deadsnakes/action@v3.1.0 | ||
uses: deadsnakes/action@v3.2.0 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
nogil: true | ||
|
@@ -129,8 +130,40 @@ jobs: | |
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install .[test] | ||
- name: Install Docutils ${{ matrix.docutils }} | ||
run: python -m pip install --upgrade "docutils~=${{ matrix.docutils }}.0" | ||
# markupsafe._speedups has not declared that it can run safely without the GIL | ||
- name: Remove markupsafe._speedups | ||
run: rm -rf "$(python -c 'from markupsafe._speedups import __file__ as f; print(f)')" | ||
- name: Test with pytest | ||
run: python -m pytest -vv --durations 25 | ||
env: | ||
PYTHONWARNINGS: "error" # treat all warnings as errors | ||
|
||
deadsnakes-free-threaded: | ||
runs-on: ubuntu-latest | ||
name: Python ${{ matrix.python }} (free-threaded) | ||
timeout-minutes: 15 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python: | ||
- "3.14" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python }} (deadsnakes) | ||
uses: deadsnakes/[email protected] | ||
with: | ||
python-version: ${{ matrix.python }}-dev | ||
nogil: true | ||
- name: Check Python version | ||
run: python --version --version | ||
- name: Install graphviz | ||
run: sudo apt-get install graphviz | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
sed -i 's/flit_core>=3.7/flit_core @ git+https:\/\/github.com\/pypa\/flit.git#subdirectory=flit_core/' pyproject.toml | ||
python -m pip install .[test] | ||
# markupsafe._speedups has not declared that it can run safely without the GIL | ||
- name: Remove markupsafe._speedups | ||
run: rm -rf "$(python -c 'from markupsafe._speedups import __file__ as f; print(f)')" | ||
|
@@ -142,6 +175,7 @@ jobs: | |
windows: | ||
runs-on: windows-2019 | ||
name: Windows | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -167,6 +201,7 @@ jobs: | |
docutils-latest: | ||
runs-on: ubuntu-latest | ||
name: Docutils HEAD | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- name: Install epubcheck | ||
|
@@ -204,6 +239,7 @@ jobs: | |
oldest-supported: | ||
runs-on: ubuntu-latest | ||
name: Oldest supported | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -233,6 +269,7 @@ jobs: | |
latex: | ||
runs-on: ubuntu-latest | ||
name: LaTeX | ||
timeout-minutes: 15 | ||
container: | ||
image: ghcr.io/sphinx-doc/sphinx-ci | ||
|
||
|
@@ -262,6 +299,7 @@ jobs: | |
if: github.event_name == 'push' && github.repository_owner == 'sphinx-doc' | ||
runs-on: ubuntu-latest | ||
name: Coverage | ||
timeout-minutes: 15 | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.