From 12ac4437ef8baac2ba1452b7401d98c13e720aac Mon Sep 17 00:00:00 2001 From: Theodore Aptekarev Date: Wed, 8 Feb 2023 10:28:55 +0100 Subject: [PATCH] Pin tenacity to avoid pip resolution conflict due to finviz 1.4.5 package bug --- poetry.lock | 13 ++++++++----- pyproject.toml | 1 + requirements-full.txt | 2 +- requirements.txt | 2 +- 4 files changed, 11 insertions(+), 7 deletions(-) diff --git a/poetry.lock b/poetry.lock index 300a14b69b6..45c29f7ccd6 100644 --- a/poetry.lock +++ b/poetry.lock @@ -7775,16 +7775,19 @@ dev = ["Sphinx (>=1.8.4)", "bump2version (>=1.0.0)", "flake8 (>=3.7.8)", "flake8 [[package]] name = "tenacity" -version = "8.2.0" +version = "7.0.0" description = "Retry code until it succeeds" category = "main" optional = false -python-versions = ">=3.6" +python-versions = "*" files = [ - {file = "tenacity-8.2.0-py3-none-any.whl", hash = "sha256:b723061a78ed0f4524190eae321d3d84100227d51c5677035b6615d91895e0d6"}, - {file = "tenacity-8.2.0.tar.gz", hash = "sha256:a43bcd8910406e0884ca0db3db7bed581f389c1d05165e992a1ddabfc81df05e"}, + {file = "tenacity-7.0.0-py2.py3-none-any.whl", hash = "sha256:a0ce48587271515db7d3a5e700df9ae69cce98c4b57c23a4886da15243603dd8"}, + {file = "tenacity-7.0.0.tar.gz", hash = "sha256:5bd16ef5d3b985647fe28dfa6f695d343aa26479a04e8792b9d3c8f49e361ae1"}, ] +[package.dependencies] +six = ">=1.9.0" + [package.extras] doc = ["reno", "sphinx", "tornado (>=4.5)"] @@ -9147,4 +9150,4 @@ prediction = ["torch", "pytorch-lightning", "u8darts"] [metadata] lock-version = "2.0" python-versions = "^3.8,<3.11, !=3.9.7" -content-hash = "5f2075c641a9a814f3306b90c68faec51b73fd555ce73d31c19ae0e26c739a67" +content-hash = "1924f7bd67e59677fffb32552fb89898283ef39ace36aeb64b501170be02c8fb" diff --git a/pyproject.toml b/pyproject.toml index 8c85e5e730e..f28d4e7cf20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -113,6 +113,7 @@ streamlit = "^1.17.0" sparqlwrapper = "^2.0.0" y-py = "!=0.5.5" # Untraceable third level dependency that requires cargo to be built psutil = "!=5.9.4" # Forecasting menu and IPyKernel dependency broken on MacOs +tenacity = "<8.0.0" # Finviz, papermill and plotly dep. Pinned to avoid pip resolution conflict due to finviz 1.4.5 release bug [tool.poetry.dev-dependencies] pytest = "^6.2.2" diff --git a/requirements-full.txt b/requirements-full.txt index f16f1788c05..d913c3e509e 100644 --- a/requirements-full.txt +++ b/requirements-full.txt @@ -318,7 +318,7 @@ streamlit==1.17.0 ; python_version >= "3.8" and python_full_version != "3.9.7" a tabulate==0.9.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" tbats==1.1.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" temporal-cache==0.1.4 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -tenacity==8.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +tenacity==7.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" tensorboard-data-server==0.6.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" tensorboard-plugin-wit==1.8.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" tensorboard==2.11.2 ; 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 1a25a4cc202..09922f30add 100644 --- a/requirements.txt +++ b/requirements.txt @@ -224,7 +224,7 @@ stocksera==0.1.21 ; python_version >= "3.8" and python_full_version != "3.9.7" a streamlit==1.17.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" tabulate==0.9.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" temporal-cache==0.1.4 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" -tenacity==8.2.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" +tenacity==7.0.0 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" terminado==0.17.1 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" textwrap3==0.9.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11" thepassiveinvestor==1.1.2 ; python_version >= "3.8" and python_full_version != "3.9.7" and python_version < "3.11"