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 repodata to relax HTSlib dependency upper bounds #42895

Merged
merged 2 commits into from
Sep 12, 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
6 changes: 6 additions & 0 deletions recipes/bioconda-repodata-patches/gen_patch_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,12 @@ def _gen_new_index(repodata, subdir):
if record_name.startswith('samtools') and record['subdir']=='linux-64' and not has_dep(record, "openssl") and not has_dep(record, "htslib"):
deps.append('openssl >=1.1.0,<=1.1.1')

# future HTSlib versions are binary compatible until they bump their soversion
if has_dep(record, 'htslib'):
# skip deps prior to 1.10, which was the first with soversion 3
# TODO adjust replacement (exclusive) upper bound with each new compatible HTSlib
_pin_looser(fn, record, 'htslib', min_lower_bound='1.10', upper_bound='1.19')

# future libdeflate versions are compatible until they bump their soversion; relax dependencies accordingly
if record_name in ['htslib', 'staden_io_lib', 'fastp'] and has_dep(record, 'libdeflate'):
# skip deps that allow anything <1.3, which contained an incompatible library filename
Expand Down
6 changes: 4 additions & 2 deletions recipes/bioconda-repodata-patches/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
package:
name: bioconda-repodata-patches
version: 20230506 # ensure that this is the "current" date, and always higher than the latest version in master
version: 20230907 # ensure that this is the "current" date, and always higher than the latest version in master

source:
path: .

build:
noarch: generic
number: 1
number: 0
run_exports:
- {{ pin_subpackage("bioconda-repodata-patches", max_pin=None) }}

requirements:
build:
Expand Down