From 8e8bc2c4dd58626792be452a14715f8bea60405d Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 09:34:10 -0400 Subject: [PATCH 01/16] Release 3.1 --- build/docker/compose.env | 2 +- openbb_terminal/core/models/system_model.py | 2 +- pyproject.toml | 2 +- website/content/terminal/changelog/version2_0_0.mdx | 2 +- website/content/terminal/changelog/version2_1_0.mdx | 2 +- website/content/terminal/changelog/version2_2_0.mdx | 2 +- website/content/terminal/changelog/version2_3_0.mdx | 2 +- website/content/terminal/changelog/version2_3_1.mdx | 2 +- website/content/terminal/changelog/version2_4_0.mdx | 2 +- website/content/terminal/changelog/version2_4_1.mdx | 2 +- website/content/terminal/changelog/version2_5_0.mdx | 2 +- website/content/terminal/changelog/version2_5_1.mdx | 2 +- website/content/terminal/changelog/version3_0_0.mdx | 2 +- website/content/terminal/changelog/version3_0_1.mdx | 6 +++--- website/content/terminal/changelog/version3_1_0.mdx | 7 +++++++ website/content/terminal/installation/macos.md | 2 +- website/content/terminal/installation/windows.md | 2 +- 17 files changed, 25 insertions(+), 18 deletions(-) create mode 100644 website/content/terminal/changelog/version3_1_0.mdx diff --git a/build/docker/compose.env b/build/docker/compose.env index 9a14fde1317..64c55b56956 100644 --- a/build/docker/compose.env +++ b/build/docker/compose.env @@ -1,2 +1,2 @@ OPENBBTERMINAL_DOCKER_REGISTRY="ghcr.io" -OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.0.1" +OPENBBTERMINAL_DOCKER_RELEASE_VERSION="3.1.0" diff --git a/openbb_terminal/core/models/system_model.py b/openbb_terminal/core/models/system_model.py index a03696d6d8e..91c1bcfc9a6 100644 --- a/openbb_terminal/core/models/system_model.py +++ b/openbb_terminal/core/models/system_model.py @@ -28,7 +28,7 @@ class SystemModel(BaseModel): PLATFORM: str = str(platform.platform()) # OpenBB section - VERSION: str = "3.0.1" + VERSION: str = "3.1.0" # Logging section LOGGING_APP_ID: str = "REPLACE_ME" diff --git a/pyproject.toml b/pyproject.toml index 564222a32a0..12f45f1880f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "openbb" -version = "3.0.1" +version = "3.1.0" description = "Investment Research for Everyone, Anywhere." license = "MIT" authors = ["Didier Rodrigues Lopes"] diff --git a/website/content/terminal/changelog/version2_0_0.mdx b/website/content/terminal/changelog/version2_0_0.mdx index 9a086d4f03f..7bf588bfefd 100644 --- a/website/content/terminal/changelog/version2_0_0.mdx +++ b/website/content/terminal/changelog/version2_0_0.mdx @@ -3,7 +3,7 @@ title: v2.0.0 version: "2.0.0" date: 2022-11-29 description: v2.0.0 -sidebar_position: 102 +sidebar_position: 103 --- ## Major Release Notes diff --git a/website/content/terminal/changelog/version2_1_0.mdx b/website/content/terminal/changelog/version2_1_0.mdx index 63587fd176a..730e140eea0 100644 --- a/website/content/terminal/changelog/version2_1_0.mdx +++ b/website/content/terminal/changelog/version2_1_0.mdx @@ -3,7 +3,7 @@ title: v2.1.0 version: "2.1.0" date: 2022-12-21 description: v2.1.0 -sidebar_position: 101 +sidebar_position: 102 --- ## What's new diff --git a/website/content/terminal/changelog/version2_2_0.mdx b/website/content/terminal/changelog/version2_2_0.mdx index c71e655d363..0cabe8e00c2 100644 --- a/website/content/terminal/changelog/version2_2_0.mdx +++ b/website/content/terminal/changelog/version2_2_0.mdx @@ -3,7 +3,7 @@ title: v2.2.0 version: "2.2.0" date: 2022-01-19 description: v2.2.0 -sidebar_position: 100 +sidebar_position: 101 --- ## What's new diff --git a/website/content/terminal/changelog/version2_3_0.mdx b/website/content/terminal/changelog/version2_3_0.mdx index ed4b919b1aa..92dffb8f6d8 100644 --- a/website/content/terminal/changelog/version2_3_0.mdx +++ b/website/content/terminal/changelog/version2_3_0.mdx @@ -3,7 +3,7 @@ title: v2.3.0 version: "2.3.0" date: 2023-01-31 description: v2.3.0 -sidebar_position: 99 +sidebar_position: 100 --- diff --git a/website/content/terminal/changelog/version2_3_1.mdx b/website/content/terminal/changelog/version2_3_1.mdx index 3fc50e3b1a8..991af4aa0b7 100644 --- a/website/content/terminal/changelog/version2_3_1.mdx +++ b/website/content/terminal/changelog/version2_3_1.mdx @@ -3,7 +3,7 @@ title: v2.3.1 version: "2.3.1" date: 2023-02-01 description: v2.3.1 -sidebar_position: 98 +sidebar_position: 99 --- ## Fixed diff --git a/website/content/terminal/changelog/version2_4_0.mdx b/website/content/terminal/changelog/version2_4_0.mdx index b257ebde9d4..96f9424be88 100644 --- a/website/content/terminal/changelog/version2_4_0.mdx +++ b/website/content/terminal/changelog/version2_4_0.mdx @@ -3,7 +3,7 @@ title: v2.4.0 version: "2.4.0" date: 2023-02-14 description: v2.4.0 -sidebar_position: 97 +sidebar_position: 98 --- ## What's new diff --git a/website/content/terminal/changelog/version2_4_1.mdx b/website/content/terminal/changelog/version2_4_1.mdx index efd39c86020..0f9d28ff4a1 100644 --- a/website/content/terminal/changelog/version2_4_1.mdx +++ b/website/content/terminal/changelog/version2_4_1.mdx @@ -3,7 +3,7 @@ title: v2.4.1 version: "2.4.1" date: 2023-02-17 description: v2.4.1 -sidebar_position: 96 +sidebar_position: 97 --- ## What's new diff --git a/website/content/terminal/changelog/version2_5_0.mdx b/website/content/terminal/changelog/version2_5_0.mdx index 2a93c984767..60d7c0e5ea7 100644 --- a/website/content/terminal/changelog/version2_5_0.mdx +++ b/website/content/terminal/changelog/version2_5_0.mdx @@ -3,7 +3,7 @@ title: v2.5.0 version: "2.5.0" date: 2023-03-01 description: v2.5.0 -sidebar_position: 95 +sidebar_position: 96 --- diff --git a/website/content/terminal/changelog/version2_5_1.mdx b/website/content/terminal/changelog/version2_5_1.mdx index fdfd7f49057..ec42dfeac79 100644 --- a/website/content/terminal/changelog/version2_5_1.mdx +++ b/website/content/terminal/changelog/version2_5_1.mdx @@ -3,7 +3,7 @@ title: 2.5.1 version: "2.5.1" date: 2023-03-01 description: Current - v2.5.1 -sidebar_position: 94 +sidebar_position: 95 --- ## Fixed diff --git a/website/content/terminal/changelog/version3_0_0.mdx b/website/content/terminal/changelog/version3_0_0.mdx index 80c60941d52..f3f2838fd20 100644 --- a/website/content/terminal/changelog/version3_0_0.mdx +++ b/website/content/terminal/changelog/version3_0_0.mdx @@ -3,7 +3,7 @@ title: v3.0.0 version: "3.0.0" date: 2023-04-25 description: v3.0.0 -sidebar_position: 93 +sidebar_position: 94 --- ## What's new diff --git a/website/content/terminal/changelog/version3_0_1.mdx b/website/content/terminal/changelog/version3_0_1.mdx index 0d60ea932eb..1750ff4a9f2 100644 --- a/website/content/terminal/changelog/version3_0_1.mdx +++ b/website/content/terminal/changelog/version3_0_1.mdx @@ -1,9 +1,9 @@ --- -title: Current - v3.0.1 +title: v3.0.1 version: "3.0.1" date: 2023-05-15 -description: Current - v3.0.1 -sidebar_position: 92 +description: v3.0.1 +sidebar_position: 93 --- ## Thank you and welcome to our new contributors 🔥 diff --git a/website/content/terminal/changelog/version3_1_0.mdx b/website/content/terminal/changelog/version3_1_0.mdx new file mode 100644 index 00000000000..53e247de2e7 --- /dev/null +++ b/website/content/terminal/changelog/version3_1_0.mdx @@ -0,0 +1,7 @@ +--- +title: Current - v3.1.0 +version: "3.1.0" +date: 2023-06-21 +description: Current - v3.1.0 +sidebar_position: 92 +--- diff --git a/website/content/terminal/installation/macos.md b/website/content/terminal/installation/macos.md index 3c059c54571..68e3a5f6ab3 100644 --- a/website/content/terminal/installation/macos.md +++ b/website/content/terminal/installation/macos.md @@ -37,7 +37,7 @@ Install the OpenBB Terminal on MacOS (Big Sur or later). There are two versions
- +
Minimum Requirements diff --git a/website/content/terminal/installation/windows.md b/website/content/terminal/installation/windows.md index 66c2ec20f37..67d45d531fe 100644 --- a/website/content/terminal/installation/windows.md +++ b/website/content/terminal/installation/windows.md @@ -30,7 +30,7 @@ import InstallerButton from "@site/src/components/General/InstallerButton"; This section provides you with the installation file as well as the guide to install the OpenBB Terminal via Windows (10 or greater). - +
Minimum Requirements From 12406a90c620de941accb6c2fa125db7ea86b6c7 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 10:10:43 -0400 Subject: [PATCH 02/16] Update mdx --- .github/release-drafter.yml | 1 + .../terminal/changelog/version3_1_0.mdx | 99 +++++++++++++++++++ 2 files changed, 100 insertions(+) diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 34c0a9cf6d9..1d002032d50 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -18,6 +18,7 @@ exclude-contributors: - 'andrewkenreich' - 'IgorWounds' - 'jerryduluk' + - 'minhhoang1023' template: | ## Thank you and welcome to our new contributors 🔥 diff --git a/website/content/terminal/changelog/version3_1_0.mdx b/website/content/terminal/changelog/version3_1_0.mdx index 53e247de2e7..198266d051e 100644 --- a/website/content/terminal/changelog/version3_1_0.mdx +++ b/website/content/terminal/changelog/version3_1_0.mdx @@ -5,3 +5,102 @@ date: 2023-06-21 description: Current - v3.1.0 sidebar_position: 92 --- + +## Thank you and welcome to our new contributors 🔥 +@AdiSai, @LOne2three, @Sai-132, @bimbolimbo, @jj701 and @skhan59bbk + +## What's new 🎉 + +- askobb is released in BETA mode. We are still working on fine tuning certain aspects, but are looking forward to hearing from you! +- Routine recording enhanced. You can now have description and tags, which will upload to the OpenBB Hub. +- Routine scripting enhanced +- New news sentiment function provided from Onclusive +- Enhanced Options SDK functionalities +- General enhancements and bug fixes + +## What's changed 🚀 +* hotfix/ no username on reset (#5161) @tehcoderer +* Feature/routine tags (#5154) @montezdesousa +* Fix shrs table (#5163) @IgorWounds +* hotfix/options-stats-index-rename: renames the index column to 'strike' when `get_stats('strike')` (#5160) @deeleeramone +* Feature/ Pywry login (#5115) @tehcoderer +* hotfix/options-chains-guide: Adds SDK intro guide for Options Chains (#5155) @deeleeramone +* Query askobb on api openbb co (#5153) @jmaslek +* Progressive improvements to `askobb` v0.3 (#5150) @martinb-bb +* Progressive improvements to `askobb` (#5148) @martinb-bb +* Feature/options - OpenBB Options Enhancement Proposal (Part 1 - SDK) (#5079) @deeleeramone +* Small enhancements (#5146) @jmaslek +* added error handling (#5147) @bimbolimbo +* hotfix/docs-faq-debug-mode: Adds debug mode instructions for Terminal and SDK (#5145) @deeleeramone +* hotfix/ Change theme fails if `trace.marker.color` isn't an array (#5144) @tehcoderer +* hotfix/ Chart Overlay x column not setting by default (#5142) @tehcoderer +* Move askobb to cmd and change question to prompt (#5141) @jmaslek +* Fix balance sheet (#5139) @IgorWounds +* Wrong type ticker (#5138) @bimbolimbo +* Fix income and cash flow statements (#5137) @IgorWounds +* hotfix/fix-screener: Fix for #5135 (#5136) @deeleeramone +* Add index names so import works (#5134) @jmaslek +* Adds crypto fees revenue command (#4067) @jose-donato +* Fix wrapping (#5133) @IgorWounds +* Fix help and question (#5132) @IgorWounds +* Fix blank chart (#5128) @IgorWounds +* small typo fix in contributing guidelines (#5125) @bimbolimbo +* hotfix/ Include plotly.js in reports html + Improve Charts in Reports (#5126) @tehcoderer +* hotfix/ tables `pd.to_numeric` (#5124) @tehcoderer +* Feature/news sentiment (#4339) @Sai-132 +* Large Language Model - Text to command (#4695) @minhhoang1023 +* adds VIX9D and VIX3M to index list (#5119) @deeleeramone +* Vscode/Github Codespaces dev container (#4975) @jj701 +* hotfix/ bump Pywry fixes High CPU usage (#5122) @tehcoderer +* Remove all key logger.info (#5112) @jmaslek +* feature/ Set profile on identify (#5102) @tehcoderer +* hotfix/deprecate-options-screener: Sunsets deprecated Options screener (#5111) @deeleeramone +* hotfix/ wrong default for `yaxisFixedRange` (#5106) @tehcoderer +* hotfix/fa-yfinance-plot - makes `stocks/fa/income --plot` output match everything else. (#5101) @deeleeramone +* Hotfix/ Tables + Charts Issues (#5100) @tehcoderer +* Avoid pandas' SettingWithCopyWarning (#5105) @piiq +* hotfix/fix-balance-headers: Fixes #5094 (#5099) @deeleeramone +* Feature/futures curve history (#5086) @skhan59bbk +* fixes stocks/fa integration test file (#5092) @deeleeramone +* hotfix/ca-sentiment-raw-date: Fixes #5095 (#5097) @deeleeramone +* hotfix/ XAxis Dateindex format (#5098) @tehcoderer +* No guest if installer (#5076) @montezdesousa +* hotfix/integration-test-fixes - patches integration tests: stocks/test_insider and test_screener (#5084) @deeleeramone +* hotfix/ Dashboards random issue with theme not loading (#5082) @tehcoderer +* fixing rating command (#5081) @andrewkenreich +* Upload routine to hub on stop (#5077) @montezdesousa +* Install Page: adds reference to the YAML files for Python 3.8 and 3.10 (#5073) @deeleeramone +* OpenBB Script Routines major improvement (#5005) @DidierRLopes +* Add more futures to curve (and probably some more bugs) (#5049) @jmaslek +* Update download link on update version text (#5075) @jmaslek +* Creates examples folder for SDK Notebook examples (#5057) @deeleeramone +* Feature/ultima top headlines (#5061) @AdiSai +* Hotfix/reddit spacc (#5067) @LOne2three +* Hotfix/cpdesc (#5070) @colin99d +* Adds test for collinearity to the `econometrics` menu (#5018) @northern-64bit +* Fixes Description on Fixedincome (#5065) @colin99d +* Fix `/keys` status does not update after logging in (#5055) @montezdesousa +* hotfix/ Options Historical + Crypto candles (#5064) @tehcoderer +* fix integration test for fixedincome controller (#5060) @deeleeramone +* Hotfix/docs-sdk-basics: Updates SDK basics page. (#5024) @deeleeramone +* Preserve stock ticker suffix (#5056) @IgorWounds +* Increases Integration Tests Coverage (#5051) @deeleeramone +* 100% coverage for fixed income integration tests (#5048) @deeleeramone +* Adds `primaryUsage` to Posthog logs (#5037) @hjoaquim +* Hotfix/edebt (#5046) @IgorWounds +* Remove \n from insider table (#5045) @IgorWounds +* Hotfix/ Candle --log (#5039) @tehcoderer +* hotfix/ Charts Theme change not persisting (#5036) @tehcoderer +* Fix file edge case (#5033) @IgorWounds +* Removal of Interactive Charts Legacy Web Modules (#5034) @tehcoderer +* hotfix/ modebar hide/show on hotkeys (#5026) @tehcoderer +* fixing min-mix stikes on options (#5028) @andrewkenreich +* Release/3.0.1 (#5031) @jmaslek +* Release/3.0.1 (#5025) @jmaslek + +We are proud of our community contributors and staunch supporters of open-source ecosystems. +Help us promote our community by tagging `@openbb_finance` on Twitter with a link to your pull request, +and join our Discord server to chat about your contribution! We want to hear about your experience! + +### Links 🦋 +[Website](https://openbb.co/), [Twitter](https://twitter.com/openbb_finance), [Linkedin](https://www.linkedin.com/company/openbb-finance), [Instagram](https://www.instagram.com/openbb.finance/), [Reddit](https://www.reddit.com/r/openbb/), [Discord](https://discord.com/invite/xPHTuHCmuV) From 590f487dbdcf1ee53d513998acb1dae332988bc0 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 10:33:40 -0400 Subject: [PATCH 03/16] update test --- tests/openbb_terminal/stocks/options/test_intrinio_model.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/openbb_terminal/stocks/options/test_intrinio_model.py b/tests/openbb_terminal/stocks/options/test_intrinio_model.py index 34d06795d18..21c36138a6b 100644 --- a/tests/openbb_terminal/stocks/options/test_intrinio_model.py +++ b/tests/openbb_terminal/stocks/options/test_intrinio_model.py @@ -98,6 +98,7 @@ def test_SYMBOLS(recorder): recorder.capture(results_df[0]) +@pytest.mark.timeout(90) @pytest.mark.vcr def test_load_options(recorder): data = intrinio_model.load_options("AAPL") From ba25b25436e193a9a9600e261e7f6b3b00c6bb44 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 10:43:02 -0400 Subject: [PATCH 04/16] update unit test on windows --- .github/workflows/unit-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 3fe240543b1..329bbd19c8f 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,6 +332,7 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | + pip install wheel==0.40.0 pip install --requirement requirements-full.txt pip uninstall Brotli -y From 8885bece1a86b8f1d0a088ca3412552ea5a2f81c Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 10:58:19 -0400 Subject: [PATCH 05/16] why is windows so bad --- .github/workflows/unit-test.yml | 1 - build/conda/conda-3-9-env.yaml | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 329bbd19c8f..3fe240543b1 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,7 +332,6 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | - pip install wheel==0.40.0 pip install --requirement requirements-full.txt pip uninstall Brotli -y diff --git a/build/conda/conda-3-9-env.yaml b/build/conda/conda-3-9-env.yaml index 53b803946d6..92e2affe056 100644 --- a/build/conda/conda-3-9-env.yaml +++ b/build/conda/conda-3-9-env.yaml @@ -21,6 +21,8 @@ dependencies: - pip: # Build dependencies - poetry ==1.4.0 + - wheel ==0.40.0 + - setuptools ==65.4.1 # Main dependencies - charset-normalizer ==3.1.0 # Forecasting dependencies From 9d915f1aed3fc4229ac290b0f68c3062b3d902cd Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 11:17:46 -0400 Subject: [PATCH 06/16] change conda again --- build/conda/conda-3-9-env.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/conda/conda-3-9-env.yaml b/build/conda/conda-3-9-env.yaml index 92e2affe056..e5645b62600 100644 --- a/build/conda/conda-3-9-env.yaml +++ b/build/conda/conda-3-9-env.yaml @@ -8,6 +8,7 @@ dependencies: - pip - pybind11 - cmake + - wheel ==0.40.0 # System dependencies - openssl =1.1.1 - libtiff @@ -21,8 +22,6 @@ dependencies: - pip: # Build dependencies - poetry ==1.4.0 - - wheel ==0.40.0 - - setuptools ==65.4.1 # Main dependencies - charset-normalizer ==3.1.0 # Forecasting dependencies From b3c8a0acbbd78b5e571ff584ea270b3f23e2a381 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 11:29:42 -0400 Subject: [PATCH 07/16] again --- build/conda/conda-3-9-env.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/conda/conda-3-9-env.yaml b/build/conda/conda-3-9-env.yaml index e5645b62600..de7afa86c55 100644 --- a/build/conda/conda-3-9-env.yaml +++ b/build/conda/conda-3-9-env.yaml @@ -8,7 +8,7 @@ dependencies: - pip - pybind11 - cmake - - wheel ==0.40.0 + - wheel =0.40.0 # System dependencies - openssl =1.1.1 - libtiff From 0d0b330f729a840ea8078c42f69dca18a85899a0 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 11:35:10 -0400 Subject: [PATCH 08/16] again --- build/conda/conda-3-9-env.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/conda/conda-3-9-env.yaml b/build/conda/conda-3-9-env.yaml index de7afa86c55..6ec9ed3d6ff 100644 --- a/build/conda/conda-3-9-env.yaml +++ b/build/conda/conda-3-9-env.yaml @@ -8,7 +8,7 @@ dependencies: - pip - pybind11 - cmake - - wheel =0.40.0 + - wheel # System dependencies - openssl =1.1.1 - libtiff From 3450a563dbc22d4cb7214e9e7f41ee803c6dd37d Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 11:56:48 -0400 Subject: [PATCH 09/16] idk now --- .github/workflows/unit-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 3fe240543b1..6e67adb2678 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,6 +332,7 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | + pip uninstall wheel -y pip install --requirement requirements-full.txt pip uninstall Brotli -y From 2280037aa043bdd09426b6e32cf4e5c4ef966af7 Mon Sep 17 00:00:00 2001 From: andrewkenreich Date: Wed, 21 Jun 2023 12:30:44 -0400 Subject: [PATCH 10/16] testing --- .github/workflows/unit-test.yml | 2 +- build/conda/conda-3-9-env.yaml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 6e67adb2678..4cdb6e2f2a2 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,7 +332,7 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | - pip uninstall wheel -y + pip install wheel==0.40.0 --user pip install --requirement requirements-full.txt pip uninstall Brotli -y diff --git a/build/conda/conda-3-9-env.yaml b/build/conda/conda-3-9-env.yaml index 6ec9ed3d6ff..53b803946d6 100644 --- a/build/conda/conda-3-9-env.yaml +++ b/build/conda/conda-3-9-env.yaml @@ -8,7 +8,6 @@ dependencies: - pip - pybind11 - cmake - - wheel # System dependencies - openssl =1.1.1 - libtiff From 2a93a89ce6915a761c9257fcfd95a943a1d495b6 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 12:53:32 -0400 Subject: [PATCH 11/16] idk anymore --- .github/workflows/unit-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 4cdb6e2f2a2..f7ad159833f 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,8 +332,7 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | - pip install wheel==0.40.0 --user - pip install --requirement requirements-full.txt + pip install --requirement requirements-full.txt --user pip uninstall Brotli -y - name: List installed packages (Bash) From 66315e8ce420cd4d5f1cc89a3a56f5bb0fd46dff Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 13:18:05 -0400 Subject: [PATCH 12/16] Addings --user did not work --- .github/workflows/unit-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index f7ad159833f..3fe240543b1 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -332,7 +332,7 @@ jobs: - name: Install dependencies (Bash) shell: bash -l {0} run: | - pip install --requirement requirements-full.txt --user + pip install --requirement requirements-full.txt pip uninstall Brotli -y - name: List installed packages (Bash) From bdc23a6f2f20a8cd322aa6a2de9df69fafc7c72b Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 15:09:16 -0400 Subject: [PATCH 13/16] just change the message for being logged in --- openbb_terminal/core/plots/backend.py | 4 ++-- openbb_terminal/parent_classes.py | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/openbb_terminal/core/plots/backend.py b/openbb_terminal/core/plots/backend.py index 2dc7f5a90eb..9f62181f24a 100644 --- a/openbb_terminal/core/plots/backend.py +++ b/openbb_terminal/core/plots/backend.py @@ -448,10 +448,10 @@ class Backend(PyWry): messages_dict = dict( login=dict( message="Welcome to OpenBB Terminal! Please login to continue.", - interrupt="Login cancelled. Continuing as guest.", + interrupt="Window closed without authentication. Please proceed below.", ), logout=dict( - message="Sending logout request", interrupt="Continuing as guest." + message="Sending logout request", interrupt="Please login to continue." ), ) diff --git a/openbb_terminal/parent_classes.py b/openbb_terminal/parent_classes.py index 4fbf78b7b3a..1a4dcb53192 100644 --- a/openbb_terminal/parent_classes.py +++ b/openbb_terminal/parent_classes.py @@ -348,7 +348,9 @@ class BaseController(metaclass=ABCMeta): "I cannot provide", ] ): - console.print(f"[green]Suggested Command:[/green] {response}\n") + console.print( + f"[green]Suggested Command:[/green] /{response}\n" + ) console.print( "[yellow]Would you like to run this command?(y/n/fb)[/yellow]" From 909b41b4d96d8cc8568b0425036be4c48009470b Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 16:08:40 -0400 Subject: [PATCH 14/16] python generate sdk --- .../core/sdk/models/forecast_sdk_model.py | 1 - .../core/sdk/models/portfolio_sdk_model.py | 1 - openbb_terminal/sdk.py | 21 +++++++++++++++++++ 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/openbb_terminal/core/sdk/models/forecast_sdk_model.py b/openbb_terminal/core/sdk/models/forecast_sdk_model.py index be6fbc3e4f0..dacbfa927a3 100644 --- a/openbb_terminal/core/sdk/models/forecast_sdk_model.py +++ b/openbb_terminal/core/sdk/models/forecast_sdk_model.py @@ -78,7 +78,6 @@ class ForecastRoot(Category): if not lib.FORECASTING_TOOLKIT_ENABLED: # pylint: disable=C0415 - from openbb_terminal.rich_config import console console.print(lib.FORECASTING_TOOLKIT_WARNING) diff --git a/openbb_terminal/core/sdk/models/portfolio_sdk_model.py b/openbb_terminal/core/sdk/models/portfolio_sdk_model.py index bc4558a9aea..14457d671fd 100644 --- a/openbb_terminal/core/sdk/models/portfolio_sdk_model.py +++ b/openbb_terminal/core/sdk/models/portfolio_sdk_model.py @@ -178,7 +178,6 @@ class PortfolioPortfolioOptimization(Category): if not lib.OPTIMIZATION_TOOLKIT_ENABLED: # pylint: disable=C0415 - from openbb_terminal.rich_config import console console.print(lib.OPTIMIZATION_TOOLKIT_WARNING) diff --git a/openbb_terminal/sdk.py b/openbb_terminal/sdk.py index 70de201b966..791a78b97b6 100644 --- a/openbb_terminal/sdk.py +++ b/openbb_terminal/sdk.py @@ -1,48 +1,69 @@ """OpenBB Terminal SDK.""" + # ######### THIS FILE IS AUTO GENERATED - ANY CHANGES WILL BE VOID ######### # + # flake8: noqa + # pylint: disable=unused-import,wrong-import-order + # pylint: disable=C0302,W0611,R0902,R0903,C0412,C0301,not-callable + import logging + import openbb_terminal.config_terminal as cfg + from openbb_terminal import helper_funcs as helper # noqa: F401 + from openbb_terminal.core.plots.plotly_helper import theme # noqa: F401 + from openbb_terminal.cryptocurrency.due_diligence.pycoingecko_model import Coin + from openbb_terminal.dashboards.dashboards_controller import DashboardsController + from openbb_terminal.helper_classes import TerminalStyle # noqa: F401 + from openbb_terminal.reports import widget_helpers as widgets # noqa: F401 + from openbb_terminal.reports.reports_controller import ReportController + import openbb_terminal.core.sdk.sdk_init as lib + from openbb_terminal.core.sdk import ( controllers as ctrl, models as model, ) + from openbb_terminal.core.session.current_system import get_current_system + from openbb_terminal.core.session.current_user import is_local + from openbb_terminal.terminal_helper import is_auth_enabled + cfg.setup_config_terminal(is_sdk=True) + logger = logging.getLogger(__name__) + cfg.theme.applyMPLstyle() From 5156dd58d16b4ed96f0674dabddead3583ea5d89 Mon Sep 17 00:00:00 2001 From: andrewkenreich Date: Wed, 21 Jun 2023 20:31:39 -0400 Subject: [PATCH 15/16] update ssl cert --- .github/workflows/windows10_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows10_build.yml b/.github/workflows/windows10_build.yml index fe67fb24ba2..57a2ff18d7a 100644 --- a/.github/workflows/windows10_build.yml +++ b/.github/workflows/windows10_build.yml @@ -94,7 +94,7 @@ jobs: - name: Sign Installer if: startsWith(github.ref, 'refs/heads/main') run: | - & 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe' sign /fd sha256 /tr http://ts.ssl.com /td sha256 /sha1 26a8e28dbe3b1db7407b92d7de97c290d4436a32 'C:\Users\Administrator\actions-runner\_work\OpenBBTerminal\OpenBBTerminal\build\nsis\OpenBB Terminal Setup.exe' + & 'C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x86\signtool.exe' sign /fd sha256 /tr http://ts.ssl.com /td sha256 /sha1 0bf95b74b3b8763434e1782df36052d42c5c0bef 'C:\Users\Administrator\actions-runner\_work\OpenBBTerminal\OpenBBTerminal\build\nsis\OpenBB Terminal Setup.exe' - name: Save Build Artifact uses: actions/upload-artifact@v3 From 8b08786898ca143f5ef15997d0f380c919ca23d8 Mon Sep 17 00:00:00 2001 From: James Maslek Date: Wed, 21 Jun 2023 21:42:08 -0400 Subject: [PATCH 16/16] no cache pip --- .github/workflows/windows10_build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows10_build.yml b/.github/workflows/windows10_build.yml index 57a2ff18d7a..005ada68fe0 100644 --- a/.github/workflows/windows10_build.yml +++ b/.github/workflows/windows10_build.yml @@ -37,7 +37,7 @@ jobs: python -m venv venv --upgrade-deps source venv/Scripts/activate python -m pip install setuptools==65.4.1 wheel - python -m pip install -r requirements-full.txt + python -m pip install -r requirements-full.txt --no-cache-dir python -m pip uninstall papermill -y python -m pip install git+https://github.com/nteract/papermill.git@main python -m PyInstaller build/pyinstaller/terminal.spec --clean