From 1e52ef41c19fdf96ee58e6ebe6c2650be973fd71 Mon Sep 17 00:00:00 2001 From: Moray Smith <65286772+SwiftSeal@users.noreply.github.com> Date: Fri, 25 Oct 2024 23:55:23 +0100 Subject: [PATCH 1/4] Update meta.yaml --- recipes/resistify/meta.yaml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/recipes/resistify/meta.yaml b/recipes/resistify/meta.yaml index 08e802612190e..88e0f8009dae6 100644 --- a/recipes/resistify/meta.yaml +++ b/recipes/resistify/meta.yaml @@ -1,13 +1,14 @@ {% set name = "resistify" %} -{% set version = "0.4.0" %} +{% set version = "0.5.0" %} +{% set sha256 = "c23493ec622733fac905afa4c64b6ca3ce79afe44cf358433b0b81f115578e96" %} package: name: "{{ name }}" version: "{{ version }}" source: - url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz - sha256: ba06333873fcb1e07820cb0895755b42a615d289437749846e280bc87d6abf2c + url: https://github.com/SwiftSeal/resistify/archive/refs/tags/v{{ version }}.tar.gz + sha256: {{ sha256 }} build: noarch: python @@ -21,16 +22,22 @@ build: requirements: host: - pip - - python >=3.9 + - python - hatchling run: - - python >=3.9 - - scikit-learn ==0.24.2 + - python + - scikit-learn==0.24.2 - biopython - - numpy - rich - rich-argparse - hmmer + - pytorch + - torchvision + - torchaudio + - cpuonly + - fair-esm + - transformers==4.31.0 + - sentencepiece test: imports: @@ -40,5 +47,12 @@ test: about: home: https://github.com/swiftseal/resistify + doc_url: "https://github.com/SwiftSeal/resistify/blob/main/README.md" license: MIT + license_file: LICENSE summary: A resistance gene annotation tool + description: | + Resistify is a nucleotide-binding leucine rich repeat (NLR) annotation + program, for the purpose of identifying putative disease resistance + genes in plant genomes. + From ff00ebdaa64b6b3a2de47242010dbe0cbe02dc23 Mon Sep 17 00:00:00 2001 From: Moray Smith <65286772+SwiftSeal@users.noreply.github.com> Date: Sat, 26 Oct 2024 00:08:56 +0100 Subject: [PATCH 2/4] Update meta.yaml --- recipes/resistify/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/resistify/meta.yaml b/recipes/resistify/meta.yaml index 88e0f8009dae6..cecdbfd65a1ab 100644 --- a/recipes/resistify/meta.yaml +++ b/recipes/resistify/meta.yaml @@ -26,7 +26,7 @@ requirements: - hatchling run: - python - - scikit-learn==0.24.2 + - scikit-learn ==0.24.2 - biopython - rich - rich-argparse @@ -36,7 +36,7 @@ requirements: - torchaudio - cpuonly - fair-esm - - transformers==4.31.0 + - transformers ==4.31.0 - sentencepiece test: From 6823b9b3a83d3e2bbbdef0c53c83798661638bbf Mon Sep 17 00:00:00 2001 From: SwiftSeal Date: Sat, 26 Oct 2024 23:00:11 +0100 Subject: [PATCH 3/4] fix pyproject reqs --- recipes/resistify/meta.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/recipes/resistify/meta.yaml b/recipes/resistify/meta.yaml index cecdbfd65a1ab..d21c4ef999176 100644 --- a/recipes/resistify/meta.yaml +++ b/recipes/resistify/meta.yaml @@ -22,11 +22,13 @@ build: requirements: host: - pip - - python + - python >=3.9,<3.10 - hatchling run: - - python + - python >=3.9,<3.10 - scikit-learn ==0.24.2 + - cython <3 + - numpy <1.23.0 - biopython - rich - rich-argparse @@ -34,7 +36,6 @@ requirements: - pytorch - torchvision - torchaudio - - cpuonly - fair-esm - transformers ==4.31.0 - sentencepiece From d717879590fbe53d23d6f77b361927dbd54bbcf8 Mon Sep 17 00:00:00 2001 From: SwiftSeal Date: Sat, 26 Oct 2024 23:13:53 +0100 Subject: [PATCH 4/4] move cython --- recipes/resistify/meta.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/resistify/meta.yaml b/recipes/resistify/meta.yaml index d21c4ef999176..125b9325fd10b 100644 --- a/recipes/resistify/meta.yaml +++ b/recipes/resistify/meta.yaml @@ -24,18 +24,18 @@ requirements: - pip - python >=3.9,<3.10 - hatchling + - cython <3 run: - python >=3.9,<3.10 - scikit-learn ==0.24.2 - - cython <3 - numpy <1.23.0 - biopython - rich - rich-argparse - hmmer - - pytorch - - torchvision - - torchaudio + - pytorch + - torchvision + - torchaudio - fair-esm - transformers ==4.31.0 - sentencepiece