Skip to content

Commit 2b13ee3

Browse files
authored
UPDATE: Drop Python 3.7, add Python 3.11, unpin myst-nb in docs (#96)
1 parent 73817a4 commit 2b13ee3

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/tests.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v3
18-
- name: Set up Python 3.8
18+
- name: Set up Python 3.9
1919
uses: actions/setup-python@v4
2020
with:
21-
python-version: "3.8"
21+
python-version: "3.9"
2222
- uses: pre-commit/action@v3.0.0
2323

2424
tests:
@@ -27,10 +27,10 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: [ubuntu-latest]
30-
python-version: ["3.7", "3.8", "3.9", "3.10"]
30+
python-version: ["3.8", "3.9", "3.10", "3.11"]
3131
include:
3232
- os: windows-latest
33-
python-version: "3.8"
33+
python-version: "3.9"
3434

3535
runs-on: ${{ matrix.os }}
3636

@@ -51,7 +51,7 @@ jobs:
5151
# for some reason the tests/conftest.py::check_nbs fixture breaks pytest-cov's cov-report outputting
5252
# this is why we run `coverage xml` afterwards (required by codecov)
5353
- name: Upload to Codecov
54-
if: github.repository == 'executablebooks/jupyter-cache' && matrix.python-version == '3.9'
54+
if: github.repository == 'executablebooks/jupyter-cache' && matrix.python-version == '3.9' && matrix.os == 'ubuntu-latest'
5555
uses: codecov/codecov-action@v3
5656
with:
5757
name: jupyter-cache-pytests-py3.7
@@ -68,10 +68,10 @@ jobs:
6868
steps:
6969
- name: Checkout source
7070
uses: actions/checkout@v3
71-
- name: Set up Python 3.8
71+
- name: Set up Python 3.9
7272
uses: actions/setup-python@v4
7373
with:
74-
python-version: "3.8"
74+
python-version: "3.9"
7575
- name: install flit
7676
run: |
7777
pip install flit~=3.4

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ classifiers = [
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: MIT License",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.7",
1918
"Programming Language :: Python :: 3.8",
2019
"Programming Language :: Python :: 3.9",
2120
"Programming Language :: Python :: 3.10",
21+
"Programming Language :: Python :: 3.11",
2222
"Programming Language :: Python :: Implementation :: CPython",
2323
"Topic :: Software Development :: Libraries :: Python Modules",
2424
]
2525
keywords = ["sphinx extension material design web components"]
26-
requires-python = "~=3.7"
26+
requires-python = "~=3.8"
2727
dependencies = [
2828
"attrs",
2929
"click",
@@ -56,7 +56,7 @@ rtd = [
5656
"nbdime",
5757
"ipykernel",
5858
"jupytext",
59-
"myst-nb @ git+https://github.com/executablebooks/MyST-NB.git",
59+
"myst-nb",
6060
"sphinx-book-theme",
6161
"sphinx-copybutton",
6262
]

0 commit comments

Comments
 (0)