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

Release/4.1.0 #5901

Merged
merged 38 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
50c8649
fix tests for provider with - on the name
hjoaquim Dec 18, 2023
f156371
remove federal-reserve from the optional extensions
hjoaquim Dec 18, 2023
5e485d8
fix path on contributing guidleines
hjoaquim Dec 18, 2023
7c69f1e
update core version
hjoaquim Dec 18, 2023
88e4185
Prevent poetry from removing it's deps when trying to update extensions
piiq Dec 19, 2023
6d8e6cd
Merge remote-tracking branch 'OpenBB-finance/develop' into release/4.1.0
hjoaquim Dec 19, 2023
0ccf5f8
upgrade core version and remove black
hjoaquim Dec 19, 2023
0da933c
Add random-user-agent to goventment_us provider
piiq Dec 19, 2023
7a72359
Re-build static prior to version bump
piiq Dec 19, 2023
fca93d0
Mark wsj as optional in dev_install script
piiq Dec 19, 2023
4bec65c
Include wsj in all extras
piiq Dec 19, 2023
65a2ac3
re-record tests
hjoaquim Dec 19, 2023
082f300
Merge branch 'release/4.1.0' of github.com:OpenBB-finance/OpenBBTermi…
hjoaquim Dec 19, 2023
6571d4f
Merge remote-tracking branch 'upstream/release/4.1.0' into release/4.1.0
piiq Dec 19, 2023
61c798c
bumping and publishing extensions
hjoaquim Dec 19, 2023
dceea16
updating static assets
hjoaquim Dec 19, 2023
763c42f
bumping versions on the openbb package
hjoaquim Dec 19, 2023
5578288
update poetry.lock files
hjoaquim Dec 19, 2023
39b727e
Merge branch 'release/4.1.0' of github.com:OpenBB-finance/OpenBBTermi…
hjoaquim Dec 19, 2023
9806cf8
Update yfinance test data for failing unit tests
piiq Dec 20, 2023
e84dbc6
Update all yfinance test data after a cache flush
piiq Dec 20, 2023
74e0164
Revert "Update all yfinance test data after a cache flush"
piiq Dec 20, 2023
72e6fc0
Revert "Update yfinance test data for failing unit tests"
piiq Dec 20, 2023
49853fd
tests
jmaslek Dec 22, 2023
75ffb06
Merge branch 'develop' into release/4.1.0
hjoaquim Jan 2, 2024
30bca93
patch ultima
hjoaquim Jan 2, 2024
a182625
yf cassetes
hjoaquim Jan 2, 2024
37a5b2f
skip yf tests for now
hjoaquim Jan 2, 2024
3622556
poetry lock
hjoaquim Jan 3, 2024
9eab016
requirements
hjoaquim Jan 3, 2024
bf3d27e
remove cached env
hjoaquim Jan 3, 2024
bfdc3fd
pytest
hjoaquim Jan 3, 2024
2859093
importlib_metadata
hjoaquim Jan 3, 2024
6c74a98
split steps and use poetry run
hjoaquim Jan 3, 2024
fb13aec
activate venv
hjoaquim Jan 3, 2024
004cfb5
Merge branch 'develop' into release/4.1.0
the-praxs Jan 3, 2024
f8c0629
Merge branch 'develop' into release/4.1.0
hjoaquim Jan 3, 2024
51d18d5
Merge branch 'develop' into release/4.1.0
hjoaquim Jan 3, 2024
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
2 changes: 1 addition & 1 deletion build/pypi/openbb_platform/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
EXTENSION_PACKAGES = ["extensions", "providers"]

CMD = [sys.executable, "-m", "poetry"]
EXTENSION_DEPENDENCIES_UPDATE_CMD = ["add", "openbb-core=latest"]
EXTENSION_DEPENDENCIES_UPDATE_CMD = ["add", "openbb-core=latest", "--lock"]
VERSION_BUMP_CMD = ["version", "prerelease"]
PUBLISH_CMD = ["publish", "--build"]

Expand Down
4 changes: 2 additions & 2 deletions openbb_platform/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The OpenBB Platform is built by the Open-Source community and is characterized b
The REST API is built on top of FastAPI and can be started by running the following command from the root:

```bash
uvicorn openbb_platform.platform.core.openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
uvicorn openbb_platform.core.openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
```

The Python interfaces we provide to users is the `openbb` python package.
Expand Down Expand Up @@ -742,7 +742,7 @@ python openbb_platform/extensions/tests/utils/integration_tests_api_generator.py
When testing the API interface, you'll need to run the OpenBB Platform locally before running the tests. To do so, you can run the following command:

```bash
uvicorn openbb_platform.platform.core.openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
uvicorn openbb_platform.core.openbb_core.api.rest_api:app --host 0.0.0.0 --port 8000 --reload
```

These automated tests are a great way to reduce the amount of code you need to write, but they are not a replacement for manual testing and might require tweaking. That's why we have unit tests that test the generated integration tests to ensure they cover all providers and parameters.
Expand Down
2 changes: 1 addition & 1 deletion openbb_platform/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb-core"
version = "1.0.1"
version = "1.2.0"
hjoaquim marked this conversation as resolved.
Show resolved Hide resolved
description = "OpenBB package with core functionality"
authors = ["OpenBB Team <[email protected]>"]
readme = "README.md"
Expand Down
1 change: 0 additions & 1 deletion openbb_platform/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ all = [
"openbb-charting",
"openbb-ecb",
"openbb-econometrics",
"openbb-federal-reserve",
"openbb-government-us",
"openbb-nasdaq",
"openbb-quantitative",
Expand Down
2 changes: 1 addition & 1 deletion openbb_platform/tests/test_extension_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def load_req_ext(file: Path) -> Dict[str, VersionConstraint]:
req_ext = {}
for k, v in deps.items():
if k.startswith("openbb-") and k not in ("openbb-core"):
name = k[7:]
name = k[7:].replace("-", "_")
if isinstance(v, str):
req_ext[name] = parse_constraint(v)
elif isinstance(v, dict) and not v.get("optional", False):
Expand Down
Loading