Skip to content

Commit

Permalink
Merge pull request #19 from OpenBB-finance/feature/python310
Browse files Browse the repository at this point in the history
Python 3.10 support.
  • Loading branch information
mnicstruwig authored May 20, 2024
2 parents 492aa29 + e93b1db commit 3701978
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11"]
python-version: ["3.10", "3.11"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -21,7 +21,6 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ utilizing function calling to interact with the OpenBB Platform.


## Installation
Currently, we only support Python 3.11. We will be adding support for more version of Python relatively soon.
Currently, we support Python 3.10+. We will be adding support for more version of Python relatively soon.

`openbb-agents` is available as a PyPI package:

Expand Down
58 changes: 55 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Michael Struwig <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.11,<3.12"
python = ">=3.10,<3.12"
jupyterlab = "^4.0.9"
sentence-transformers = "^2.2.2"
tiktoken = "^0.5.1"
Expand All @@ -18,12 +18,12 @@ langchain = "^0.1.17"
langchain-community = "^0.0.37"
langchain-openai = "^0.1.6"
openbb-yfinance = "^1.1.5"
pytest-asyncio = "^0.23.6"
pytest-xdist = "^3.6.1"

[tool.poetry.group.dev.dependencies]
pre-commit = "^3.5.0"
pytest = "^7.4.3"
pytest-asyncio = "^0.23.6"
pytest-xdist = "^3.6.1"
ruff = ">=0.1.6"

[tool.ruff.lint]
Expand Down

0 comments on commit 3701978

Please sign in to comment.