File tree Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Expand file tree Collapse file tree 5 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 40
40
- name : Base Setup
41
41
uses : jupyterlab/maintainer-tools/.github/actions/base-setup@v1
42
42
with :
43
- python_version : " 3.10 "
43
+ python_version : " 3.11 "
44
44
45
45
- name : Install the package
46
46
run : |
@@ -89,11 +89,11 @@ jobs:
89
89
fail-fast : false
90
90
matrix :
91
91
os : [ubuntu-latest, macos-latest, windows-latest]
92
- python : ['3.7', '3.10 ']
92
+ python : ['3.7', '3.11 ']
93
93
include :
94
94
- python : ' 3.7'
95
95
dist : ' notebook*.tar.gz'
96
- - python : ' 3.10 '
96
+ - python : ' 3.11 '
97
97
dist : ' notebook*.whl'
98
98
- os : windows-latest
99
99
py_cmd : python
Original file line number Diff line number Diff line change 22
22
micromamba activate
23
23
EOT
24
24
source /workspace/bin/activate-env.sh
25
- micromamba install -n base -y -c conda-forge python=3.10 nodejs=14 yarn
25
+ micromamba install -n base -y -c conda-forge python=3.11 nodejs=14 yarn
26
26
python -m pip install -e ".[dev,test]" && jlpm && jlpm run build && jlpm develop
27
27
gp sync-done setup
28
28
command : |
Original file line number Diff line number Diff line change @@ -9,5 +9,5 @@ dependencies:
9
9
- matplotlib
10
10
- numpy
11
11
- nodejs
12
- - python >=3.9 ,<3.10
12
+ - python >=3.10 ,<3.11
13
13
- xeus-python
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ classifiers = [
27
27
" Programming Language :: Python :: 3.8" ,
28
28
" Programming Language :: Python :: 3.9" ,
29
29
" Programming Language :: Python :: 3.10" ,
30
+ " Programming Language :: Python :: 3.11" ,
30
31
]
31
32
dependencies = [
32
33
" jupyter_server>=1.16.0,<2" ,
Original file line number Diff line number Diff line change 3
3
import os
4
4
import os .path as osp
5
5
import shutil
6
- from importlib .resources import path
6
+ from importlib .resources import files
7
7
from os .path import join as pjoin
8
8
9
9
import pytest
@@ -51,7 +51,7 @@ def _make_notebook_app(**kwargs):
51
51
)
52
52
53
53
# Copy the template files.
54
- for html_path in glob .glob (f" { path ( ' notebook' , ' templates' ) } / *.html" ):
54
+ for html_path in glob .glob (str ( files ( " notebook. templates" ). joinpath ( " *.html")) ):
55
55
shutil .copy (html_path , jp_template_dir )
56
56
57
57
# Create the index file.
@@ -88,7 +88,7 @@ def _make_notebook_app(**kwargs):
88
88
)
89
89
90
90
# Copy the schema files.
91
- test_data = str (path ("jupyterlab_server" , "test_data " ))
91
+ test_data = str (files ("jupyterlab_server.test_data" ). joinpath ( " " ))
92
92
src = pjoin (test_data , "schemas" , "@jupyterlab" )
93
93
dst = pjoin (str (schemas_dir ), "@jupyterlab" )
94
94
if os .path .exists (dst ):
You can’t perform that action at this time.
0 commit comments