diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bf110aa..32483f9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/nbclient/tests/files/Other Comms.ipynb b/nbclient/tests/files/Other Comms.ipynb index d945619..b454011 100644 --- a/nbclient/tests/files/Other Comms.ipynb +++ b/nbclient/tests/files/Other Comms.ipynb @@ -11,7 +11,7 @@ }, "outputs": [], "source": [ - "from ipykernel.comm import Comm" + "from comm import create_comm" ] }, { @@ -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'})" ] }, { diff --git a/pyproject.toml b/pyproject.toml index a554d6a..3a15847 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = "jupyter@googlegroups.com" }, ] @@ -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", @@ -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",