Skip to content

Commit

Permalink
Release/1.4.0 (#1909)
Browse files Browse the repository at this point in the history
* Fix stocks_bt integration test script

* Stop keeping parts of third-party libraries that are bundled

* Update pre-commit

* Disable false positive pylint in some crypto models

* Add i18n support to packaged apps

* Add more sklearn hidden imports

* Fix routines files path

* Fix stocks/pred openbb test script

* Fix website not building because of expo command removed

* Bump project version and update deps

Co-authored-by: Chavithra <[email protected]>
  • Loading branch information
piiq and Chavithra authored Jun 7, 2022
1 parent 610b19b commit 83f35e8
Show file tree
Hide file tree
Showing 29 changed files with 294 additions and 17,010 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ repos:
"--skip=./tests,.git,*.css,*.csv,*.html,*.ini,*.ipynb,*.js,*.json,*.lock,*.scss,*.txt,*.yaml,build/pyinstaller/*",
]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.950"
rev: "v0.960"
hooks:
- id: mypy
args: ["--ignore-missing-imports", '--exclude=/setup\.py$']
Expand Down
32 changes: 16 additions & 16 deletions bots/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ beartype==0.7.1; python_version >= "3.8" and python_version < "4.0" and python_f
beautifulsoup4==4.11.1; python_full_version >= "3.6.0" and python_version >= "3.7"
black==22.1.0; python_full_version >= "3.6.2"
bleach==5.0.0; python_version >= "3.7"
boto3==1.23.10; python_version >= "3.6"
botocore==1.26.10; python_version >= "3.6"
boto3==1.24.2; python_version >= "3.7"
botocore==1.27.2; python_version >= "3.7"
bs4==0.0.1
bt==0.2.9; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")
certifi==2022.5.18.1; python_full_version >= "3.7.1" and python_version >= "3.8" and python_version < "4" and python_full_version < "4.0.0" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6")
Expand All @@ -39,7 +39,7 @@ codespell==2.1.0; python_version >= "3.5"
colorama==0.4.4; python_full_version >= "3.6.2" and python_full_version < "4.0.0" and (python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.5") and platform_system == "Windows" and python_version >= "3.8" 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.5.0") and sys_platform == "win32" 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.5.0") and (python_version >= "3.6" and python_full_version < "3.0.0" and platform_system == "Windows" or python_full_version >= "3.5.0" and platform_system == "Windows" and python_version >= "3.6") and (python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0")
commonmark==0.9.1; python_full_version >= "3.6.2" and python_full_version < "4.0.0"
convertdate==2.4.0; python_version >= "3.7" and python_version < "4"
coverage==6.4; python_version >= "3.7"
coverage==6.4.1; python_version >= "3.7"
cryptography==37.0.2; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.6.0" and python_version < "4" and python_version >= "3.7"
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_full_version >= "3.6.1" and python_full_version < "4.0.0" and python_version >= "3.7"
Expand All @@ -50,7 +50,7 @@ datetime==4.4; python_version >= "3.5"
debugpy==1.6.0; python_version >= "3.7"
decorator==5.1.1; python_full_version >= "3.6.2" and 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")
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.20; python_full_version >= "3.7.1" and python_full_version < "4.0.0"
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.5.1; python_full_version >= "3.7.0"
Expand All @@ -61,12 +61,12 @@ docutils==0.17.1; python_version >= "3.6" and python_full_version < "3.0.0" or p
ecos==2.0.10; python_full_version >= "3.6.1" and python_full_version < "4.0.0" and python_version >= "3.7"
entrypoints==0.4; python_full_version >= "3.7.0" and python_version >= "3.7"
et-xmlfile==1.1.0; python_version >= "3.6"
exchange-calendars==3.6.2; python_version >= "3.7" and python_full_version >= "3.7.0"
exchange-calendars==3.6.3; python_version >= "3.7" and python_full_version >= "3.7.0"
executing==0.8.3; python_full_version >= "3.6.2" and python_version >= "3.8"
fastapi==0.73.0; python_full_version >= "3.6.1"
fastjsonschema==2.15.3; python_full_version >= "3.7.0" and python_version >= "3.7"
ffn==0.3.6; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0"
filelock==3.7.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
filelock==3.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"
financedatabase==1.0.2
finnhub-python==2.4.13
finviz==1.4.4
Expand Down Expand Up @@ -121,7 +121,7 @@ kiwisolver==1.4.2; python_version >= "3.7"
korean-lunar-calendar==0.2.1; python_version >= "3.7" and python_full_version >= "3.7.0"
lazy-object-proxy==1.7.1; python_version >= "3.6" and python_full_version >= "3.6.2"
linearmodels==4.26; python_version >= "3.8"
lxml==4.8.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7"
lxml==4.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"
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.3; python_full_version >= "3.6.2" and python_version >= "3.8"
Expand Down Expand Up @@ -178,7 +178,7 @@ pre-commit==2.19.0; python_version >= "3.7"
prometheus-client==0.14.1; python_version >= "3.7"
prompt-toolkit==3.0.29; python_full_version >= "3.6.2"
property-cached==1.6.4; python_version >= "3.8"
protobuf==3.19.4; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.5"
protobuf==3.20.1; python_full_version >= "3.7.1" and python_full_version < "4.0.0" and python_version >= "3.7"
psaw==0.0.12; python_version >= "3"
psutil==5.9.1; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.7"
ptyprocess==0.7.0; os_name != "nt" and python_version >= "3.8" and sys_platform != "win32" and python_full_version >= "3.6.2"
Expand Down Expand Up @@ -216,7 +216,7 @@ pytest-recording==0.12.0; python_version >= "3.5"
pytest==6.2.5; python_version >= "3.6"
python-binance==1.0.16
python-coinmarketcap==0.2
python-dateutil==2.8.2; 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 >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.6")
python-dateutil==2.8.2; 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 >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.5")
python-dotenv==0.19.2; python_version >= "3.5"
python-i18n==0.3.9
pytrends==4.8.0
Expand All @@ -226,7 +226,7 @@ pyupgrade==2.32.1; python_version >= "3.7"
pywin32==304; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_version >= "3.7" and python_full_version >= "3.7.0"
pywinpty==2.0.5; os_name == "nt" and python_version >= "3.7"
pyyaml==6.0; python_version >= "3.8"
pyzmq==23.0.0; python_full_version >= "3.7.0" and python_version >= "3.7"
pyzmq==23.1.0; python_full_version >= "3.7.0" and python_version >= "3.7"
qdldl==0.1.5.post2; python_full_version >= "3.6.1" and python_full_version < "4.0.0" and python_version >= "3.7"
qtconsole==5.3.0; python_version >= "3.7"
qtpy==2.1.0; python_version >= "3.7"
Expand All @@ -239,7 +239,7 @@ requests==2.27.1; (python_version >= "2.7" and python_full_version < "3.0.0") or
rich==10.16.2; python_full_version >= "3.6.2" and python_full_version < "4.0.0"
riskfolio-lib==3.1.1; python_version >= "3.7"
robin-stocks==2.1.0; python_version >= "3"
s3transfer==0.5.2; python_version >= "3.6"
s3transfer==0.6.0; python_version >= "3.7"
scikit-learn==1.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"
scipy==1.8.1; python_version >= "3.8" and python_version < "3.11" and python_full_version >= "3.7.1" and python_full_version < "4.0.0" and (python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0") and (python_version >= "3.8" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.8")
screeninfo==0.6.7
Expand Down Expand Up @@ -281,18 +281,18 @@ threadpoolctl==3.1.0; python_version >= "3.8" and python_full_version < "3.0.0"
tinycss2==1.1.1; python_version >= "3.7"
tokenize-rt==4.2.1; python_full_version >= "3.6.2" and python_version >= "3.7"
toml==0.10.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7"
tomli==2.0.1; python_version >= "3.8" and python_full_version >= "3.6.2" and python_version < "3.11"
tomli==2.0.1; python_version >= "3.8" and python_full_version >= "3.6.2" and python_version < "3.11" and python_full_version <= "3.11.0a6"
toolz==0.11.2; python_version >= "3.7" and python_full_version >= "3.7.0"
tornado==6.1; python_full_version >= "3.7.0" and python_version >= "3.7"
tqdm==4.64.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.4.0" and python_version >= "3.6"
tradingview-ta==3.2.10; python_version >= "3.6"
traitlets==5.2.1.post0; python_full_version >= "3.7.0" and python_version >= "3.8"
traitlets==5.2.2.post1; python_full_version >= "3.7.0" and python_version >= "3.8"
trio-websocket==0.9.2; python_version >= "3.7" and python_version < "4.0"
trio==0.20.0; python_version >= "3.7" and python_version < "4.0"
types-python-dateutil==2.8.17
types-pytz==2021.3.8
types-pyyaml==6.0.7
types-requests==2.27.29
types-pyyaml==6.0.8
types-requests==2.27.30
types-setuptools==57.4.17
types-six==1.16.15
types-urllib3==1.26.15
Expand All @@ -303,7 +303,7 @@ ujson==5.3.0; python_version >= "3.7"
undetected-chromedriver==3.1.5.post4
unidecode==1.3.4; python_version >= "3.7"
update-checker==0.18.0; python_version >= "3.7" and python_version < "4.0"
urllib3==1.26.9; python_full_version >= "3.7.1" and python_version < "4" 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.6.0") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.6")
urllib3==1.26.9; python_full_version >= "3.7.1" and python_version < "4" 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.6.0") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.7") and (python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6") and (python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7") and (python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version < "4" and python_version >= "3.7")
user-agent==0.1.10
uvicorn==0.17.6; python_version >= "3.7"
vadersentiment==3.3.2
Expand Down
1 change: 0 additions & 1 deletion build/pyinstaller/frozendict/VERSION

This file was deleted.

161 changes: 0 additions & 161 deletions build/pyinstaller/property_cached/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion build/pyinstaller/property_cached/_version.txt

This file was deleted.

12 changes: 8 additions & 4 deletions build/pyinstaller/terminal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,12 @@ set_key(default_env_file, "OPENBB_LOGGING_COMMIT_HASH", str(commit_hash))
added_files = [
(os.path.join(os.getcwd(), "openbb_terminal"), "openbb_terminal"),
(os.path.join(os.getcwd(), "routines"), "routines"),
(os.path.join(os.getcwd(), "i18n"), "i18n"),
(os.path.join(os.getcwd(), "styles"), "styles"),
("property_cached", "property_cached"),
("user_agent", "user_agent"),
("vaderSentiment", "vaderSentiment"),
(os.path.join("frozendict", "VERSION"), "frozendict"),
(os.path.join(pathex, "property_cached"), "property_cached"),
(os.path.join(pathex, "user_agent"), "user_agent"),
(os.path.join(pathex, "vaderSentiment"), "vaderSentiment"),
(os.path.join(pathex, "frozendict", "VERSION"), "frozendict"),
(
os.path.join(pathex, "linearmodels", "datasets"),
os.path.join("linearmodels", "datasets"),
Expand All @@ -53,6 +54,9 @@ added_files = [
hidden_imports = [
"sklearn.utils._cython_blas",
"sklearn.utils._typedefs",
"sklearn.utils._heap",
"sklearn.utils._sorting",
"sklearn.utils._vector_sentinel",
"sklearn.neighbors.quad_tree",
"sklearn.tree._utils",
"sklearn.neighbors._partition_nodes",
Expand Down
4 changes: 0 additions & 4 deletions build/pyinstaller/user_agent/__init__.py

This file was deleted.

Loading

0 comments on commit 83f35e8

Please sign in to comment.