-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
⬆️ Support python>=3.10, sphinx >=7,<9, docutils>=0.19,<0.22 (#952)
dropping support for lower versions
- Loading branch information
1 parent
d3d7fbb
commit 401e08c
Showing
30 changed files
with
175 additions
and
229 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,30 +14,32 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
python-version: "3.10" | ||
- uses: pre-commit/[email protected] | ||
|
||
tests: | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] | ||
sphinx: [">=7,<8"] | ||
python-version: ["3.10", "3.11", "3.12"] | ||
sphinx: [">=8,<9"] | ||
os: [ubuntu-latest] | ||
include: | ||
- os: ubuntu-latest | ||
python-version: "3.8" | ||
sphinx: ">=6,<7" | ||
python-version: "3.10" | ||
sphinx: ">=7,<8" | ||
- os: windows-latest | ||
python-version: "3.8" | ||
sphinx: ">=6,<7" | ||
python-version: "3.10" | ||
sphinx: ">=7,<8" | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
name: "pytest: py${{ matrix.python-version }}, sphinx${{ matrix.sphinx }}, on ${{ matrix.os }}" | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
|
@@ -53,7 +55,7 @@ jobs: | |
pytest --cov=myst_parser --cov-report=xml --cov-report=term-missing | ||
coverage xml | ||
- name: Upload to Codecov | ||
if: github.repository == 'executablebooks/MyST-Parser' && matrix.python-version == 3.8 && matrix.os == 'ubuntu-latest' | ||
if: github.repository == 'executablebooks/MyST-Parser' && matrix.python-version == 3.10 && matrix.os == 'ubuntu-latest' | ||
uses: codecov/codecov-action@v4 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
|
@@ -70,15 +72,15 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
docutils-version: ["0.18", "0.19", "0.20", "0.21"] | ||
docutils-version: ["0.19", "0.20", "0.21"] | ||
|
||
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.9 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.9" | ||
python-version: "3.10" | ||
- name: Install setup | ||
run: | | ||
python -m pip install --upgrade pip | ||
|
@@ -130,10 +132,10 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.8 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
python-version: "3.10" | ||
- name: install flit | ||
run: | | ||
pip install flit~=3.4 | ||
|
@@ -153,10 +155,10 @@ jobs: | |
steps: | ||
- name: Checkout source | ||
uses: actions/checkout@v4 | ||
- name: Set up Python 3.8 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.8" | ||
python-version: "3.10" | ||
- name: install flit and tomlkit | ||
run: | | ||
pip install flit~=3.4 tomlkit | ||
|
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ version: 2 | |
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.9" | ||
python: "3.10" | ||
|
||
python: | ||
install: | ||
|
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
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
Oops, something went wrong.