Skip to content

Commit

Permalink
Update example notebook (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 authored May 19, 2023
1 parent 5d0e9d4 commit cb7b4f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [ '3.7', '3.8', '3.9', '3.10', "3.11" ]
python-version: [ '3.8', '3.9', '3.10', "3.11" ]
exclude:
- os: windows-latest
python-version: 3.8
Expand Down
4 changes: 2 additions & 2 deletions nbclient/tests/files/Other Comms.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"outputs": [],
"source": [
"from ipykernel.comm import Comm"
"from comm import create_comm"
]
},
{
Expand All @@ -25,7 +25,7 @@
},
"outputs": [],
"source": [
"comm = Comm('this-comm-tests-a-missing-handler', data={'id': 'foo'})"
"comm = create_comm('this-comm-tests-a-missing-handler', data={'id': 'foo'})"
]
},
{
Expand Down
7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dynamic = [
description = "A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor."
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.7.0"
requires-python = ">=3.8.0"
authors = [
{ name = "Jupyter Development Team", email = "[email protected]" },
]
Expand All @@ -29,7 +29,6 @@ classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -39,13 +38,13 @@ dependencies = [
"jupyter_client>=6.1.12",
"jupyter_core>=4.12,!=5.0.*",
"nbformat>=5.1",
"traitlets>=5.3",
"traitlets>=5.4",
]

[project.optional-dependencies]
test = [
"flaky",
"ipykernel",
"ipykernel>=6.19.3",
"ipython",
"ipywidgets",
"nbconvert>=7.0.0",
Expand Down

0 comments on commit cb7b4f7

Please sign in to comment.