Skip to content

Commit

Permalink
permit installing release candidates on arm macs
Browse files Browse the repository at this point in the history
  • Loading branch information
t-kalinowski committed Sep 26, 2023
1 parent 9e75f94 commit 00c043b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function(method = c("auto", "virtualenv", "conda"),

if(is_mac_arm64()) {
if(!as.character(version) %in% c("default", "release") &&
!isTRUE(tryCatch(numeric_version(version) >= "2.13.0",
!isTRUE(tryCatch(numeric_version(sub("rc", ".", version)) >= "2.13.0",
error = function(e) NULL)))
stop("Only tensorflow>=2.13 supported on Arm Macs.")
}
Expand Down

0 comments on commit 00c043b

Please sign in to comment.