Skip to content

Commit

Permalink
Feature Python Library: Ray (QuantConnect#5824)
Browse files Browse the repository at this point in the history
* Add Ray lib to both foundation images

* Update some version failing tests
  • Loading branch information
C-SELLERS authored Aug 5, 2021
1 parent 1cfc044 commit e2ae173
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion DockerfileLeanFoundation
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,8 @@ RUN pip install --no-cache-dir \
dgl==0.6.1 \
ruptures==1.1.3 \
simpy==4.0.1 \
scikit-learn-extra==0.2.0
scikit-learn-extra==0.2.0 \
ray==1.5.1

# feature_selector has overly strict dependency version ranges
# We already installed close-enough versions of all of its dependencies above
Expand Down
3 changes: 2 additions & 1 deletion DockerfileLeanFoundationARM
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ RUN pip install --no-cache-dir \
pandas_market_calendars==1.7 \
ruptures==1.1.3 \
simpy==4.0.1 \
scikit-learn-extra==0.2.0
scikit-learn-extra==0.2.0 \
ray==1.5.1

# feature_selector has overly strict dependency version ranges
# We already installed close-enough versions of all of its dependencies above
Expand Down
8 changes: 4 additions & 4 deletions Tests/Python/PythonPackagesTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -872,16 +872,16 @@ import clr
[TestCase("pywt", "1.1.1", "__version__")]
[TestCase("umap", "0.4.1", "__version__")]
[TestCase("dtw", "1.0.5", "__version__")]
[TestCase("mplfinance", "0.12.3a3", "__version__")]
[TestCase("mplfinance", "0.12.4a0", "__version__")]
[TestCase("cufflinks", "0.17.3", "__version__")]
[TestCase("ipywidgets", "7.5.1", "__version__")]
[TestCase("astropy", "4.0.1.post1", "__version__")]
[TestCase("gluonts", "0.4.3", "__version__")]
[TestCase("gplearn", "0.4.1", "__version__")]
[TestCase("h2o", "3.30.0.1", "__version__")]
[TestCase("h2o", "3.30.0.3", "__version__")]
[TestCase("cntk", "2.7", "__version__")]
[TestCase("featuretools", "0.13.4", "__version__")]
[TestCase("pennylane", "0.8.1", "version()")]
[TestCase("featuretools", "0.14.0", "__version__")]
[TestCase("pennylane", "0.9.0", "version()")]
public void ModuleVersionTest(string module, string value, string attribute)
{
AssetCode(
Expand Down

0 comments on commit e2ae173

Please sign in to comment.