Skip to content

Commit

Permalink
Merge pull request #307 from blink1073/fix-version-37
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored Sep 24, 2022
2 parents 0201f8b + 9caa2f3 commit 2bc241c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 26 deletions.
3 changes: 1 addition & 2 deletions nbformat/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
try:
from importlib.metadata import version
except ImportError:
# Not available until Python 3.8
version = lambda _: "0.0.0" # noqa
from importlib_metadata import version # type:ignore

__version__ = version("nbformat")

Expand Down
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
{
"name": "nbformat-schema",
"version": "5.7.0-b0",
"description": "JSON schemata for Jupyter notebook formats",
"main": "index.js",
"files": [
"nbformat/v3/nbformat.v3.schema.json",
"nbformat/v4/nbformat.v4.schema.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jupyter/nbformat.git"
},
"keywords": [
"jupyter",
"notebook",
"json-schema"
],
"author": "Project Jupyter Contributors",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/jupyter/nbformat/issues"
},
"homepage": "https://nbformat.readthedocs.io"
}
"name": "nbformat-schema",
"version": "5.7.0-b0",
"description": "JSON schemata for Jupyter notebook formats",
"main": "index.js",
"files": [
"nbformat/v3/nbformat.v3.schema.json",
"nbformat/v4/nbformat.v4.schema.json"
],
"repository": {
"type": "git",
"url": "git+https://github.com/jupyter/nbformat.git"
},
"keywords": [
"jupyter",
"notebook",
"json-schema"
],
"author": "Project Jupyter Contributors",
"license": "BSD-3-Clause",
"bugs": {
"url": "https://github.com/jupyter/nbformat/issues"
},
"homepage": "https://nbformat.readthedocs.io"
}
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies = [
"jsonschema>=2.6",
"jupyter_core",
"traitlets>=5.1",
"importlib-metadata>=3.6;python_version<\"3.8\"",
]

[[project.authors]]
Expand Down

0 comments on commit 2bc241c

Please sign in to comment.