Skip to content

Commit 7c7d400

Browse files
committed
fixes
1 parent aaaac25 commit 7c7d400

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
steps:
6464
- uses: actions/checkout@v3
6565
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
66+
- run: |
67+
# pandoc is not up to date in the ubuntu repos, so we install directly
68+
wget https://github.com/jgm/pandoc/releases/download/2.14.2/pandoc-2.14.2-1-amd64.deb && sudo dpkg -i pandoc-2.14.2-1-amd64.deb
6669
- run: hatch run docs:build
6770

6871
test_minimum_versions:
@@ -73,7 +76,7 @@ jobs:
7376
- uses: actions/checkout@v3
7477
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
7578
with:
76-
python_version: "3.8"
79+
python_version: "3.7"
7780
- uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
7881
with:
7982
only_create_file: 1

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ classifiers = [
3131
]
3232
dependencies = [
3333
"jupyter_server>=1.16.0,<2",
34+
"importlib-resources>=1.4;python_version<\"3.9\"",
3435
"jupyterlab>=4.0.0a30,<5",
3536
"jupyterlab_server>=2.13,<3",
3637
"notebook_shim>=0.1,<0.2",

tests/conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
import os.path as osp
55
import pathlib
66
import shutil
7-
from importlib.resources import files
7+
8+
try:
9+
from importlib.resources import files
10+
except ImportError:
11+
from importlib_resources import files
812

913
import pytest
1014

0 commit comments

Comments
 (0)