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 nanosim #40449

Merged
merged 1 commit into from
Apr 14, 2023
Merged
Show file tree
Hide file tree
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
7 changes: 7 additions & 0 deletions recipes/bioconda-repodata-patches/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,13 @@ def _gen_new_index(repodata, subdir):
if version==v and record['build']==b:
deps.append('openssl >=1.1.0,<=1.1.1')

# nanosim <=3.1.0 requires scikit-learn<=0.22.1
if record_name.startswith('nanosim') and has_dep(record, "scikit-learn") and version <= "3.1.0":
for i, dep in enumerate(deps):
if dep.startswith("scikit-learn") and has_no_upper_bound(dep):
deps[i] += ",<=0.22.1" # append an upper bound
break

return index


Expand Down
2 changes: 1 addition & 1 deletion recipes/bioconda-repodata-patches/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package:
name: bioconda-repodata-patches
version: 20230313 # ensure that this is the "current" date, and always higher than the latest version in master
version: 20230414 # ensure that this is the "current" date, and always higher than the latest version in master

source:
path: .
Expand Down