Skip to content

Commit

Permalink
latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoaquim committed Jun 19, 2024
1 parent 059ea6d commit 425b043
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 43 deletions.
17 changes: 14 additions & 3 deletions build/pypi/openbb_platform/PUBLISH.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@
1. For the core package run: `python build/pypi/openbb_platform/publish.py --core`
2. For the extension packages run: `python build/pypi/openbb_platform/publish.py --extensions`
3. For the `openbb` package - **which requires manual publishing** - do the following
3.1. Bump the dependency package versions

3.1. Bump the extension versions on `openbb_platform/pyproject.toml` to the latest version.

> [!TIP]
> Consider using Poetry Plugin: up:
> 1. `poetry self add poetry-plugin-up`
> 2. `poetry up --latest`
> [!WARNING]
> Create a new environment before proceeding.
Expand All @@ -47,7 +53,7 @@
- Run `python -c "import openbb"` after building the static to check that no additional static is being built.
- Run any command to smoke test if the static assets are being built correctly.

3.4. Run unit tests to validate the existence of deprecated endpoints
3.4. Run unit tests to validate the existence of deprecated endpoints (or watch this through GitHub Actions)

3.5. Run `poetry publish --build` from `openbb_platform`

Expand Down Expand Up @@ -76,4 +82,9 @@

1. Run the changelog automation by using the "release_drafter" GA and passing the number of the previous Release.
2. Edit and make the changelog live on the repository.
3. Paste it in the platform-release-changelog Slack channel.
3. Paste it in the platform-release-changelog Slack channel.

### Publish the CLI

1. Bump `openbb` dependency on `cli/pyproject.toml` to the latest version.
2. Run `poetry publish --build` from `cli`
80 changes: 40 additions & 40 deletions openbb_platform/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,52 +9,52 @@ packages = [{ include = "openbb" }]

[tool.poetry.dependencies]
python = ">=3.8,<3.12"
openbb-core = "^1.2.4"
openbb-core = "^1.2.5"

openbb-benzinga = "^1.2.2"
openbb-econdb = "^1.1.2"
openbb-federal-reserve = "^1.2.2"
openbb-fmp = "^1.2.2"
openbb-fred = "^1.2.2"
openbb-intrinio = "^1.2.2"
openbb-oecd = "^1.2.2"
openbb-polygon = "^1.2.2"
openbb-sec = "^1.2.2"
openbb-tiingo = "^1.2.2"
openbb-tradingeconomics = "^1.2.2"
openbb-yfinance = "^1.2.2"
openbb-benzinga = "^1.2.3"
openbb-econdb = "^1.1.3"
openbb-federal-reserve = "^1.2.3"
openbb-fmp = "^1.2.3"
openbb-fred = "^1.2.3"
openbb-intrinio = "^1.2.3"
openbb-oecd = "^1.2.3"
openbb-polygon = "^1.2.3"
openbb-sec = "^1.2.3"
openbb-tiingo = "^1.2.3"
openbb-tradingeconomics = "^1.2.3"
openbb-yfinance = "^1.2.3"

openbb-commodity = "^1.1.2"
openbb-crypto = "^1.2.2"
openbb-currency = "^1.2.2"
openbb-derivatives = "^1.2.2"
openbb-economy = "^1.2.2"
openbb-equity = "^1.2.2"
openbb-etf = "^1.2.2"
openbb-fixedincome = "^1.2.2"
openbb-index = "^1.2.2"
openbb-news = "^1.2.2"
openbb-regulators = "^1.2.2"
openbb-commodity = "^1.1.3"
openbb-crypto = "^1.2.3"
openbb-currency = "^1.2.3"
openbb-derivatives = "^1.2.3"
openbb-economy = "^1.2.3"
openbb-equity = "^1.2.3"
openbb-etf = "^1.2.3"
openbb-fixedincome = "^1.2.3"
openbb-index = "^1.2.3"
openbb-news = "^1.2.3"
openbb-regulators = "^1.2.3"

# Community dependencies
openbb-alpha-vantage = { version = "^1.2.2", optional = true }
openbb-biztoc = { version = "^1.2.2", optional = true }
openbb-cboe = { version = "^1.2.2", optional = true }
openbb-ecb = { version = "^1.2.2", optional = true }
openbb-finra = { version = "^1.2.2", optional = true }
openbb-finviz = { version = "^1.1.2", optional = true }
openbb-government-us = { version = "^1.2.2", optional = true }
openbb-nasdaq = { version = "^1.2.2", optional = true }
openbb-seeking-alpha = { version = "^1.2.2", optional = true }
openbb-stockgrid = { version = "^1.2.2", optional = true }
openbb-tmx = { version = "^1.1.2", optional = true }
openbb-tradier = { version = "^1.1.2", optional = true }
openbb-wsj = { version = "^1.2.2", optional = true }
openbb-alpha-vantage = { version = "^1.2.3", optional = true }
openbb-biztoc = { version = "^1.2.3", optional = true }
openbb-cboe = { version = "^1.2.3", optional = true }
openbb-ecb = { version = "^1.2.3", optional = true }
openbb-finra = { version = "^1.2.3", optional = true }
openbb-finviz = { version = "^1.1.3", optional = true }
openbb-government-us = { version = "^1.2.3", optional = true }
openbb-nasdaq = { version = "^1.2.3", optional = true }
openbb-seeking-alpha = { version = "^1.2.3", optional = true }
openbb-stockgrid = { version = "^1.2.3", optional = true }
openbb-tmx = { version = "^1.1.3", optional = true }
openbb-tradier = { version = "^1.1.3", optional = true }
openbb-wsj = { version = "^1.2.3", optional = true }

openbb-charting = { version = "^2.1.2", optional = true }
openbb-econometrics = { version = "^1.2.2", optional = true }
openbb-quantitative = { version = "^1.2.2", optional = true }
openbb-technical = { version = "^1.2.2", optional = true }
openbb-econometrics = { version = "^1.2.3", optional = true }
openbb-quantitative = { version = "^1.2.3", optional = true }
openbb-technical = { version = "^1.2.3", optional = true }

[tool.poetry.extras]
alpha_vantage = ["openbb-alpha-vantage"]
Expand Down

0 comments on commit 425b043

Please sign in to comment.