Skip to content

Commit

Permalink
Fixed dependabot issue #25
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Maier <[email protected]>
  • Loading branch information
andy-maier committed Oct 8, 2024
1 parent 955c060 commit 543cadb
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 35 deletions.
2 changes: 2 additions & 0 deletions changes/noissue.3.fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fixed dependabot issue #25. This caused the minimum version of the
'jsonschema' package to be increased to 4.18.0.
32 changes: 17 additions & 15 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,23 +124,25 @@ ruff>=0.3.5
# dependency resolution, so for now we pin notebook to <6.5.
# TODO: Re-enable for Python 3.13 on Windows once pywin32 install issue is solved, see
# https://github.com/mhammond/pywin32/issues/2367
notebook>=6.4.12,<6.5; sys_platform != 'win32' or python_version <= '3.12'
notebook>=7.1.2; sys_platform != 'win32' or python_version <= '3.12'
jupyter>=1.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-console>=5.2.0,<6.0.0; sys_platform != 'win32' or python_version <= '3.12'
ipywidgets>=5.2.2,<6.0.0; sys_platform != 'win32' or python_version <= '3.12'
nbconvert>=6.0.0,<7.0.0; sys_platform != 'win32' or python_version <= '3.12'
# nbconvert 6.x requires nbclient>=0.5.0,<0.6.0
nbclient>=0.5.9,<0.6.0; sys_platform != 'win32' or python_version <= '3.12'
# nbclient 0.5.x requires nbformat>=5.0
nbformat>=5.0.2,<6.0.0; sys_platform != 'win32' or python_version <= '3.12'
qtconsole>=5.4.0; sys_platform != 'win32' or python_version <= '3.12'
ipykernel>=4.5.2,<5.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-client>=6.1.5,<7.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-widgets>=1.0.2,<2.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-console>=6.6.3; sys_platform != 'win32' or python_version <= '3.12'
ipywidgets>=8.0.5; sys_platform != 'win32' or python_version <= '3.12'
nbconvert>=7.2.10; sys_platform != 'win32' or python_version <= '3.12'
nbclient>=0.7.4; sys_platform != 'win32' or python_version <= '3.12'
nbformat>=5.8.0; sys_platform != 'win32' or python_version <= '3.12'
qtconsole>=5.4.2; sys_platform != 'win32' or python_version <= '3.12'
ipykernel>=6.22.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-client>=8.1.0; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-widgets>=3.0.7; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-pygments>=0.2.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-core>=4.11.2,<5.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-core>=5.3.0; sys_platform != 'win32' or python_version <= '3.12'
ipython-genutils>=0.2.0; sys_platform != 'win32' or python_version <= '3.12'
ipython>=5.1.0,<6.0; sys_platform != 'win32' or python_version <= '3.12'
ipython>=8.10.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-server>=2.5.0; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab>=4.1.1; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-server>=2.22.1; sys_platform != 'win32' or python_version <= '3.12'
notebook-shim>=0.2.3; sys_platform != 'win32' or python_version <= '3.12'

# Pywin32 is used (at least?) by jupyter.
# Pywin32 version 226 needs to be excluded, see issues #1946 and #1975.
Expand Down Expand Up @@ -172,7 +174,7 @@ pip-check-reqs>=2.5.1; python_version >= '3.9'
# pywinpty is used by terminado <- notebook <- jupyter
# pywinpty <1.1.1 does not have metadata for required Python or dependent packages.
# pywinpty 1.0 requires maturin which fails installation on py>=3.7
pywinpty>=0.5,<1.0; os_name == "nt"
pywinpty>=2.0.3; os_name == "nt"

# pytz is actually covered in requirements.txt, but we need to repeat it here
# because development packages pull it in, so the exclusion of 2024.2 is active
Expand Down
37 changes: 20 additions & 17 deletions minimum-constraints-develop.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,21 +107,25 @@ ruff==0.3.5
# Jupyter Notebook (no imports, invoked via jupyter script):
# TODO: Re-enable for Python 3.13 on Windows once pywin32 install issue is solved, see
# https://github.com/mhammond/pywin32/issues/2367
notebook==6.4.12; sys_platform != 'win32' or python_version <= '3.12'
notebook==7.1.2; sys_platform != 'win32' or python_version <= '3.12'
jupyter==1.0.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-console==5.2.0; sys_platform != 'win32' or python_version <= '3.12'
ipywidgets==5.2.2; sys_platform != 'win32' or python_version <= '3.12'
nbconvert==6.0.0; sys_platform != 'win32' or python_version <= '3.12'
nbclient==0.5.9; sys_platform != 'win32' or python_version <= '3.12'
nbformat==5.0.2; sys_platform != 'win32' or python_version <= '3.12'
qtconsole==5.4.0; sys_platform != 'win32' or python_version <= '3.12'
ipykernel==4.5.2; sys_platform != 'win32' or python_version <= '3.12'
jupyter-client==6.1.5; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-widgets==1.0.2; sys_platform != 'win32' or python_version <= '3.12'
jupyter-console==6.6.3; sys_platform != 'win32' or python_version <= '3.12'
ipywidgets==8.0.5; sys_platform != 'win32' or python_version <= '3.12'
nbconvert==7.2.10; sys_platform != 'win32' or python_version <= '3.12'
nbclient==0.7.4; sys_platform != 'win32' or python_version <= '3.12'
nbformat==5.8.0; sys_platform != 'win32' or python_version <= '3.12'
qtconsole==5.4.2; sys_platform != 'win32' or python_version <= '3.12'
ipykernel==6.22.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-client==8.1.0; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-widgets==3.0.7; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-pygments==0.2.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-core==4.11.2; sys_platform != 'win32' or python_version <= '3.12'
jupyter-core==5.3.0; sys_platform != 'win32' or python_version <= '3.12'
ipython-genutils==0.2.0; sys_platform != 'win32' or python_version <= '3.12'
ipython==5.1.0; sys_platform != 'win32' or python_version <= '3.12'
ipython==8.10.0; sys_platform != 'win32' or python_version <= '3.12'
jupyter-server==2.5.0; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab==4.1.1; sys_platform != 'win32' or python_version <= '3.12'
jupyterlab-server==2.22.1; sys_platform != 'win32' or python_version <= '3.12'
notebook-shim==0.2.3; sys_platform != 'win32' or python_version <= '3.12'

# Pywin32 is used (at least?) by jupyter.
pywin32==303; sys_platform == 'win32' and python_version <= '3.11'
Expand All @@ -141,8 +145,7 @@ pip-check-reqs==2.4.3; python_version <= '3.8'
pip-check-reqs==2.5.1; python_version >= '3.9'

# pywinpty is used by terminado <- notebook <- jupyter
pywinpty==0.5; os_name == "nt"

pywinpty==2.0.3; os_name == "nt"

# Indirect dependencies for development that are not in dev-requirements.txt

Expand Down Expand Up @@ -175,8 +178,8 @@ Jinja2==3.1.4
keyring==18.0.0
lxml==4.9.3
MarkupSafe==2.0.0
# nbconvert 6.x depends on mistune<2 and >=0.8.1 (mistune 0.8.4 is the highest version that satisfies that)
mistune==0.8.4
# nbconvert 7.2.10 depends on mistune<3 and >=2.0.3
mistune==2.0.3
nest-asyncio==1.5.4
# nose is used by older versions of notebook, e.g. 4.3.1
nose==1.3.7
Expand Down Expand Up @@ -206,7 +209,7 @@ toml==0.10.0
tomli==2.0.1
tornado==6.4.1
tqdm==4.66.3
traitlets==5.4
traitlets==5.6.0
typing==3.6.1
typing-extensions==4.7.1
webencodings==0.5.1
Expand Down
4 changes: 2 additions & 2 deletions minimum-constraints-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ PyYAML==6.0.2
yamlloader==0.5.5

# jsonschema pulled in by zhmcclient_mock and zhmcclient.testutils and jupyter
jsonschema==4.0.1
jsonschema==4.18.0

# websocket-client is also used by stomp-py 8.0 and notebook(?) 6.4
websocket-client==1.8.0
Expand All @@ -55,7 +55,7 @@ pyrsistent==0.20.0

# All other indirect dependencies for install that are not in requirements.txt

attrs==19.2.0
attrs==22.2.0
chardet==5.2.0
docopt==0.6.2
# idna>3 requires using requests >=2.26.0
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ yamlloader>=0.5.5
# jsonschema is also used by jupyter and requires >=3.0.1
# jsonschema 3.0.1 and 3.0.2 may cause pkg_resources.DistributionNotFound; fixed in 3.1.0.
# jsonschema >=3.2.0 is required for Python 3.13 to get rid of the use of js-regex
jsonschema>=4.0.1
# jupyterlab-server 2.25.3 depends on jsonschema>=4.18.0
jsonschema>=4.18.0


# Indirect dependencies for install that are needed for some reason (must be consistent with minimum-constraints-install.txt)
Expand Down

0 comments on commit 543cadb

Please sign in to comment.