From b60661940bee141254fc777ccb29f1c1d8ee917c Mon Sep 17 00:00:00 2001 From: Theodore Aptekarev Date: Wed, 1 Mar 2023 18:15:09 +0100 Subject: [PATCH] Unpin old version of jsonschema (#4365) --- poetry.lock | 32 ++++++++++++++++++++++---------- pyproject.toml | 1 - requirements-full.txt | 5 +++-- requirements.txt | 7 ++++--- 4 files changed, 29 insertions(+), 16 deletions(-) diff --git a/poetry.lock b/poetry.lock index 722cbdd648f..633711d56c0 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3026,25 +3026,25 @@ dev = ["hypothesis"] [[package]] name = "jsonschema" -version = "3.2.0" +version = "4.17.3" description = "An implementation of JSON Schema validation for Python" category = "main" optional = false -python-versions = "*" +python-versions = ">=3.7" files = [ - {file = "jsonschema-3.2.0-py2.py3-none-any.whl", hash = "sha256:4e5b3cf8216f577bee9ce139cbe72eca3ea4f292ec60928ff24758ce626cd163"}, - {file = "jsonschema-3.2.0.tar.gz", hash = "sha256:c8a85b28d377cc7737e46e2d9f2b4f44ee3c0e1deac6bf46ddefc7187d30797a"}, + {file = "jsonschema-4.17.3-py3-none-any.whl", hash = "sha256:a870ad254da1a8ca84b6a2905cac29d265f805acc57af304784962a2aa6508f6"}, + {file = "jsonschema-4.17.3.tar.gz", hash = "sha256:0f864437ab8b6076ba6707453ef8f98a6a0d512a80e93f8abdb676f737ecb60d"}, ] [package.dependencies] attrs = ">=17.4.0" -pyrsistent = ">=0.14.0" -setuptools = "*" -six = ">=1.11.0" +importlib-resources = {version = ">=1.4.0", markers = "python_version < \"3.9\""} +pkgutil-resolve-name = {version = ">=1.3.10", markers = "python_version < \"3.9\""} +pyrsistent = ">=0.14.0,<0.17.0 || >0.17.0,<0.17.1 || >0.17.1,<0.17.2 || >0.17.2" [package.extras] -format = ["idna", "jsonpointer (>1.13)", "rfc3987", "strict-rfc3339", "webcolors"] -format-nongpl = ["idna", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "webcolors"] +format = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3987", "uri-template", "webcolors (>=1.11)"] +format-nongpl = ["fqdn", "idna", "isoduration", "jsonpointer (>1.13)", "rfc3339-validator", "rfc3986-validator (>0.1.0)", "uri-template", "webcolors (>=1.11)"] [[package]] name = "jupyter-client" @@ -4932,6 +4932,18 @@ files = [ docs = ["furo", "olefile", "sphinx (>=2.4)", "sphinx-copybutton", "sphinx-inline-tabs", "sphinx-issues (>=3.0.1)", "sphinx-removed-in", "sphinxext-opengraph"] tests = ["check-manifest", "coverage", "defusedxml", "markdown2", "olefile", "packaging", "pyroma", "pytest", "pytest-cov", "pytest-timeout"] +[[package]] +name = "pkgutil-resolve-name" +version = "1.3.10" +description = "Resolve a name to an object." +category = "main" +optional = false +python-versions = ">=3.6" +files = [ + {file = "pkgutil_resolve_name-1.3.10-py3-none-any.whl", hash = "sha256:ca27cc078d25c5ad71a9de0a7a330146c4e014c2462d9af19c6b828280649c5e"}, + {file = "pkgutil_resolve_name-1.3.10.tar.gz", hash = "sha256:357d6c9e6a755653cfd78893817c0853af365dd51ec97f3d358a819373bbd174"}, +] + [[package]] name = "platformdirs" version = "3.0.0" @@ -9519,4 +9531,4 @@ optimization = ["Riskfolio-Lib"] [metadata] lock-version = "2.0" python-versions = "^3.8,<3.11, !=3.9.7" -content-hash = "04d50be4a71df97bfdc14e27b6116cdffd3d8e3d40cf412375bb5311731ff4cd" +content-hash = "01ca6546d88f0df59593333a2343a016e0e775c635cffc5f5a869b0c22c25c7e" diff --git a/pyproject.toml b/pyproject.toml index f1e1756f04f..4a043e59cf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,6 @@ thepassiveinvestor = "^1.1.2" pandas-ta = "^0.3.14-beta.0" pyrsistent = "^0.18.0" openpyxl = "^3.0.9" -jsonschema = "^3.2.0" pandas = "^1.5.0" pandas-market-calendars = "~3.2" ipympl = "^0.8.2" diff --git a/requirements-full.txt b/requirements-full.txt index 299a83cd800..404f16ac61c 100644 --- a/requirements-full.txt +++ b/requirements-full.txt @@ -109,7 +109,7 @@ identify==2.5.18 ; python_version >= "3.8" and python_full_version != "3.9.7" an idna==3.4 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" imagesize==1.4.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" importlib-metadata==6.0.0 ; python_full_version != "3.9.7" and python_version < "3.11" and python_version >= "3.8" -importlib-resources==5.12.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.10" +importlib-resources==5.12.0 ; python_full_version != "3.9.7" and python_version < "3.10" and python_version >= "3.8" inflection==0.5.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" iniconfig==2.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" interface-meta==1.3.0 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" @@ -127,7 +127,7 @@ jedi==0.18.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and py jinja2==3.1.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" joblib==1.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" json5==0.9.11 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -jsonschema==3.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +jsonschema==4.17.3 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-client==7.4.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-core==5.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-server==1.23.6 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" @@ -197,6 +197,7 @@ pefile==2023.2.7 ; python_version >= "3.8" and python_version < "3.11" and pytho pexpect==4.8.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" and sys_platform != "win32" pickleshare==0.7.5 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pillow==9.4.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +pkgutil-resolve-name==1.3.10 ; python_version >= "3.8" and python_version < "3.9" platformdirs==3.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" plotly==5.13.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pluggy==1.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" diff --git a/requirements.txt b/requirements.txt index 8bf0a17a45d..40389e2bb16 100644 --- a/requirements.txt +++ b/requirements.txt @@ -75,7 +75,7 @@ holidays==0.14.2 ; python_version >= "3.8" and python_full_version != "3.9.7" an html5lib==1.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" idna==3.4 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" importlib-metadata==6.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -importlib-resources==5.12.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.10" +importlib-resources==5.12.0 ; python_full_version != "3.9.7" and python_version < "3.10" and python_version >= "3.8" inflection==0.5.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" interface-meta==1.3.0 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" intrinio-sdk==6.22.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" @@ -91,7 +91,7 @@ jedi==0.18.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and py jinja2==3.1.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" joblib==1.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" json5==0.9.11 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -jsonschema==3.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +jsonschema==4.17.3 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-client==7.4.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-core==5.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" jupyter-server==1.23.6 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" @@ -139,6 +139,7 @@ patsy==0.5.3 ; python_version >= "3.8" and python_full_version != "3.9.7" and py pexpect==4.8.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" and sys_platform != "win32" pickleshare==0.7.5 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" pillow==9.4.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +pkgutil-resolve-name==1.3.10 ; python_version >= "3.8" and python_version < "3.9" platformdirs==3.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" plotly==5.13.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" praw==7.6.1 ; python_version >= "3.8" and python_version < "3.11" and python_full_version != "3.9.7" @@ -254,5 +255,5 @@ y-py==0.6.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and pyt yahooquery==2.3.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" yarl==1.8.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" yfinance==0.2.12 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -zipp==3.14.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +zipp==3.14.0 ; python_full_version != "3.9.7" and python_version < "3.11" and python_version >= "3.8" zope-interface==5.5.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11"