File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44try :
55 from importlib .metadata import version
66except ImportError :
7- # Not available until Python 3.8
8- version = lambda _ : "0.0.0" # noqa
7+ from importlib_metadata import version # type:ignore
98
109__version__ = version ("nbformat" )
1110
Original file line number Diff line number Diff line change 11{
2- "name" : " nbformat-schema" ,
3- "version" : " 5.7.0-b0" ,
4- "description" : " JSON schemata for Jupyter notebook formats" ,
5- "main" : " index.js" ,
6- "files" : [
7- " nbformat/v3/nbformat.v3.schema.json" ,
8- " nbformat/v4/nbformat.v4.schema.json"
9- ],
10- "repository" : {
11- "type" : " git" ,
12- "url" : " git+https://github.com/jupyter/nbformat.git"
13- },
14- "keywords" : [
15- " jupyter" ,
16- " notebook" ,
17- " json-schema"
18- ],
19- "author" : " Project Jupyter Contributors" ,
20- "license" : " BSD-3-Clause" ,
21- "bugs" : {
22- "url" : " https://github.com/jupyter/nbformat/issues"
23- },
24- "homepage" : " https://nbformat.readthedocs.io"
25- }
2+ "name" : " nbformat-schema" ,
3+ "version" : " 5.7.0-b0" ,
4+ "description" : " JSON schemata for Jupyter notebook formats" ,
5+ "main" : " index.js" ,
6+ "files" : [
7+ " nbformat/v3/nbformat.v3.schema.json" ,
8+ " nbformat/v4/nbformat.v4.schema.json"
9+ ],
10+ "repository" : {
11+ "type" : " git" ,
12+ "url" : " git+https://github.com/jupyter/nbformat.git"
13+ },
14+ "keywords" : [
15+ " jupyter" ,
16+ " notebook" ,
17+ " json-schema"
18+ ],
19+ "author" : " Project Jupyter Contributors" ,
20+ "license" : " BSD-3-Clause" ,
21+ "bugs" : {
22+ "url" : " https://github.com/jupyter/nbformat/issues"
23+ },
24+ "homepage" : " https://nbformat.readthedocs.io"
25+ }
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ dependencies = [
2626 " jsonschema>=2.6" ,
2727 " jupyter_core" ,
2828 " traitlets>=5.1" ,
29+ " importlib-metadata>=3.6;python_version<\" 3.8\" " ,
2930]
3031
3132[[project .authors ]]
You can’t perform that action at this time.
0 commit comments