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 OpenBB Platform v4.1.3 #5983

Merged
merged 4 commits into from
Jan 22, 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
5 changes: 3 additions & 2 deletions openbb_platform/extensions/technical/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
[tool.poetry]
name = "openbb-technical"
version = "1.1.1"
version = "1.1.2"
description = "Technical Analysis extension for OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
packages = [{ include = "openbb_technical" }]

[tool.poetry.dependencies]
python = ">=3.8,<3.12" # scipy forces python <4.0 explicitly
python = ">=3.8,<3.12" # scipy forces python <4.0 explicitly
scipy = "^1.10.1"
statsmodels = "^0.14.0"
scikit-learn = "^1.3.1"
pandas-ta = "^0.3.14b"
openbb-core = "^1.1.1"

[build-system]
Expand Down
6 changes: 3 additions & 3 deletions openbb_platform/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "openbb"
version = "4.1.2"
version = "4.1.3"
description = "OpenBB"
authors = ["OpenBB Team <hello@openbb.co>"]
readme = "README.md"
Expand Down Expand Up @@ -48,7 +48,7 @@ openbb-wsj = { version = "^1.1.1", optional = true }
openbb-charting = { version = "^1.1.1", optional = true }
openbb-econometrics = { version = "^1.1.1", optional = true }
openbb-quantitative = { version = "^1.1.1", optional = true }
openbb-technical = { version = "^1.1.1", optional = true }
openbb-technical = { version = "^1.1.2", optional = true }

[tool.poetry.extras]
alpha_vantage = ["openbb-alpha-vantage"]
Expand Down Expand Up @@ -81,7 +81,7 @@ all = [
"openbb-seeking-alpha",
"openbb-stockgrid",
"openbb-technical",
"openbb-wsj"
"openbb-wsj",
]

[build-system]
Expand Down
24 changes: 24 additions & 0 deletions openbb_platform/tests/test_pyproject_toml.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import toml


def test_optional_packages():
data = toml.load("openbb_platform/pyproject.toml")
dependencies = data["tool"]["poetry"]["dependencies"]
extras = data["tool"]["poetry"]["extras"]
all_packages = extras["all"]

default_packages = []
optional_packages = []

for package, details in dependencies.items():
if isinstance(details, dict) and details.get("optional") is True:
optional_packages.append(package)
else:
default_packages.append(package)

# check that optional packages have the same content as all_packages and extras
assert sorted(optional_packages) == sorted(all_packages)
assert sorted(optional_packages) == sorted(extras["all"])

# assert that there is no overlap between default and optional packages
assert set(default_packages).isdisjoint(set(optional_packages))
Loading