mirror of
https://github.com/jupyter/notebook.git
synced 2024-11-21 01:11:21 +08:00
fixes
This commit is contained in:
parent
aaaac25fc1
commit
7c7d400535
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -63,6 +63,9 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
||||
- run: |
|
||||
# pandoc is not up to date in the ubuntu repos, so we install directly
|
||||
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
|
||||
- run: hatch run docs:build
|
||||
|
||||
test_minimum_versions:
|
||||
@ -73,7 +76,7 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@v1
|
||||
with:
|
||||
python_version: "3.8"
|
||||
python_version: "3.7"
|
||||
- uses: jupyterlab/maintainer-tools/.github/actions/install-minimums@v1
|
||||
with:
|
||||
only_create_file: 1
|
||||
|
@ -31,6 +31,7 @@ classifiers = [
|
||||
]
|
||||
dependencies = [
|
||||
"jupyter_server>=1.16.0,<2",
|
||||
"importlib-resources>=1.4;python_version<\"3.9\"",
|
||||
"jupyterlab>=4.0.0a30,<5",
|
||||
"jupyterlab_server>=2.13,<3",
|
||||
"notebook_shim>=0.1,<0.2",
|
||||
|
@ -4,7 +4,11 @@ import os
|
||||
import os.path as osp
|
||||
import pathlib
|
||||
import shutil
|
||||
from importlib.resources import files
|
||||
|
||||
try:
|
||||
from importlib.resources import files
|
||||
except ImportError:
|
||||
from importlib_resources import files
|
||||
|
||||
import pytest
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user