Skip to content

Commit

Permalink
Add support up to Python 3.11 for FinRL (#1315)
Browse files Browse the repository at this point in the history
* Update pyproject.toml

Add Python Version 3.11 to pyproject.toml

* Update setup.py

Add python version 3.11 to the supported list

* Update pyproject.toml

Update project dependencies to use up to python 3.11

* Update requirements.txt

Add new libraries to requirements.txt

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update pyproject.toml

* Update pyproject.toml

* Update pyproject.toml

* Update pyproject.toml

Removing alpaca-trading-api due it being removed/no longer used

* Update pyproject.toml

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
kuds and pre-commit-ci[bot] authored Jan 29, 2025
1 parent bc12fe7 commit 3c915e7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
Expand All @@ -25,7 +26,7 @@ keywords=["Reinforcement Learning", "Finance"]
github = "https://github.com/finrl/finrl-library"

[tool.poetry.dependencies]
python = "~3.10"
python = "~3.11"
elegantrl = {git="https://github.com/AI4Finance-Foundation/ElegantRL.git#egg=elegantrl"}
alpaca-trade-api = "^3"
ccxt = "^3"
Expand All @@ -39,6 +40,10 @@ stable-baselines3 = {version = ">=2.0.0a5", extras = ["extra"]}
stockstats = "^0.5"
wrds = "^3"
yfinance = "^0.2"
alpaca-py = "^0.37"
webdriver-manager = "^4"
selenium = "^4"


[tool.poetry.group.dev.dependencies]
black = "^24"
Expand Down
6 changes: 4 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
alpaca-py
alpaca_trade_api>=2.1.0
ccxt>=1.66.32 # make sure that >=1.66.32
elegantrl
Expand Down Expand Up @@ -27,21 +28,22 @@ recommonmark
# Model Building Requirements
scikit-learn>=0.21.0

selenium

# packaging
#setuptools>=41.4.0
setuptools>=65.5.0

# to build docs using sphinx
sphinx
sphinx_rtd_theme


SQLAlchemy
stable-baselines3[extra]
stockstats>=0.4.0
swig

tensorboardX
webdriver-manager
wheel>=0.33.6
wrds

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
Expand Down

0 comments on commit 3c915e7

Please sign in to comment.