From 5d9a82552e04e40c6d7f88e2d1a9345187fab53f Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sat, 9 Nov 2024 21:37:37 +0100 Subject: [PATCH 1/3] remove not required dep on jupyter --- pyproject.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index f30571dcc..c53850a8a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,6 @@ test = [ "coverage[toml]>=6.2", "mypy>=0.960", "types-pytz>=2021.3.0", - "jupyter>=1.0.0", "hypothesis>=5.49.0", ] docs = [ From 8a1a1bb804cc913d6a936e46ff11c60ad242bcef Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sat, 9 Nov 2024 21:42:29 +0100 Subject: [PATCH 2/3] Add ipykernel as a docs dep so notebooks can be run in docs env --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index c53850a8a..df9d3dd71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,6 +50,7 @@ docs = [ "furo", "nbsphinx", "sphinx-jsonschema", + "ipykernel", ] From 57fefbbcb2dde722d2c92fe02e96649a0753bb9d Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Sat, 9 Nov 2024 21:43:43 +0100 Subject: [PATCH 3/3] Regenerate requirement.txt --- requirements.txt | 194 +++-------------------------------------------- 1 file changed, 11 insertions(+), 183 deletions(-) diff --git a/requirements.txt b/requirements.txt index 429ce3a32..07458f0bb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,29 +2,15 @@ # uv pip compile pyproject.toml --extra test --extra docs --output-file .\requirements.txt alabaster==1.0.0 # via sphinx -anyio==4.6.2.post1 - # via - # httpx - # jupyter-server -argon2-cffi==23.1.0 - # via jupyter-server -argon2-cffi-bindings==21.2.0 - # via argon2-cffi -arrow==1.3.0 - # via isoduration asttokens==2.4.1 # via stack-data -async-lru==2.0.4 - # via jupyterlab attrs==24.2.0 # via # hypothesis # jsonschema # referencing babel==2.16.0 - # via - # jupyterlab-server - # sphinx + # via sphinx beautifulsoup4==4.12.3 # via # furo @@ -32,12 +18,7 @@ beautifulsoup4==4.12.3 bleach==6.2.0 # via nbconvert certifi==2024.8.30 - # via - # httpcore - # httpx - # requests -cffi==1.17.1 - # via argon2-cffi-bindings + # via requests charset-normalizer==3.4.0 # via requests colorama==0.4.6 @@ -46,9 +27,7 @@ colorama==0.4.6 # pytest # sphinx comm==0.2.2 - # via - # ipykernel - # ipywidgets + # via ipykernel contourpy==1.3.0 # via matplotlib coverage==7.6.4 @@ -74,111 +53,46 @@ fastjsonschema==2.20.0 # via nbformat fonttools==4.54.1 # via matplotlib -fqdn==1.5.1 - # via jsonschema furo==2024.8.6 # via broadbean (pyproject.toml) -h11==0.14.0 - # via httpcore -httpcore==1.0.6 - # via httpx -httpx==0.27.2 - # via jupyterlab hypothesis==6.118.0 # via broadbean (pyproject.toml) idna==3.10 - # via - # anyio - # httpx - # jsonschema - # requests + # via requests imagesize==1.4.1 # via sphinx iniconfig==2.0.0 # via pytest ipykernel==6.29.5 - # via - # jupyter - # jupyter-console - # jupyterlab - # qtconsole + # via broadbean (pyproject.toml) ipython==8.29.0 - # via - # ipykernel - # ipywidgets - # jupyter-console -ipywidgets==8.1.5 - # via jupyter -isoduration==20.11.0 - # via jsonschema + # via ipykernel jedi==0.19.1 # via ipython jinja2==3.1.4 # via - # jupyter-server - # jupyterlab - # jupyterlab-server # nbconvert # nbsphinx # sphinx -json5==0.9.25 - # via jupyterlab-server jsonpointer==3.0.0 - # via - # jsonschema - # sphinx-jsonschema + # via sphinx-jsonschema jsonschema==4.23.0 - # via - # jupyter-events - # jupyterlab-server - # nbformat + # via nbformat jsonschema-specifications==2024.10.1 # via jsonschema -jupyter==1.1.1 - # via broadbean (pyproject.toml) jupyter-client==8.6.3 # via # ipykernel - # jupyter-console - # jupyter-server # nbclient - # qtconsole -jupyter-console==6.6.3 - # via jupyter jupyter-core==5.7.2 # via # ipykernel # jupyter-client - # jupyter-console - # jupyter-server - # jupyterlab # nbclient # nbconvert # nbformat - # qtconsole -jupyter-events==0.10.0 - # via jupyter-server -jupyter-lsp==2.2.5 - # via jupyterlab -jupyter-server==2.14.2 - # via - # jupyter-lsp - # jupyterlab - # jupyterlab-server - # notebook - # notebook-shim -jupyter-server-terminals==0.5.3 - # via jupyter-server -jupyterlab==4.2.5 - # via notebook jupyterlab-pygments==0.3.0 # via nbconvert -jupyterlab-server==2.27.3 - # via - # jupyterlab - # notebook -jupyterlab-widgets==3.0.13 - # via ipywidgets kiwisolver==1.4.7 # via matplotlib markupsafe==3.0.2 @@ -200,13 +114,9 @@ mypy-extensions==1.0.0 nbclient==0.10.0 # via nbconvert nbconvert==7.16.4 - # via - # jupyter - # jupyter-server - # nbsphinx + # via nbsphinx nbformat==5.10.4 # via - # jupyter-server # nbclient # nbconvert # nbsphinx @@ -214,30 +124,17 @@ nbsphinx==0.9.5 # via broadbean (pyproject.toml) nest-asyncio==1.6.0 # via ipykernel -notebook==7.2.2 - # via jupyter -notebook-shim==0.2.4 - # via - # jupyterlab - # notebook numpy==2.1.3 # via # broadbean (pyproject.toml) # contourpy # matplotlib -overrides==7.7.0 - # via jupyter-server packaging==24.2 # via # ipykernel - # jupyter-server - # jupyterlab - # jupyterlab-server # matplotlib # nbconvert # pytest - # qtconsole - # qtpy # sphinx # versioningit pandocfilters==1.5.1 @@ -250,25 +147,17 @@ platformdirs==4.3.6 # via jupyter-core pluggy==1.5.0 # via pytest -prometheus-client==0.21.0 - # via jupyter-server prompt-toolkit==3.0.48 - # via - # ipython - # jupyter-console + # via ipython psutil==6.1.0 # via ipykernel pure-eval==0.2.3 # via stack-data -pycparser==2.22 - # via cffi pygments==2.18.0 # via # furo # ipython - # jupyter-console # nbconvert - # qtconsole # sphinx pyparsing==3.2.0 # via matplotlib @@ -280,71 +169,34 @@ pytest-cov==6.0.0 # via broadbean (pyproject.toml) python-dateutil==2.9.0.post0 # via - # arrow # jupyter-client # matplotlib -python-json-logger==2.0.7 - # via jupyter-events pywin32==308 # via jupyter-core -pywinpty==2.0.14 - # via - # jupyter-server - # jupyter-server-terminals - # terminado pyyaml==6.0.2 - # via - # jupyter-events - # sphinx-jsonschema + # via sphinx-jsonschema pyzmq==26.2.0 # via # ipykernel # jupyter-client - # jupyter-console - # jupyter-server - # qtconsole -qtconsole==5.6.1 - # via jupyter -qtpy==2.4.2 - # via qtconsole referencing==0.35.1 # via # jsonschema # jsonschema-specifications - # jupyter-events requests==2.32.3 # via - # jupyterlab-server # sphinx # sphinx-jsonschema -rfc3339-validator==0.1.4 - # via - # jsonschema - # jupyter-events -rfc3986-validator==0.1.1 - # via - # jsonschema - # jupyter-events rpds-py==0.21.0 # via # jsonschema # referencing schema==0.7.7 # via broadbean (pyproject.toml) -send2trash==1.8.3 - # via jupyter-server -setuptools==75.3.0 - # via jupyterlab six==1.16.0 # via # asttokens - # bleach # python-dateutil - # rfc3339-validator -sniffio==1.3.1 - # via - # anyio - # httpx snowballstemmer==2.2.0 # via sphinx sortedcontainers==2.4.0 @@ -375,59 +227,35 @@ sphinxcontrib-serializinghtml==2.0.0 # via sphinx stack-data==0.6.3 # via ipython -terminado==0.18.1 - # via - # jupyter-server - # jupyter-server-terminals tinycss2==1.4.0 # via nbconvert tornado==6.4.1 # via # ipykernel # jupyter-client - # jupyter-server - # jupyterlab - # notebook - # terminado traitlets==5.14.3 # via # comm # ipykernel # ipython - # ipywidgets # jupyter-client - # jupyter-console # jupyter-core - # jupyter-events - # jupyter-server - # jupyterlab # matplotlib-inline # nbclient # nbconvert # nbformat # nbsphinx - # qtconsole -types-python-dateutil==2.9.0.20241003 - # via arrow types-pytz==2024.2.0.20241003 # via broadbean (pyproject.toml) typing-extensions==4.12.2 # via mypy -uri-template==1.3.0 - # via jsonschema urllib3==2.2.3 # via requests versioningit==3.1.2 # via broadbean (pyproject.toml) wcwidth==0.2.13 # via prompt-toolkit -webcolors==24.8.0 - # via jsonschema webencodings==0.5.1 # via # bleach # tinycss2 -websocket-client==1.8.0 - # via jupyter-server -widgetsnbextension==4.0.13 - # via ipywidgets