Skip to content

Commit

Permalink
feat: support notebook>=7,<8 (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: El De-dog-lo <[email protected]>
  • Loading branch information
fmrmf and fubuloubu authored Sep 7, 2023
1 parent ee72414 commit 2d0c52e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,17 @@ python3 setup.py install
## Quick Usage

Runs a notebook server:
`ape notebook`

```bash
ape notebook
```

`notebook >=7` has an outstanding issue at launch that can be [resolved](https://github.com/jupyter/notebook/issues/6974#issuecomment-1675394990)
by running in your environment

```bash
jupyter lab build
```

## Development

Expand Down
2 changes: 1 addition & 1 deletion ape_notebook/_cli.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from notebook.notebookapp import launch_new_instance # type: ignore
from notebook.app import launch_new_instance # type: ignore


# %%
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
url="https://github.com/ApeWorX/ape-notebook",
include_package_data=True,
install_requires=[
"notebook>=6.5.4,<7",
"notebook>=7.0.0,<8",
"click>=8.1.3",
"eth-ape>=0.6.0,<0.7",
],
Expand Down

0 comments on commit 2d0c52e

Please sign in to comment.