From 73b7059a69000fb62af3c4234bc4caae795d3263 Mon Sep 17 00:00:00 2001 From: Niek de Jonge <76995965+niekdejonge@users.noreply.github.com> Date: Thu, 3 Oct 2024 03:35:06 +0200 Subject: [PATCH] Update meta.yaml for spec2vec (#49857) * Update meta.yaml for spec2vec * Update meta.yaml * Add run_exports --------- Co-authored-by: mencian Co-authored-by: Joshua Zhuang <71105179+mencian@users.noreply.github.com> --- recipes/spec2vec/meta.yaml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/recipes/spec2vec/meta.yaml b/recipes/spec2vec/meta.yaml index 9451b70876035..c22b684c85102 100644 --- a/recipes/spec2vec/meta.yaml +++ b/recipes/spec2vec/meta.yaml @@ -11,8 +11,10 @@ source: build: noarch: python - script: {{ PYTHON }} -m pip install . -vv - number: 0 + script: {{ PYTHON }} -m pip install . --no-deps --no-build-isolation --no-cache-dir -vvv + number: 1 + run_exports: + - {{ pin_subpackage('spec2vec', max_pin="x.x") }} requirements: host: @@ -20,28 +22,30 @@ requirements: - pip run: - python >=3.7 - - gensim >=4.0.0 - - matchms >=0.11.0 + - gensim >=4.2.0 + - matchms >=0.14.0,<=0.26.4 - numba >=0.51 - numpy - fuzzytm + - scipy <=1.10.1 - tqdm - + test: imports: - spec2vec - commands: - - pip check - requires: - - pip about: - home: https://github.com/iomega/spec2vec - summary: Word2Vec based similarity measure of mass spectrometry data. - license: Apache-2.0 + home: "https://github.com/iomega/spec2vec" + summary: "Word2Vec based similarity measure of mass spectrometry data." + license: "Apache-2.0" + license_family: APACHE license_file: LICENSE + dev_url: "https://github.com/iomega/spec2vec" + doc_url: "https://spec2vec.readthedocs.io/en/latest" extra: recipe-maintainers: - bgruening - hechth + identifiers: + - doi:10.1371/journal.pcbi.1008724