From fa9ee817173246497d7a7b59991c9019969a9680 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Mon, 25 Nov 2024 09:21:33 +0100 Subject: [PATCH 1/3] Update dependencies --- requirements/base.txt | 12 ++++++------ requirements/ci.txt | 8 ++++---- requirements/dev.txt | 10 +++++----- requirements/docs.txt | 24 ++++++++++++------------ requirements/mypy.txt | 4 ++-- requirements/static.txt | 4 ++-- requirements/test.txt | 10 +++++----- requirements/wheels.txt | 4 ++-- 8 files changed, 38 insertions(+), 38 deletions(-) diff --git a/requirements/base.txt b/requirements/base.txt index d598a086..15f19cfd 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -7,9 +7,9 @@ # annotated-types==0.7.0 # via pydantic -anyio==4.6.0 +anyio==4.6.2.post1 # via httpx -bcrypt==4.2.0 +bcrypt==4.2.1 # via paramiko certifi==2024.8.30 # via @@ -19,7 +19,7 @@ cffi==1.17.1 # via # cryptography # pynacl -cryptography==43.0.1 +cryptography==43.0.3 # via paramiko dnspython==2.7.0 # via email-validator @@ -29,7 +29,7 @@ exceptiongroup==1.2.2 # via anyio h11==0.14.0 # via httpcore -httpcore==1.0.6 +httpcore==1.0.7 # via httpx httpx==0.27.2 # via -r base.in @@ -42,9 +42,9 @@ paramiko==3.5.0 # via -r base.in pycparser==2.22 # via cffi -pydantic==2.9.2 +pydantic==2.10.1 # via -r base.in -pydantic-core==2.23.4 +pydantic-core==2.27.1 # via pydantic pynacl==1.5.0 # via paramiko diff --git a/requirements/ci.txt b/requirements/ci.txt index 313d6640..d06d71a8 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -17,7 +17,7 @@ filelock==3.16.1 # via # tox # virtualenv -packaging==24.1 +packaging==24.2 # via # pyproject-api # tox @@ -29,13 +29,13 @@ pluggy==1.5.0 # via tox pyproject-api==1.8.0 # via tox -tomli==2.0.2 +tomli==2.1.0 # via # pyproject-api # tox -tox==4.21.2 +tox==4.23.2 # via -r ci.in typing-extensions==4.12.2 # via tox -virtualenv==20.26.6 +virtualenv==20.27.1 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index c97be5b3..24f2538a 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -28,7 +28,7 @@ fqdn==1.5.1 # via jsonschema isoduration==20.11.0 # via jsonschema -json5==0.9.25 +json5==0.9.28 # via jupyterlab-server jsonpointer==3.0.0 # via jsonschema @@ -49,7 +49,7 @@ jupyter-server==2.14.2 # notebook-shim jupyter-server-terminals==0.5.3 # via jupyter-server -jupyterlab==4.2.5 +jupyterlab==4.3.1 # via -r dev.in jupyterlab-server==2.27.3 # via jupyterlab @@ -73,7 +73,7 @@ rfc3986-validator==0.1.1 # via # jsonschema # jupyter-events -ruff==0.6.9 +ruff==0.8.0 # via -r dev.in send2trash==1.8.3 # via jupyter-server @@ -85,11 +85,11 @@ toposort==1.10 # via pip-compile-multi uri-template==1.3.0 # via jsonschema -webcolors==24.8.0 +webcolors==24.11.1 # via jsonschema websocket-client==1.8.0 # via jupyter-server -wheel==0.44.0 +wheel==0.45.1 # via pip-tools # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/docs.txt b/requirements/docs.txt index 8e8ff297..19cdb677 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -23,13 +23,13 @@ beautifulsoup4==4.12.3 # via # nbconvert # pydata-sphinx-theme -bleach==6.1.0 +bleach==6.2.0 # via nbconvert charset-normalizer==3.4.0 # via requests comm==0.2.2 # via ipykernel -debugpy==1.8.7 +debugpy==1.8.9 # via ipykernel decorator==5.1.1 # via ipython @@ -49,11 +49,11 @@ imagesize==1.4.1 # via sphinx ipykernel==6.29.5 # via -r docs.in -ipython==8.28.0 +ipython==8.29.0 # via # -r docs.in # ipykernel -jedi==0.19.1 +jedi==0.19.2 # via ipython jinja2==3.1.4 # via @@ -82,7 +82,7 @@ markdown-it-py==3.0.0 # via # mdit-py-plugins # myst-parser -markupsafe==3.0.1 +markupsafe==3.0.2 # via # jinja2 # nbconvert @@ -121,15 +121,15 @@ platformdirs==4.3.6 # via jupyter-core prompt-toolkit==3.0.48 # via ipython -psutil==6.0.0 +psutil==6.1.0 # via ipykernel ptyprocess==0.7.0 # via pexpect pure-eval==0.2.3 # via stack-data -pydantic-settings==2.5.2 +pydantic-settings==2.6.1 # via autodoc-pydantic -pydata-sphinx-theme==0.15.4 +pydata-sphinx-theme==0.16.0 # via -r docs.in pygments==2.18.0 # via @@ -150,7 +150,7 @@ referencing==0.35.1 # jsonschema-specifications requests==2.32.3 # via sphinx -rpds-py==0.20.0 +rpds-py==0.21.0 # via # jsonschema # referencing @@ -158,7 +158,7 @@ snowballstemmer==2.2.0 # via sphinx soupsieve==2.6 # via beautifulsoup4 -sphinx==8.1.0 +sphinx==8.1.3 # via # -r docs.in # autodoc-pydantic @@ -188,9 +188,9 @@ sphinxcontrib-serializinghtml==2.0.0 # via sphinx stack-data==0.6.3 # via ipython -tinycss2==1.3.0 +tinycss2==1.4.0 # via nbconvert -tornado==6.4.1 +tornado==6.4.2 # via # ipykernel # jupyter-client diff --git a/requirements/mypy.txt b/requirements/mypy.txt index 88bcbee5..de365315 100644 --- a/requirements/mypy.txt +++ b/requirements/mypy.txt @@ -6,7 +6,7 @@ # pip-compile-multi # -r test.txt -mypy==1.11.2 +mypy==1.13.0 # via -r mypy.in mypy-extensions==1.0.0 # via mypy @@ -18,7 +18,7 @@ types-python-dateutil==2.9.0.20241003 # via -r mypy.in types-pyyaml==6.0.12.20240917 # via -r mypy.in -types-requests==2.32.0.20240914 +types-requests==2.32.0.20241016 # via -r mypy.in urllib3==2.2.3 # via types-requests diff --git a/requirements/static.txt b/requirements/static.txt index 6d65fbd9..e107d915 100644 --- a/requirements/static.txt +++ b/requirements/static.txt @@ -11,7 +11,7 @@ distlib==0.3.9 # via virtualenv filelock==3.16.1 # via virtualenv -identify==2.6.1 +identify==2.6.2 # via pre-commit nodeenv==1.9.1 # via pre-commit @@ -21,5 +21,5 @@ pre-commit==4.0.1 # via -r static.in pyyaml==6.0.2 # via pre-commit -virtualenv==20.26.6 +virtualenv==20.27.1 # via pre-commit diff --git a/requirements/test.txt b/requirements/test.txt index 49b38c47..8826fae0 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -12,15 +12,15 @@ execnet==2.1.1 # via pytest-xdist filelock[typing]==3.16.1 # via -r test.in -hypothesis==6.114.1 +hypothesis==6.119.4 # via -r test.in iniconfig==2.0.0 # via pytest -packaging==24.1 +packaging==24.2 # via pytest pluggy==1.5.0 # via pytest -pyfakefs==5.7.0 +pyfakefs==5.7.1 # via -r test.in pytest==8.3.3 # via @@ -28,7 +28,7 @@ pytest==8.3.3 # pytest-randomly # pytest-socket # pytest-xdist -pytest-randomly==3.15.0 +pytest-randomly==3.16.0 # via -r test.in pytest-socket==0.7.0 # via -r test.in @@ -38,5 +38,5 @@ pyyaml==6.0.2 # via -r test.in sortedcontainers==2.4.0 # via hypothesis -tomli==2.0.2 +tomli==2.1.0 # via pytest diff --git a/requirements/wheels.txt b/requirements/wheels.txt index d1c1063b..6a1c0600 100644 --- a/requirements/wheels.txt +++ b/requirements/wheels.txt @@ -7,9 +7,9 @@ # build==1.2.2.post1 # via -r wheels.in -packaging==24.1 +packaging==24.2 # via build pyproject-hooks==1.2.0 # via build -tomli==2.0.2 +tomli==2.1.0 # via build From efe86d27d1af2d7e3a980bfb726baad9d9469334 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Mon, 25 Nov 2024 09:21:52 +0100 Subject: [PATCH 2/3] Add .python-version --- .python-version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .python-version diff --git a/.python-version b/.python-version new file mode 100644 index 00000000..c8cfe395 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.10 From 0cf717e5958832588e827805acfb5a30968dfa5f Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Mon, 25 Nov 2024 09:39:15 +0100 Subject: [PATCH 3/3] Make mypy happy --- src/scitacean/_html_repr/_attachment_html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scitacean/_html_repr/_attachment_html.py b/src/scitacean/_html_repr/_attachment_html.py index 2b0931f9..8cf83312 100644 --- a/src/scitacean/_html_repr/_attachment_html.py +++ b/src/scitacean/_html_repr/_attachment_html.py @@ -54,7 +54,7 @@ def _get_fields(attachment: Attachment) -> list[Field]: Field( name=_strip_leading_underscore(field.name), value=getattr(attachment, field.name), - type=field.type, + type=field.type, # type: ignore[arg-type] description="", read_only=_is_read_only(field.name), required=False,