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

Patch python deps for oiffile #231

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
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
6 changes: 6 additions & 0 deletions recipe/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,12 @@ def _gen_new_index_per_key(repodata, subdir, index_key):
if record_name == "napari" and record.get("timestamp", 0) < 1642529454000: # 2022-01-18
_replace_pin("pillow", "pillow !=7.1.0,!=7.1.1", record.get("depends", []), record)

# oiffile depends on python >=3.8 not python >=3.7
if record_name == "oiffile":
if record["version"] in ["2021.6.6", "2022.2.2"] and record["build"].endswith("_0"):
i = record['depends'].index('python >=3.7')
record['depends'][i] = 'python >=3.8'

# replace =2.7 with ==2.7.* for compatibility with older conda
new_deps = []
changed = False
Expand Down