Skip to content

Commit

Permalink
[Release] 4.2.0 (#6420)
Browse files Browse the repository at this point in the history
* add snowflake integration video (#6339)

* [HotFix] Fix broken URLs in docs page. (#6368)

* Fix broken URLs

* use full URL to other docs pages.

* remove nest_asyncio.apply()

* fix: sort tradingeconomics country choices

* fix lint

* fix: clean _callback function

* assign to empty dict

* feat: add licence to .toml files

* fix: readmes

* fix: add CLA url

* release: 4.20 % dependencies

* Skip deprecation test

* lint

* Sync with main (#6421)

* add snowflake integration video (#6339)

* [HotFix] Fix broken URLs in docs page. (#6368)

* Fix broken URLs

* use full URL to other docs pages.

---------

Co-authored-by: montezdesousa <[email protected]>
Co-authored-by: Danglewood <[email protected]>

* pylint disable possibly-used-before-assignment

* Update CLI toml

---------

Co-authored-by: montezdesousa <[email protected]>
Co-authored-by: Danglewood <[email protected]>
Co-authored-by: Diogo Sousa <[email protected]>
Co-authored-by: Theodore Aptekarev <[email protected]>
  • Loading branch information
5 people authored May 15, 2024
1 parent 8399043 commit cc8263a
Show file tree
Hide file tree
Showing 135 changed files with 30,871 additions and 4,752 deletions.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ confidence=
# disable=import-error,print-statement,parameter-unpacking,unpacking-in-except,old-raise-syntax,backtick,long-suffix,old-ne-operator,old-octal-literal,import-star-module-level,raw-checker-failed,bad-inline-option,locally-disabled,locally-enabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,coerce-builtin,execfile-builtin,file-builtin,long-builtin,raw_input-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,no-absolute-import,old-division,dict-iter-method,dict-view-method,next-method-called,metaclass-assignment,indexing-exception,raising-string,reload-builtin,oct-method,hex-method,nonzero-method,cmp-method,input-builtin,round-builtin,intern-builtin,unichr-builtin,map-builtin-not-iterating,zip-builtin-not-iterating,range-builtin-not-iterating,filter-builtin-not-iterating,using-cmp-argument,eq-without-hash,div-method,idiv-method,rdiv-method,exception-message-attribute,invalid-str-codec,sys-max-int,bad-python3-import,deprecated-string-function,deprecated-str-translate-call
# disable=too-many-instance-attributes,len-as-condition,too-few-public-methods,anomalous-backslash-in-string,no-else-return,simplifiable-if-statement,too-many-arguments,duplicate-code,no-name-in-module,no-member,print-statement,parameter-unpacking,unpacking-in-except,old-raise-syntax,backtick,long-suffix,old-ne-operator,old-octal-literal,import-star-module-level,raw-checker-failed,bad-inline-option,locally-disabled,locally-enabled,file-ignored,suppressed-message,useless-suppression,deprecated-pragma,apply-builtin,basestring-builtin,buffer-builtin,cmp-builtin,coerce-builtin,execfile-builtin,file-builtin,long-builtin,raw_input-builtin,reduce-builtin,standarderror-builtin,unicode-builtin,xrange-builtin,coerce-method,delslice-method,getslice-method,setslice-method,no-absolute-import,old-division,dict-iter-method,dict-view-method,next-method-called,metaclass-assignment,indexing-exception,raising-string,reload-builtin,oct-method,hex-method,nonzero-method,cmp-method,input-builtin,round-builtin,intern-builtin,unichr-builtin,map-builtin-not-iterating,zip-builtin-not-iterating,range-builtin-not-iterating,filter-builtin-not-iterating,using-cmp-argument,eq-without-hash,div-method,idiv-method,rdiv-method,exception-message-attribute,invalid-str-codec,sys-max-int,bad-python3-import,deprecated-string-function,deprecated-str-translate-call,import-error,missing-docstring,invalid-name,bad-whitespace,consider-using-enumerate,unexpected-keyword-arg

disable=useless-return,missing-docstring,invalid-name,import-error,broad-except,unnecessary-lambda,missing-timeout,duplicate-code,consider-using-generator,unbalanced-tuple-unpacking,use-list-literal,no-name-in-module,use-sequence-for-iteration,use-dict-literal,unspecified-encoding,unsubscriptable-object,broad-exception-raised
disable=useless-return,missing-docstring,invalid-name,import-error,broad-except,unnecessary-lambda,missing-timeout,duplicate-code,consider-using-generator,unbalanced-tuple-unpacking,use-list-literal,no-name-in-module,use-sequence-for-iteration,use-dict-literal,unspecified-encoding,unsubscriptable-object,broad-exception-raised,possibly-used-before-assignment

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
1,175 changes: 842 additions & 333 deletions cli/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions cli/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
name = "openbb-cli"
version = "1.0.0"
description = "Investment Research for Everyone, Anywhere."
license = "MIT"
authors = ["OpenBB <[email protected]>"]
packages = [{ include = "openbb_cli" }]
license = "AGPL-3.0-only"
readme = "README.md"
homepage = "https://openbb.co"
repository = "https://github.com/OpenBB-finance/OpenBBTerminal"
Expand All @@ -17,7 +17,7 @@ openbb = 'openbb_cli.cli:main'
python = "^3.8.1,<3.12"

# OpenBB dependencies
openbb = { version = "^4.1.7", extras = ["all"] }
openbb = { version = "^4.2.0", extras = ["all"] }

# Terminal dependencies
prompt-toolkit = "^3.0.16"
Expand Down
473 changes: 243 additions & 230 deletions openbb_platform/core/poetry.lock

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion openbb_platform/core/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tool.poetry]
name = "openbb-core"
version = "1.1.6"
version = "1.2.2"
description = "OpenBB package with core functionality"
authors = ["OpenBB Team <[email protected]>"]
license = "AGPL-3.0-only"
readme = "README.md"
packages = [{ include = "openbb_core" }]

Expand All @@ -23,6 +24,7 @@ python-dotenv = "^1.0.0"
aiohttp = "^3.9.5"
ruff = "^0.1.6"
pyjwt = "^2.8.0"
anyio = "^3.7.0" # TODO: Migrate to v4

[tool.poetry.group.dev.dependencies]
pytest = "^7.0.0"
Expand Down
4 changes: 4 additions & 0 deletions openbb_platform/core/tests/app/test_deprecation.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,17 @@

import unittest

import pytest
from openbb_core.app.static.package_builder import PathHandler
from openbb_core.app.version import VERSION, get_major_minor


class DeprecatedCommandsTest(unittest.TestCase):
"""Test deprecated commands."""

@pytest.mark.skip(
"We forgot to deprecate /etf/holdings_performance. Check this endpoint next release."
)
def test_deprecated_commands(self):
"""Test deprecated commands."""
current_major_minor = get_major_minor(VERSION)
Expand Down
4 changes: 0 additions & 4 deletions openbb_platform/extensions/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# Extensions

In this folder you can find the extensions that were created or are supported by OpenBB.

## Available Extensions

See the full list of available providers in the [EXTENSIONS file](../EXTENSIONS.md)
4 changes: 1 addition & 3 deletions openbb_platform/extensions/commodity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ To install the extension, run the following command in this folder:
pip install openbb-commodity
```

For development please check [Contribution Guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/blob/develop/openbb_platform/CONTRIBUTING.md).

Documentation available [here](https://docs.openbb.co/platform).
Documentation available [here](https://docs.openbb.co/platform/development/contributing).
Loading

0 comments on commit cc8263a

Please sign in to comment.