diff --git a/.changeset/great-trainers-fetch.md b/.changeset/great-trainers-fetch.md new file mode 100644 index 00000000..bde01ad9 --- /dev/null +++ b/.changeset/great-trainers-fetch.md @@ -0,0 +1,5 @@ +--- +"anywidget": patch +--- + +fix: add `watchfiles` as a directy dependency diff --git a/README.md b/README.md index 91732ca8..1b988369 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Learn more in may be installed with `pip`: ```bash -pip install "anywidget[dev]" +pip install anywidget ``` It is also available on diff --git a/docs/src/pages/blog/anywidget-02.md b/docs/src/pages/blog/anywidget-02.md index cd12eec1..c21f2add 100644 --- a/docs/src/pages/blog/anywidget-02.md +++ b/docs/src/pages/blog/anywidget-02.md @@ -13,7 +13,7 @@ _TL;DR: **anywidget** v0.2 brings modern web development to Jupyter. You can now use a **file path** to enable **anywidget**'s integrated Hot Module Replacement (HMR):_ ```sh -pip install --upgrade "anywidget[dev]" +pip install --upgrade anywidget ``` ```python @@ -193,7 +193,7 @@ to allow for the special JSX syntax (e.g., ``). To start using **anywidget** v0.2, upgrade your package using pip: ```sh -pip install --upgrade "anywidget[dev]" +pip install --upgrade anywidget ``` I encourage you to explore the new features in **anywidget** v0.2 and experience the diff --git a/docs/src/pages/en/getting-started.mdx b/docs/src/pages/en/getting-started.mdx index 7d20b0a6..c1d7bcea 100644 --- a/docs/src/pages/en/getting-started.mdx +++ b/docs/src/pages/en/getting-started.mdx @@ -28,7 +28,7 @@ ecosystem, allowing your widget to run automatically in **Jupyter Notebooks**, ## Example ``` -pip install "anywidget[dev]" +pip install anywidget ``` ```python diff --git a/pyproject.toml b/pyproject.toml index f502521b..4fffb81b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,6 +17,7 @@ dependencies = [ "importlib-metadata ; python_version < '3.8'", "typing-extensions>=4.2.0", "psygnal>=0.8.1", + "watchfiles>=0.18.0", ] [project.optional-dependencies] @@ -28,7 +29,6 @@ test = [ "ruff", ] dev = [ - "watchfiles", "ipykernel", ]