Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More v3 removals #6141

Merged
merged 16 commits into from
Feb 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions .github/workflows/macos-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,26 +140,6 @@ jobs:
pkgutil --expand-full OpenBBTerminal.pkg extract/
rm -rf OpenBBTerminal.pkg

- name: Run Integration Tests
run: |
extract/OpenBBTerminal.pkg/Payload/Applications/OpenBB\ Terminal/.OpenBB/OpenBBTerminal -t -s forecast cryptocurrency reports alternative economy futures econometrics dashboards portfolio stocks/test_stocks_options_screen.openbb stocks/test_stocks_options.openbb forex etf stocks/test_stocks_fa.openbb | tee result.txt
grep "================================ Integration Test Summary ================================" result.txt -A100 | tail --bytes=2000 > summary.txt

- name: Run Integration Tests Coverage Report
run: |
extract/OpenBBTerminal.pkg/Payload/Applications/OpenBB\ Terminal/.OpenBB/OpenBBTerminal -t --coverage | tee result.txt
echo >> summary.txt
sed -n '/Integration Coverage Summary/,$p' result.txt >> summary.txt

- name: Upload summary to Slack
uses: adrey/slack-file-upload-action@master
with:
token: ${{ secrets.SLACK_API_TOKEN }}
initial_comment: "MacOs Build Integration test summary"
title: "MacOs Build Integration test summary"
path: summary.txt
channel: ${{ secrets.SLACK_CHANNEL_ID }}

- name: Remove OpenBB Folder
run: |
rm -rf /Users/openbb/Desktop/OpenBB\ Terminal
Expand Down Expand Up @@ -293,26 +273,6 @@ jobs:
pkgutil --expand-full OpenBBTerminal.pkg extract/
rm -rf OpenBBTerminal.pkg

- name: Run Integration Tests
run: |
extract/OpenBBTerminal.pkg/Payload/Applications/OpenBB\ Terminal/.OpenBB/OpenBBTerminal -t -s forecast cryptocurrency reports alternative economy futures econometrics dashboards portfolio stocks/test_stocks_options_screen.openbb stocks/test_stocks_options.openbb forex etf stocks/test_stocks_fa.openbb | tee result.txt
grep "================================ Integration Test Summary ================================" result.txt -A100 | tail --bytes=2000 > summary.txt
echo >> summary.txt

- name: Run Integration Tests Coverage Report
run: |
extract/OpenBBTerminal.pkg/Payload/Applications/OpenBB\ Terminal/.OpenBB/OpenBBTerminal -t --coverage | tee result.txt
sed -n '/Integration Coverage Summary/,$p' result.txt >> summary.txt

- name: Upload summary to Slack
uses: adrey/slack-file-upload-action@master
with:
token: ${{ secrets.SLACK_API_TOKEN }}
initial_comment: "MacOs Build Integration test summary"
title: "Intel MacOs Build Integration test summary"
path: summary.txt
channel: ${{ secrets.SLACK_CHANNEL_ID }}

- name: Remove OpenBB Folder
run: |
rm -rf /Users/openbb/Desktop/OpenBB\ Terminal
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -1370,7 +1370,6 @@ The convention is as follows:
"news": [
"Feedparser",
"NewsApi",
"Ultima"
],
...
```
Expand Down Expand Up @@ -1497,7 +1496,6 @@ class ForexController(BaseController):
CHOICES_MENUS = [
"forecast",
"qa",
"oanda",
"ta",
]
RESOLUTION = ["i", "d", "w", "m"]
Expand Down
2 changes: 1 addition & 1 deletion build/pyinstaller/macOS/darwin/Resources/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2021-2023 OpenBB Inc.
Copyright (c) 2021-2024 OpenBB Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
5 changes: 0 additions & 5 deletions build/pyinstaller/terminal.spec
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ added_files = [
(str(pathex / "streamlit"), "streamlit"),
(str(pathex / "altair"), "altair"),
(str(pathex / "pyarrow"), "pyarrow"),
(str(pathex / "langchain"), "langchain"),
(str(pathex / "llama_index/VERSION"), "llama_index"),
(str(pathex / "tiktoken"), "tiktoken"),
(str(pathex / "tiktoken_ext"), "tiktoken_ext"),
(which("pywry"), "."),
]

Expand Down Expand Up @@ -123,7 +119,6 @@ hidden_imports = [
"pytrends",
"pytrends.request",
"pyarrow",
"langchain",
]


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,4 @@ class FeaturesKeys(BaseModel):
API_SMARTSTAKE_KEY: Optional[str] = Field(default=None)
API_SMARTSTAKE_TOKEN: Optional[str] = Field(default=None)
API_TOKEN_TERMINAL_KEY: Optional[str] = Field(default=None)
API_TWITTER_BEARER_TOKEN: Optional[str] = Field(default=None)
API_TWITTER_KEY: Optional[str] = Field(default=None)
API_TWITTER_SECRET_KEY: Optional[str] = Field(default=None)
API_ULTIMA_KEY: Optional[str] = Field(default=None)
API_WHALE_ALERT_KEY: Optional[str] = Field(default=None)
240 changes: 0 additions & 240 deletions openbb_terminal/common/ultima_newsmonitor_model.py

This file was deleted.

Loading
Loading