diff options
author | teh_coderer <me@tehcoderer.com> | 2023-03-05 20:50:41 -0500 |
---|---|---|
committer | teh_coderer <me@tehcoderer.com> | 2023-03-05 20:50:41 -0500 |
commit | 37b71edefd8cbd0f398ec0f02fc14d8efa1c4abe (patch) | |
tree | d2c2863a765c3bfcdceb850ec5e16ae9271fde01 | |
parent | 6b58bab580ca759d55caeba4a4ad6d38302dc80c (diff) |
bump pywry version, readd removed `plots_backend().start()`
-rw-r--r-- | .github/workflows/unit-test.yml | 7 | ||||
-rw-r--r-- | openbb_terminal/config_terminal.py | 4 | ||||
-rw-r--r-- | openbb_terminal/terminal_helper.py | 3 | ||||
-rw-r--r-- | poetry.lock | 24 | ||||
-rw-r--r-- | pyproject.toml | 2 |
5 files changed, 22 insertions, 18 deletions
diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 1163b7b54e7..edeb7d321fe 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -60,7 +60,7 @@ jobs: base-test: name: Base Tests - Ubuntu-latest - Python 3.9 needs: [check-files-changed] - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 if: needs.check-files-changed.outputs.check-changes == 'true' && github.event.pull_request.base.ref == 'develop' steps: - name: Checkout Code @@ -79,9 +79,6 @@ jobs: virtualenvs-create: true virtualenvs-in-project: true - - name: Install nightly rust - run: curl --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly - - name: Setup sudo apt installs for ubuntu-latest run: | sudo apt-get update @@ -98,7 +95,7 @@ jobs: make \ file \ librsvg2-dev \ - libwebkit2gtk-4.1-dev \ + libwebkit2gtk-4.0-dev \ libayatana-appindicator3-dev - name: Load cached venv diff --git a/openbb_terminal/config_terminal.py b/openbb_terminal/config_terminal.py index 2c1e28427a9..44d7a66830c 100644 --- a/openbb_terminal/config_terminal.py +++ b/openbb_terminal/config_terminal.py @@ -7,6 +7,7 @@ import i18n # IMPORTATION INTERNAL from openbb_terminal.base_helpers import load_env_vars, strtobool from openbb_terminal.core.config.paths import MISCELLANEOUS_DIRECTORY +from openbb_terminal.core.plots.backend import plots_backend from openbb_terminal.core.session.current_user import get_current_user from .helper_classes import TerminalStyle as _TerminalStyle @@ -19,6 +20,9 @@ theme = _TerminalStyle( current_user.preferences.RICH_STYLE, ) +# Start Backend for plotting +plots_backend().start(load_env_vars("DEBUG_MODE", strtobool, False)) + # Logging section # USE IN LOG LINES + FOR FOLDER NAME INSIDE S3 BUCKET diff --git a/openbb_terminal/terminal_helper.py b/openbb_terminal/terminal_helper.py index 9eb665264d4..210982db0b7 100644 --- a/openbb_terminal/terminal_helper.py +++ b/openbb_terminal/terminal_helper.py @@ -20,6 +20,7 @@ from openbb_terminal import ( feature_flags as obbff, thought_of_the_day as thought, ) +from openbb_terminal.base_helpers import load_env_files from openbb_terminal.config_terminal import LOGGING_COMMIT_HASH # IMPORTATION INTERNAL @@ -354,6 +355,8 @@ def reset(queue: Optional[List[str]] = None): if parts[0] == "openbb_terminal": del sys.modules[module] + # we reload the env files + load_env_files() # pylint: disable=import-outside-toplevel from openbb_terminal.terminal_controller import main diff --git a/poetry.lock b/poetry.lock index 02b3bd060e8..0cbc7793d8a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -6888,21 +6888,21 @@ files = [ [[package]]
name = "pywry"
-version = "0.3.5"
+version = "0.3.6"
description = ""
category = "main"
optional = false
python-versions = ">=3.8"
files = [
- {file = "pywry-0.3.5-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:24141f8a4205df84f2347dac968661b6324b32c0d198de609708094dbc0e2b5d"},
- {file = "pywry-0.3.5-cp310-none-win_amd64.whl", hash = "sha256:c6dede5390f6480d99f8b81f081e526ac8fb17c72032e8b4fed97c8d6c00b712"},
- {file = "pywry-0.3.5-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:307f29806d864526681aed8cefccbc7a8e81193348fe09599a57bf29611e0a40"},
- {file = "pywry-0.3.5-cp311-none-win_amd64.whl", hash = "sha256:07f4ed6808a9ec3de87d5cf15a0c4f5d954958020280fdb42af8072ea1c8e947"},
- {file = "pywry-0.3.5-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:ddaebc7356c029e4a8279315548df77e0127eb474061be6e69589352d301b6d7"},
- {file = "pywry-0.3.5-cp38-none-win_amd64.whl", hash = "sha256:9a99eab511bb2595007e681952a1f0c3577a30f79827da9a3621ccbb04a2acf5"},
- {file = "pywry-0.3.5-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:fade2dda18edb6f62090f4e1cee1db05ab99b53a5b6b95a07c67019f38c8c281"},
- {file = "pywry-0.3.5-cp39-none-win_amd64.whl", hash = "sha256:6abedc4d61bd13011c5b8b1753bd8495b85980f394e36d929c5fcfa8e41f6855"},
- {file = "pywry-0.3.5.tar.gz", hash = "sha256:b8a9b3083f2f708b25ace01806acdf5e1cc4c8e393c03ca1803f89d512910150"},
+ {file = "pywry-0.3.6-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:cd63ef0778a424f40d98f40721f3d55821d0736ed80729db46215fb08a28b89c"},
+ {file = "pywry-0.3.6-cp310-none-win_amd64.whl", hash = "sha256:c92330959eeebd24daf16c2890d973b9a08e7660af444cc38a67de1a4cd5a587"},
+ {file = "pywry-0.3.6-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:0fb30463acac1e8e31fa90ea3a303696d5c4189b689bc8d03bfd6255bc07af56"},
+ {file = "pywry-0.3.6-cp311-none-win_amd64.whl", hash = "sha256:f7db722823dfbdb98a4fe548cdb2f42cad218c375b70dce13e8bb1f5d00de5f4"},
+ {file = "pywry-0.3.6-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:5712dfde5b964585f66dd88c1d08bc25266dc85d50c10fafc01f607cb58a1a0f"},
+ {file = "pywry-0.3.6-cp38-none-win_amd64.whl", hash = "sha256:10cebfd96689e055655512b49d62c294df25d7aa286a7e7fb7ddd7b931cd2de0"},
+ {file = "pywry-0.3.6-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:6aacd446d71b55fa74effe19c11502d4b47f4e41d6474b278ef4eb62ab38de09"},
+ {file = "pywry-0.3.6-cp39-none-win_amd64.whl", hash = "sha256:61d0d266906bd8cd8a92eada82c94a94c16c191ff93d8d6c4f1641fcfb99cb2e"},
+ {file = "pywry-0.3.6.tar.gz", hash = "sha256:40d3ce8094723e1a27e846c3a06c923c8441387c6d34874c968f4571bee46534"},
]
[package.dependencies]
@@ -6910,7 +6910,7 @@ psutil = ">=5.8.0" websockets = ">=5.0.1"
[package.extras]
-dev = ["maturin (==0.14.12)"]
+dev = ["maturin (==0.14.15)", "setuptools", "setuptools-rust", "wheel"]
[[package]]
name = "pyyaml"
@@ -10288,4 +10288,4 @@ optimization = ["Riskfolio-Lib"] [metadata]
lock-version = "2.0"
python-versions = "^3.8,<3.11, !=3.9.7"
-content-hash = "72feed322bdc8fd04d8d66bc73218725755bae569ff74397784b8e2fbd8eb781"
+content-hash = "410b35584f79d03f87900b5d50c622098fdcb8adbcd393bf674e36fe28679b09"
diff --git a/pyproject.toml b/pyproject.toml index afab943907b..c8da4f9fd50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -105,7 +105,7 @@ mstarpy = "^0.0.4" packaging = ">=22.0" rapidfuzz = "^2.13.7" streamlit = "^1.17.0" -pywry = "^0.3.5" +pywry = "^0.3.6" svglib = "^1.5.0" sparqlwrapper = "^2.0.0" y-py = "!=0.5.5" # Untraceable third level dependency that requires cargo to be built |