From 3d4e510cfb3cc8a3cf6f363432e900f4f5c4baab Mon Sep 17 00:00:00 2001 From: Ehsan ESTAJI <71376358+ehsanestaji@users.noreply.github.com> Date: Mon, 18 May 2026 21:07:34 +0200 Subject: [PATCH] chore: satisfy Bioconda lint metadata --- packaging/bioconda/meta.yaml | 3 +++ tests/python/test_release_metadata.py | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/packaging/bioconda/meta.yaml b/packaging/bioconda/meta.yaml index 64de0de..72e79ad 100644 --- a/packaging/bioconda/meta.yaml +++ b/packaging/bioconda/meta.yaml @@ -11,11 +11,14 @@ source: build: number: 0 + run_exports: + - {{ pin_subpackage('fastaguard', max_pin="x.x") }} requirements: build: - {{ compiler('rust') }} - {{ compiler('c') }} + - {{ stdlib('c') }} - cargo-bundle-licenses test: diff --git a/tests/python/test_release_metadata.py b/tests/python/test_release_metadata.py index 57e733a..a23c298 100644 --- a/tests/python/test_release_metadata.py +++ b/tests/python/test_release_metadata.py @@ -35,6 +35,13 @@ def test_bioconda_recipe_avoids_unneeded_runtime_zlib(self): self.assertNotIn(" - zlib", recipe) + def test_bioconda_recipe_includes_required_lint_metadata(self): + recipe = (ROOT / "packaging" / "bioconda" / "meta.yaml").read_text() + + self.assertIn("run_exports:", recipe) + self.assertIn('{{ pin_subpackage(\'fastaguard\', max_pin="x.x") }}', recipe) + self.assertIn("{{ stdlib('c') }}", recipe) + def test_bioconda_build_script_uses_portable_install(self): script = (ROOT / "packaging" / "bioconda" / "build.sh").read_text()