diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d239b63545a..1290044b963 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,7 +28,7 @@ jobs: key: ${{ runner.os }}-v1-linting restore-keys: ${{ runner.os }}-v1-linting - - run: pip install bandit black codespell flake8 mypy==0.982 pyupgrade safety pylint==2.15.2 + - run: pip install bandit black codespell flake8 mypy==0.982 pyupgrade safety pylint==2.15.2 packaging==22 - run: pip install types-pytz types-requests types-termcolor types-tabulate types-PyYAML types-python-dateutil types-setuptools types-six - run: bandit -x ./tests -r . || true - run: black --diff --check . diff --git a/openbb_terminal/feature_flags.py b/openbb_terminal/feature_flags.py index afb0e670fc1..16caac7dc2c 100644 --- a/openbb_terminal/feature_flags.py +++ b/openbb_terminal/feature_flags.py @@ -147,7 +147,7 @@ try: else: raise Exception("Using git") except Exception: - version = "2.0.0" + version = "2.0.1" VERSION = str(os.getenv("OPENBB_VERSION", version)) # Select the terminal translation language diff --git a/openbb_terminal/terminal_helper.py b/openbb_terminal/terminal_helper.py index a603d1f485b..d7dfa82cd2a 100644 --- a/openbb_terminal/terminal_helper.py +++ b/openbb_terminal/terminal_helper.py @@ -9,7 +9,7 @@ import logging import os import subprocess # nosec import sys -from typing import List, Union +from typing import List from packaging import version # IMPORTATION THIRDPARTY @@ -280,8 +280,8 @@ def check_for_updates() -> None: def check_valid_versions( - latest_version: Union[version.LegacyVersion, version.Version], # type:ignore - current_version: Union[version.LegacyVersion, version.Version], # type:ignore + latest_version: version.Version, + current_version: version.Version, ) -> bool: if ( not latest_version diff --git a/poetry.lock b/poetry.lock index 37db566a7f9..3119e46fd6c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -363,7 +363,7 @@ lxml = ["lxml"] [[package]] name = "black" -version = "22.10.0" +version = "22.12.0" description = "The uncompromising code formatter." category = "dev" optional = false @@ -2401,14 +2401,11 @@ scipy = ">=0.13.2" [[package]] name = "packaging" -version = "21.3" +version = "22.0" description = "Core utilities for Python packages" category = "main" optional = false -python-versions = ">=3.6" - -[package.dependencies] -pyparsing = ">=2.0.2,<3.0.5 || >3.0.5" +python-versions = ">=3.7" [[package]] name = "pandas" @@ -4819,7 +4816,7 @@ prediction = ["torch", "pytorch-lightning", "u8darts"] [metadata] lock-version = "1.1" python-versions = "^3.8,<3.11, !=3.9.7" -content-hash = "8ca9e9770f3a1000767ced3d201968914db06136cde19041d046b2ea8d2ca8c1" +content-hash = "0b9e9863f2ad1c9dae3b1fdf18b7100603a989c1b0f1578a66d5ad95a46e6f9c" [metadata.files] absl-py = [] diff --git a/pyproject.toml b/pyproject.toml index 2bf5627560d..d0a167bdeb3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openbb" -version = "2.0.0" +version = "2.0.1" description = "Investment Research for Everyone, Anywhere." license = "MIT" authors = ["Didier Rodrigues Lopes"] @@ -108,6 +108,7 @@ u8darts = {extras = ["torch"], version = "0.22.0", optional = true} docstring-parser = {version = "^0.15", optional = true} grpcio = "<1.51.0" jupyterlab-widgets = "^3.0.3" +packaging = ">=22.0" [tool.poetry.dev-dependencies] pytest = "^6.2.2" diff --git a/requirements-full.txt b/requirements-full.txt index b773f122109..488871d0acb 100644 --- a/requirements-full.txt +++ b/requirements-full.txt @@ -26,7 +26,7 @@ bandit==1.7.4; python_version >= "3.7" base58==2.1.1; python_version >= "3.5" and python_full_version >= "3.7.0" beartype==0.7.1; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.6.0" beautifulsoup4==4.11.1; python_full_version >= "3.6.0" and python_version >= "3.7" -black==22.10.0; python_version >= "3.7" +black==22.12.0; python_version >= "3.7" bleach==5.0.1; python_version >= "3.7" blinker==1.5; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.5.0" or python_full_version > "3.9.7" bs4==0.0.1 @@ -171,7 +171,7 @@ oauthlib==3.2.2; python_version >= "3.6" and python_full_version < "3.0.0" or py onetimepass==1.0.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" openpyxl==3.0.10; python_version >= "3.6" osqp==0.6.2.post5; python_version >= "3.7" -packaging==21.3; python_version >= "3.8" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.8" and python_full_version < "4.0.0" +packaging==22.0; python_version >= "3.7" pandas-datareader==0.10.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" pandas-market-calendars==3.2; python_full_version >= "3.7.0" pandas-ta==0.3.14b @@ -226,7 +226,7 @@ pympler==1.0.1; python_version >= "3.7" and python_full_version < "3.9.7" or pyt pyobjc-core==8.5.1; python_version >= "3.6" and sys_platform == "darwin" pyobjc-framework-cocoa==8.5.1; python_version >= "3.6" and sys_platform == "darwin" pyotp==2.7.0; python_version >= "3.6" -pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.6.8" or python_full_version > "3.9.7" and python_version >= "3.7") +pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7" pyprind==2.11.3; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" pyrsistent==0.18.1; python_version >= "3.7" pytest-cov==3.0.0; python_version >= "3.6" diff --git a/requirements.txt b/requirements.txt index 878a5c58200..f9410115108 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,26 +1,29 @@ aiodns==3.0.0; python_version >= "3.5.2" and python_full_version >= "3.7.0" aiohttp==3.8.3; python_version >= "3.6" and python_full_version >= "3.7.0" aiosignal==1.2.0; python_version >= "3.6" and python_full_version >= "3.7.0" +alabaster==0.7.12; python_version >= "3.6" alpha-vantage==2.3.1 altair==4.2.0; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" anyio==3.6.2; python_full_version >= "3.6.2" and python_version >= "3.8" and python_version < "4.0" -appnope==0.1.3; sys_platform == "darwin" and python_version >= "3.8" and platform_system == "Darwin" -arch==5.3.1; python_version >= "3.7" +appnope==0.1.3; sys_platform == "darwin" and python_version >= "3.8" and platform_system == "Darwin" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" argon2-cffi-bindings==21.2.0; python_version >= "3.7" argon2-cffi==21.3.0; python_version >= "3.7" ascii-magic==1.6; python_version >= "3.5" astor==0.8.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.8" -astropy==5.1.1; python_version >= "3.8" +astroid==2.12.12; python_full_version >= "3.7.2" asttokens==2.0.8; python_version >= "3.8" async-timeout==4.0.2; python_version >= "3.6" and python_full_version >= "3.7.0" -attrs==21.4.0; python_version >= "3.6" and python_full_version >= "3.7.0" and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7") +atomicwrites==1.4.1; sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" +attrs==21.4.0; python_full_version >= "3.7.0" and python_version >= "3.7" and (python_version >= "3.6" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.5.0") and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7" and python_full_version < "4.0.0") babel==2.10.3; python_version >= "3.7" backcall==0.2.0; python_version >= "3.8" backoff==2.2.1; python_version >= "3.7" and python_version < "4.0" and python_full_version >= "3.7.0" backports.zoneinfo==0.2.1; python_version >= "3.7" and python_full_version < "3.9.7" and python_version < "3.9" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.6.0" or python_full_version > "3.9.7" and python_version >= "3.6") or python_full_version > "3.9.7" and python_version >= "3.6" and python_version < "3.9" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.6.0" or python_full_version > "3.9.7" and python_version >= "3.6") +bandit==1.7.4; python_version >= "3.7" base58==2.1.1; python_version >= "3.5" and python_full_version >= "3.7.0" beartype==0.7.1; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.6.0" beautifulsoup4==4.11.1; python_full_version >= "3.6.0" and python_version >= "3.7" +black==22.12.0; python_version >= "3.7" bleach==5.0.1; python_version >= "3.7" blinker==1.5; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.5.0" or python_full_version > "3.9.7" bs4==0.0.1 @@ -28,34 +31,39 @@ bt==0.2.9; (python_version >= "2.7" and python_full_version < "3.0.0") or (pytho cachetools==5.2.0; python_version >= "3.7" and python_version < "4.0" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") ccxt==1.95.43 certifi==2022.9.24; python_version >= "3.8" and python_version < "4" and python_full_version >= "3.7.1" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") -cffi==1.15.1; implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.7.0" +cffi==1.15.1; implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" +cfgv==3.3.1; python_full_version >= "3.6.1" and python_version >= "3.7" charset-normalizer==2.1.1; python_full_version >= "3.6.0" click==8.1.3; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" -colorama==0.4.6; python_full_version >= "3.7.0" and python_version >= "3.8" and sys_platform == "win32" and platform_system == "Windows" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") +codespell==2.2.2; python_version >= "3.7" +colorama==0.4.6; python_full_version >= "3.7.2" and python_version >= "3.8" and sys_platform == "win32" and (python_version >= "3.6" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.6" and python_full_version >= "3.7.0") and (python_version >= "3.7" and python_full_version < "3.0.0" and platform_system == "Windows" or platform_system == "Windows" and python_version >= "3.7" and python_full_version >= "3.7.0") and (python_version >= "3.7" and python_full_version < "3.0.0" and platform_system == "Windows" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") or platform_system == "Windows" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") and python_full_version >= "3.7.0") and (python_version >= "3.8" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.8" and python_full_version >= "3.7.0") and python_full_version < "4.0.0" commonmark==0.9.1; python_full_version >= "3.6.3" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") convertdate==2.4.0; python_version >= "3.7" and python_version < "4" +coverage==6.5.0; python_version >= "3.7" cryptography==38.0.2; python_version >= "3.6" cssselect==1.1.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" -cvxpy==1.2.1; python_version >= "3.7" cycler==0.11.0; python_version >= "3.7" cython==0.29.32; python_version >= "3.8" and python_full_version < "3.0.0" and sys_platform == "darwin" or python_full_version >= "3.3.0" and sys_platform == "darwin" and python_version >= "3.8" dateparser==1.1.2; python_version >= "3.5" datetime==4.7; python_version >= "3.5" -debugpy==1.6.3; python_version >= "3.7" -decorator==5.1.1; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.8" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.8" +debugpy==1.6.3; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" +decorator==5.1.1; python_version >= "3.8" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5") and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.5") defusedxml==0.7.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7" degiro-connector==2.0.21; python_full_version >= "3.7.1" and python_full_version < "4.0.0" deprecation==2.1.0 detecta==0.0.5; python_version >= "3.6" +dill==0.3.6; python_version >= "3.7" and python_full_version >= "3.7.2" +distlib==0.3.6; python_version >= "3.7" dnspython==2.2.1; python_version >= "3.6" and python_version < "4.0" -ecos==2.0.10; python_version >= "3.7" -entrypoints==0.4; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" +docutils==0.17.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6" +entrypoints==0.4; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") et-xmlfile==1.1.0; python_version >= "3.6" exchange-calendars==4.2.3; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.7.0" executing==1.1.1; python_version >= "3.8" -fastjsonschema==2.16.2; python_full_version >= "3.7.0" and python_version >= "3.7" +fastjsonschema==2.16.2; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" feedparser==6.0.10; python_version >= "3.6" ffn==0.3.6; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" +filelock==3.8.0; python_version >= "3.7" financedatabase==1.0.2 finnhub-python==2.4.15 finviz==1.4.4 @@ -78,26 +86,30 @@ holidays==0.14.2; python_version >= "3.7" html5lib==1.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.5.0") httpcore==0.15.0; python_version >= "3.8" and python_version < "4.0" httpx==0.23.0; python_version >= "3.8" and python_version < "4.0" +identify==2.5.7; python_version >= "3.7" idna==3.4; python_version >= "3.8" and python_version < "4" and python_full_version >= "3.7.1" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") +imagesize==1.4.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" importlib-metadata==5.0.0; python_version >= "3.7" and python_full_version < "3.9.7" and python_version < "3.10" or python_full_version > "3.9.7" and python_version >= "3.7" and python_version < "3.10" inflection==0.5.1; python_version >= "3.6" +iniconfig==1.1.1; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" interface-meta==1.3.0; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.7.1" and python_full_version < "4.0.0" investiny==0.5.0; python_version >= "3.8" and python_version < "4.0" investpy==1.0.8; python_version >= "3.7" ipyflex==0.2.4; python_version >= "3.6" -ipykernel==6.16.1; python_version >= "3.7" +ipykernel==6.16.1; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" ipympl==0.8.4 ipython-genutils==0.2.0; python_version >= "3.7" ipython==8.5.0; python_version >= "3.8" ipywidgets==8.0.2; python_version >= "3.7" iso8601==0.1.16 +isort==5.10.1; python_full_version >= "3.7.2" and python_version < "4.0" jedi==0.18.1; python_version >= "3.8" jinja2==3.1.2; python_version >= "3.7" joblib==1.2.0; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.8" json5==0.9.10; python_version >= "3.7" jsonschema==3.2.0 -jupyter-client==7.4.1; python_full_version >= "3.7.0" and python_version >= "3.7" -jupyter-core==4.11.2; python_full_version >= "3.7.0" and python_version >= "3.7" +jupyter-client==7.4.1; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" +jupyter-core==4.11.2; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" jupyter-server==1.21.0; python_version >= "3.7" jupyterlab-pygments==0.2.2; python_version >= "3.7" jupyterlab-server==2.16.1; python_version >= "3.7" @@ -105,25 +117,32 @@ jupyterlab-widgets==3.0.3; python_version >= "3.7" jupyterlab==3.5.0; python_version >= "3.7" kiwisolver==1.4.4; python_version >= "3.7" korean-lunar-calendar==0.3.1; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.7.0" +lazy-object-proxy==1.7.1; python_version >= "3.6" and python_full_version >= "3.7.2" linearmodels==4.27; python_version >= "3.8" loguru==0.6.0; python_version >= "3.5" and python_full_version >= "3.7.0" lxml==4.9.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7" +markdown-it-py==1.1.0; python_version >= "3.6" and python_version < "4.0" markupsafe==2.1.1; python_version >= "3.7" -matplotlib-inline==0.1.6; python_version >= "3.8" +matplotlib-inline==0.1.6; python_version >= "3.8" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" matplotlib==3.5.3; python_version >= "3.7" -mccabe==0.6.1; python_full_version >= "3.7.0" +mccabe==0.6.1; python_full_version >= "3.7.2" +mdit-py-plugins==0.2.8; python_version >= "3.6" and python_version < "4.0" mistune==0.8.4; python_version >= "3.7" +mock==4.0.3; python_version >= "3.6" more-itertools==9.0.0; python_version >= "3.7" mplfinance==0.12.9b1 multidict==6.0.2; python_version >= "3.7" and python_full_version >= "3.7.0" multitasking==0.0.11 mypy-extensions==0.4.3; python_version >= "3.8" +mypy==0.930; python_version >= "3.6" +myst-parser==0.15.2; python_version >= "3.6" nbclassic==0.4.5; python_version >= "3.7" -nbclient==0.5.13; python_full_version >= "3.7.0" and python_version >= "3.7" +nbclient==0.5.13; python_full_version >= "3.7.0" and python_version >= "3.7" and python_full_version < "4.0.0" nbconvert==6.5.4; python_version >= "3.7" -nbformat==5.7.0; python_full_version >= "3.7.0" and python_version >= "3.7" -nest-asyncio==1.5.6; python_full_version >= "3.7.0" and python_version >= "3.7" -networkx==2.8.7; python_version >= "3.8" +nbformat==5.7.0; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" +nbmake==1.3.0; python_full_version >= "3.7.0" and python_full_version < "4.0.0" +nest-asyncio==1.5.6; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" +nodeenv==1.7.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.7.0" and python_version >= "3.7" notebook-shim==0.2.0; python_version >= "3.7" notebook==6.5.1; python_version >= "3.7" numpy==1.23.4; python_version >= "3.8" @@ -131,8 +150,7 @@ oandapyv20==0.6.3 oauthlib==3.2.2; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6" onetimepass==1.0.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" openpyxl==3.0.10; python_version >= "3.6" -osqp==0.6.2.post5; python_version >= "3.7" -packaging==21.3; python_version >= "3.8" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.8" +packaging==22.0; python_version >= "3.7" pandas-datareader==0.10.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6" pandas-market-calendars==3.2; python_full_version >= "3.7.0" pandas-ta==0.3.14b @@ -140,34 +158,40 @@ pandas==1.5.1; python_version >= "3.8" pandocfilters==1.5.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7" papermill @ git+https://github.com/nteract/papermill.git@main ; python_version >= "3.7" parso==0.8.3; python_version >= "3.8" +pathspec==0.10.2; python_version >= "3.7" patsy==0.5.3; python_version >= "3.8" +pbr==5.11.0; python_version >= "3.8" pexpect==4.8.0; sys_platform != "win32" and python_version >= "3.8" pickleshare==0.7.5; python_version >= "3.8" pillow==9.2.0; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" +platformdirs==2.5.2; python_version >= "3.7" and python_full_version >= "3.7.2" plotly==5.10.0; python_version >= "3.6" +pluggy==1.0.0; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" praw==7.6.0; python_version >= "3.7" and python_version < "4.0" prawcore==2.3.0; python_version >= "3.7" and python_version < "4.0" +pre-commit==2.20.0; python_version >= "3.7" prometheus-client==0.15.0; python_version >= "3.7" prompt-toolkit==3.0.31; python_full_version >= "3.6.2" property-cached==1.6.4; python_version >= "3.8" protobuf==3.20.1; python_version >= "3.7" psaw==0.0.12; python_version >= "3" -psutil==5.9.3; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7" +psutil==5.9.3; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" ptyprocess==0.7.0; sys_platform != "win32" and python_version >= "3.8" and os_name != "nt" pure-eval==0.2.2; python_version >= "3.8" -py==1.11.0; python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.5.0" +py==1.11.0; python_full_version >= "3.7.0" and python_version >= "3.7" and python_full_version < "4.0.0" and implementation_name == "pypy" pyally==1.1.2 pyarrow==9.0.0; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" pycares==4.2.2; python_version >= "3.5.2" and python_full_version >= "3.7.0" pycodestyle==2.7.0; python_full_version >= "3.7.0" pycoingecko==2.3.0 -pycparser==2.21; python_version >= "3.7" and python_full_version < "3.0.0" and implementation_name == "pypy" or implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.4.0" +pycparser==2.21; implementation_name == "pypy" and python_version >= "3.7" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" +pydantic==1.8.2; python_full_version >= "3.7.0" and python_full_version < "4.0.0" pydeck==0.8.0b4; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" -pyerfa==2.0.0.1; python_version >= "3.8" pyex==0.5.0 pyflakes==2.3.1; python_full_version >= "3.7.0" pygments==2.13.0; python_version >= "3.6" pyhdfe==0.1.0; python_version >= "3.8" +pylint==2.15.2; python_full_version >= "3.7.2" pyluach==2.0.2; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.7.0" pymeeus==0.5.11; python_version >= "3.7" and python_version < "4" pymongo==3.12.3 @@ -175,9 +199,13 @@ pympler==1.0.1; python_version >= "3.7" and python_full_version < "3.9.7" or pyt pyobjc-core==8.5.1; python_version >= "3.6" and sys_platform == "darwin" pyobjc-framework-cocoa==8.5.1; python_version >= "3.6" and sys_platform == "darwin" pyotp==2.7.0; python_version >= "3.6" -pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.6.8" or python_full_version > "3.9.7" and python_version >= "3.7") +pyparsing==3.0.9; python_full_version >= "3.6.8" and python_version >= "3.7" pyprind==2.11.3; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" pyrsistent==0.18.1; python_version >= "3.7" +pytest-cov==3.0.0; python_version >= "3.6" +pytest-mock==3.10.0; python_version >= "3.7" +pytest-recording==0.12.1; python_version >= "3.5" +pytest==6.2.5; python_version >= "3.6" pythclient==0.1.2; python_full_version >= "3.7.0" python-binance==1.0.16 python-coinmarketcap==0.2 @@ -187,11 +215,11 @@ python-i18n==0.3.9 pytrends==4.8.0 pytz-deprecation-shim==0.1.0.post0; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.6.0" or python_full_version > "3.9.7" and python_version >= "3.6" pytz==2022.5; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.8" and (python_version >= "3.8" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.8") and python_version < "4.0" +pyupgrade==2.38.4; python_version >= "3.7" pywin32==304; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.7" pywinpty==2.0.8; os_name == "nt" and python_version >= "3.7" -pyyaml==6.0; python_version >= "3.8" -pyzmq==24.0.1; python_version >= "3.7" -qdldl==0.1.5.post2; python_version >= "3.7" +pyyaml==6.0; python_version >= "3.7" +pyzmq==24.0.1; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version >= "3.7" quandl==3.7.0; python_version >= "3.6" rapidfuzz==1.9.1; python_version >= "2.7" regex==2022.3.2; python_version >= "3.6" @@ -199,29 +227,36 @@ requests-oauthlib==1.3.1; python_version >= "2.7" and python_full_version < "3.0 requests==2.28.1; python_version >= "3.7" and python_version < "4" rfc3986==1.5.0; python_version >= "3.8" and python_version < "4.0" rich==12.6.0; python_full_version >= "3.6.3" and python_full_version < "4.0.0" -riskfolio-lib==3.3.0; python_version >= "3.7" robin-stocks==2.1.0; python_version >= "3" ruamel.yaml.clib==0.2.7; platform_python_implementation == "CPython" and python_version < "3.11" and python_version >= "3.5" ruamel.yaml==0.17.21; python_version >= "3" scikit-learn==1.1.2; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.8" scipy==1.9.3; python_version >= "3.8" screeninfo==0.6.7 -scs==3.2.0; python_version >= "3.7" seaborn==0.11.2; python_version >= "3.6" semver==2.13.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.4.0" or python_full_version > "3.9.7" send2trash==1.8.0; python_version >= "3.7" sentiment-investor==2.1.0; python_version >= "3.8" and python_version < "4.0" setuptools-scm==6.4.2; python_version >= "3.8" sgmllib3k==1.0.0; python_version >= "3.6" -six==1.16.0; python_full_version >= "3.7.1" and python_version >= "3.8" and python_full_version < "4.0.0" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.3.0" or python_full_version > "3.9.7") and (python_version >= "3.8" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.8") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7") and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7") and (python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.8") +six==1.16.0; python_full_version >= "3.7.1" and python_version >= "3.8" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7") and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.3.0" or python_full_version > "3.9.7") and (python_version >= "3.8" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.8") and (python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7" and python_full_version < "4.0.0") and (python_version >= "3.8" and python_full_version < "3.0.0" or python_version >= "3.8" and python_full_version >= "3.3.0") smmap==5.0.0; python_version >= "3.7" sniffio==1.3.0; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.6.2" +snowballstemmer==2.2.0; python_version >= "3.6" socketio-client-nexus==0.7.6 soupsieve==2.3.2.post1; python_version >= "3.6" and python_full_version >= "3.6.0" +sphinx==4.5.0; python_version >= "3.6" +sphinxcontrib-applehelp==1.0.2; python_version >= "3.6" +sphinxcontrib-devhelp==1.0.2; python_version >= "3.6" +sphinxcontrib-htmlhelp==2.0.0; python_version >= "3.6" +sphinxcontrib-jsmath==1.0.1; python_version >= "3.6" +sphinxcontrib-qthelp==1.0.3; python_version >= "3.6" +sphinxcontrib-serializinghtml==1.1.5; python_version >= "3.6" squarify==0.4.3 sseclient==0.0.27 stack-data==0.5.1; python_version >= "3.8" statsmodels==0.13.2; python_version >= "3.7" +stevedore==4.1.0; python_version >= "3.8" stocksera==0.1.21; python_version >= "3.6" streamlit==1.13.0; (python_version >= "3.7" and python_full_version < "3.9.7") or (python_full_version > "3.9.7") tabulate==0.9.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7" @@ -231,15 +266,24 @@ terminado==0.16.0; python_version >= "3.7" thepassiveinvestor==1.0.10 threadpoolctl==3.1.0; python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.8" tinycss2==1.2.1; python_version >= "3.7" +tokenize-rt==4.2.1; python_full_version >= "3.6.1" and python_version >= "3.7" tokenterminal==1.0.1 -toml==0.10.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.3.0" or python_full_version > "3.9.7" -tomli==2.0.1; python_version >= "3.8" +toml==0.10.2; python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7" and python_full_version < "4.0.0" +tomli==2.0.1; python_version < "3.11" and python_full_version >= "3.7.2" and python_version >= "3.8" and python_full_version <= "3.11.0a6" +tomlkit==0.11.5; python_version >= "3.6" and python_version < "4.0" and python_full_version >= "3.7.2" toolz==0.12.0; python_version >= "3.8" and python_version < "4.0" and python_full_version >= "3.7.0" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") -tornado==6.2; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7" +tornado==6.2; python_version >= "3.7" and python_full_version < "3.9.7" and python_full_version >= "3.7.0" or python_full_version > "3.9.7" and python_version >= "3.7" and python_full_version < "4.0.0" tqdm==4.64.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7" tradingview-ta==3.3.0; python_version >= "3.6" -traitlets==5.5.0; python_full_version >= "3.7.0" and python_version >= "3.8" -typing-extensions==4.4.0; python_full_version >= "3.7.0" and python_full_version < "4.0.0" and python_version < "3.9" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") +traitlets==5.5.0; python_version >= "3.8" and python_full_version >= "3.7.0" and python_full_version < "4.0.0" +types-python-dateutil==2.8.19.2 +types-pytz==2021.3.8 +types-pyyaml==6.0.12 +types-requests==2.28.11.2 +types-setuptools==57.4.18 +types-six==1.16.21 +types-urllib3==1.26.25.1 +typing-extensions==4.4.0; python_full_version >= "3.7.2" and python_full_version < "4.0.0" and python_version < "3.9" and python_version >= "3.7" and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.7") and (python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7") tzdata==2022.5; python_version >= "3.7" and python_full_version < "3.0.0" and platform_system == "Windows" or python_version >= "3.7" and python_full_version < "3.9.7" and platform_system == "Windows" and python_full_version >= "3.6.0" or python_full_version > "3.9.7" and python_version >= "3.6" and platform_system == "Windows" tzlocal==4.2; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.6" ujson==5.5.0; python_version >= "3.7" @@ -250,6 +294,8 @@ user-agent==0.1.10 vadersentiment==3.3.2 validators==0.20.0; python_version >= "3.7" and python_full_version < "3.9.7" or python_full_version > "3.9.7" and python_version >= "3.4" valinvest==0.0.2; python_version >= "3.6" +vcrpy==4.2.1; python_version >= "3.7" +virtualenv==20.16.5; python_version >= "3.7" voila==0.4.0; python_version >= "3.7" watchdog==2.1.9; python_version >= "3.6" wcwidth==0.2.5; python_full_version >= "3.6.2" and python_version >= "3.8" @@ -258,8 +304,7 @@ websocket-client==1.4.1; python_version >= "3.8" and python_version < "4.0" websockets==10.3; python_version >= "3.7" widgetsnbextension==4.0.3; python_version >= "3.7" win32-setctime==1.1.0; python_version >= "3.5" and python_full_version >= "3.7.0" and sys_platform == "win32" -wrapt==1.14.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.8" -xlsxwriter==3.0.3; python_version >= "3.7" +wrapt==1.14.1; python_full_version >= "3.7.2" and python_full_version < "4.0.0" and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7") and python_version >= "3.8" and python_version < "3.11" yarl==1.8.1; python_version >= "3.7" and python_full_version >= "3.7.0" yfinance==0.1.74 zipp==3.10.0; python_version >= "3.7" and python_full_version < "3.9.7" and python_version < "3.10" or python_full_version > "3.9.7" and python_version >= "3.7" and python_version < "3.10" diff --git a/tests/openbb_terminal/test_terminal_helper.py b/tests/openbb_terminal/test_terminal_helper.py index 54d79916bb4..3e70309fe9d 100644 --- a/tests/openbb_terminal/test_terminal_helper.py +++ b/tests/openbb_terminal/test_terminal_helper.py @@ -52,7 +52,6 @@ class TestMainHelper(unittest.TestCase): ("v0.0.1", "v0.0.2"), ("v1.9.0", "v1.10.0"), ("v1.10.0", "v1.9.0"), - ("xyz", "v1.9.0"), ("2.0.0", "2.0.0rc1"), ("2.0.0rc1", "2.0.0"), ("2.0.0rc1", "2.0.0rc2"), diff --git a/tests/openbb_terminal/txt/test_terminal_helper/test_check_for_updates[xyz-v1.9.0].txt b/tests/openbb_terminal/txt/test_terminal_helper/test_check_for_updates[xyz-v1.9.0].txt index 11cd4741d9c..e69de29bb2d 100644 --- a/tests/openbb_terminal/txt/test_terminal_helper/test_check_for_updates[xyz-v1.9.0].txt +++ b/tests/openbb_terminal/txt/test_terminal_helper/test_check_for_updates[xyz-v1.9.0].txt @@ -1,3 +0,0 @@ -[red]You are using an unrecognized version.[/red] - -