1
1
[build-system ]
2
2
requires = [
3
- " hatchling" ,
4
- " jupyterlab~=3.0" ,
3
+ " hatchling>=1.5.0" ,
4
+ " jupyterlab>=4.0,<5" ,
5
+ " pip" ,
5
6
]
6
7
build-backend = " hatchling.build"
7
8
@@ -21,7 +22,7 @@ keywords = [
21
22
classifiers = [
22
23
" Framework :: Jupyter" ,
23
24
" Framework :: Jupyter :: JupyterLab" ,
24
- " Framework :: Jupyter :: JupyterLab :: 3 " ,
25
+ " Framework :: Jupyter :: JupyterLab :: 4 " ,
25
26
" Framework :: Jupyter :: JupyterLab :: Extensions" ,
26
27
" Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt" ,
27
28
" Intended Audience :: Developers" ,
@@ -36,7 +37,7 @@ classifiers = [
36
37
" Programming Language :: Python :: 3.11" ,
37
38
]
38
39
dependencies = [
39
- " jupyter_server>=1 .0" ,
40
+ " jupyter_server>=2 .0" ,
40
41
" prometheus_client" ,
41
42
" psutil~=5.6" ,
42
43
" pyzmq>=19" ,
@@ -61,8 +62,7 @@ Homepage = "https://github.com/jupyter-server/jupyter-resource-usage"
61
62
62
63
[tool .hatch .build .targets .wheel .shared-data ]
63
64
"jupyter_resource_usage/static" = " share/jupyter/nbextensions/jupyter_resource_usage"
64
- "jupyter_resource_usage/labextension/package.json" = " share/jupyter/labextensions/@jupyter-server/resource-usage/package.json"
65
- "jupyter_resource_usage/labextension/static" = " share/jupyter/labextensions/@jupyter-server/resource-usage/static"
65
+ "jupyter_resource_usage/labextension" = " share/jupyter/labextensions/@jupyter-server/resource-usage"
66
66
"install.json" = " share/jupyter/labextensions/@jupyter-server/resource-usage/install.json"
67
67
"jupyter-config/jupyter_server_config.d" = " etc/jupyter/jupyter_server_config.d"
68
68
"jupyter-config/jupyter_notebook_config.d" = " etc/jupyter/jupyter_notebook_config.d"
@@ -88,20 +88,17 @@ skip-if-exists = [
88
88
" jupyter_resource_usage/labextension/static/style.js" ,
89
89
]
90
90
91
- [tool .hatch .build .hooks .jupyter-builder .editable- build-kwargs ]
91
+ [tool .hatch .build .hooks .jupyter-builder .build-kwargs ]
92
92
build_cmd = " build:prod"
93
93
npm = [
94
94
" jlpm" ,
95
95
]
96
- force = true
97
96
98
- [tool .hatch .build .hooks .jupyter-builder .build-kwargs ]
99
- build_cmd = " build:prod "
97
+ [tool .hatch .build .hooks .jupyter-builder .editable- build-kwargs ]
98
+ build_cmd = " build"
100
99
npm = [
101
100
" jlpm" ,
102
101
]
103
- source_dir = " packages/labextension"
104
- build_dir = " jupyter_resource_usage/labextension"
105
102
106
103
[tool .tbump .version ]
107
104
current = " 0.7.2"
@@ -130,7 +127,7 @@ default = ""
130
127
131
128
[tool .jupyter-releaser .hooks ]
132
129
before-build-npm = [
133
- " python -m pip install jupyterlab~=3 .0" ,
130
+ " python -m pip install jupyterlab~=4 .0" ,
134
131
" jlpm" ,
135
132
" jlpm clean" ,
136
133
" jlpm build:prod" ,
0 commit comments