Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prevent cross-installs of anaconda-ident<0.2 and anaconda-anon-usage<0.4 #207

Merged
merged 3 commits into from
Sep 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,13 @@ def patch_record_in_place(fn, record, subdir):
if name == "ffmpeg" and version == "4.2.2":
depends[:] = [d for d in depends if not d.startswith("openssl")]

# anaconda-ident<0.2 not compatible with anaconda-anon-usage
# anaconda-anon-usage<0.4 not compatible with anaconda-ident
if name == "anaconda-ident" and VersionOrder(version) < VersionOrder("0.2"):
record["constrains"] = ["anaconda-anon-usage<0"]
mcg1969 marked this conversation as resolved.
Show resolved Hide resolved
if name == "anaconda-anon-usage" and VersionOrder(version) < VersionOrder("0.4"):
record["constrains"] = ["anaconda-ident<0"]
mcg1969 marked this conversation as resolved.
Show resolved Hide resolved

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