Skip to content

Commit

Permalink
add min version for pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
danlu1 committed Jul 31, 2024
1 parent 31e84a1 commit 9d67e0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
PYTHON_CLIENT_VERSION <- '4.4.0'
# reticulate::virtualenv_create('r-reticulate')
# reticulate::use_virtualenv('r-reticulate')
reticulate::py_install(c("pandas<=2.0.3", "jinja2", "markupsafe","numpy<=1.24.4"))
reticulate::py_install(c("pandas>=1.5,<=2.0.3", "jinja2", "markupsafe","numpy<=1.24.4"))
reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T)
reticulate::py_run_string("import synapseclient")
}
Expand Down
2 changes: 1 addition & 1 deletion tools/installPythonClient.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ print("*** Using Python Configuration:")
reticulate::py_config()
reticulate::py_run_string("import sys")
reticulate::py_run_string(sprintf("sys.path.append(\"%s\")", file.path(baseDir, "inst", "python")))
reticulate::py_install(c("pandas<=2.0.3", "jinja2", "markupsafe","numpy<=1.24.4"))
reticulate::py_install(c("pandas>=1.5,<=2.0.3", "jinja2", "markupsafe","numpy<=1.24.4"))
reticulate::py_install(c(paste("synapseclient==", PYTHON_CLIENT_VERSION, sep="")), pip=T)

0 comments on commit 9d67e0c

Please sign in to comment.