Skip to content

Commit

Permalink
Merge pull request #225 from AnacondaRecipes/issue/215
Browse files Browse the repository at this point in the history
Creating update to fix a numpy instance with no uppperbound
  • Loading branch information
ryanskeith authored May 23, 2024
2 parents 68facbd + 1fca3be commit 5a3fada
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -783,6 +783,13 @@ def patch_record_in_place(fn, record, subdir):
depends[i] = "scipy >=1.7.1"
break

# Tensorflow numpy incompatibilites
if name.startswith("tensorflow-base"):
if VersionOrder(version) <= VersionOrder("2.6.0"):
replace_dep(depends, "numpy >=1.20", "numpy >=1.20,<2.0a0")
if VersionOrder(version) <= VersionOrder("2.5.0"):
replace_dep(depends, "numpy >=1.16.6,<2.0a0", "numpy >=1.16.6,<1.24.0a0")

##############
# versioneer #
##############
Expand Down

0 comments on commit 5a3fada

Please sign in to comment.