Skip to content

Commit

Permalink
Orange3 hotfix. The pandas error will be fixed in a future version.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanskeith committed Oct 19, 2023
1 parent 0e77c12 commit 1e79b8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1351,6 +1351,12 @@ def patch_record_in_place(fn, record, subdir):
if name == "anaconda-anon-usage" and VersionOrder(version) < VersionOrder("0.4"):
record["constrains"] = ["anaconda-ident <0"]

# orange3 pandas 2.1 error
if name == "orange3" and VersionOrder(version) < VersionOrder("3.36.0"):
replace_dep("pandas", "pandas >=1.3.0,<2")
replace_dep("pandas >=1.3.0", "pandas >=1.3.0,<2")
replace_dep("pandas >=1.3.0,!=1.5.0", "pandas >=1.3.0,!=1.5.0,<2")

###########################
# compilers and run times #
###########################
Expand Down

0 comments on commit 1e79b8e

Please sign in to comment.