Skip to content

Commit a4814ec

Browse files
authored
maint: remove caps & bump Python for SPEC 0 (#111)
* chore: remove caps, bump Python minimum version * ci: update test matrix
1 parent 3ef20cb commit a4814ec

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
os: [ubuntu-latest]
30-
python-version: ["3.8", "3.9", "3.10", "3.11"]
30+
python-version: ["3.9", "3.10", "3.11", "3.12"]
3131
include:
3232
- os: windows-latest
3333
python-version: "3.9"
@@ -51,10 +51,10 @@ 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' && matrix.os == 'ubuntu-latest'
54+
if: github.repository == 'executablebooks/jupyter-cache' && matrix.python-version == '3.10' && matrix.os == 'ubuntu-latest'
5555
uses: codecov/codecov-action@v3
5656
with:
57-
name: jupyter-cache-pytests-py3.7
57+
name: jupyter-cache-pytests-py3.10
5858
flags: pytests
5959
file: ./coverage.xml
6060
fail_ci_if_error: true
@@ -68,10 +68,10 @@ jobs:
6868
steps:
6969
- name: Checkout source
7070
uses: actions/checkout@v3
71-
- name: Set up Python 3.9
71+
- name: Set up Python
7272
uses: actions/setup-python@v4
7373
with:
74-
python-version: "3.9"
74+
python-version: "3.10"
7575
- name: install flit
7676
run: |
7777
pip install flit~=3.4

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@ classifiers = [
1515
"Intended Audience :: Developers",
1616
"License :: OSI Approved :: MIT License",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
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.8"
26+
requires-python = ">=3.9"
2727
dependencies = [
2828
"attrs",
2929
"click",
3030
"importlib-metadata",
31-
"nbclient>=0.2,<0.8",
31+
"nbclient>=0.2",
3232
"nbformat",
3333
"pyyaml",
3434
"sqlalchemy>=1.3.12,<3",
@@ -51,7 +51,7 @@ jupytext = "jupyter_cache.readers:jupytext_reader"
5151

5252
[project.optional-dependencies]
5353
cli = ["click-log"]
54-
code_style = ["pre-commit>=2.12,<4.0"]
54+
code_style = ["pre-commit>=2.12"]
5555
rtd = [
5656
"nbdime",
5757
"ipykernel",

0 commit comments

Comments
 (0)