Skip to content

Commit

Permalink
use python_min jinja var
Browse files Browse the repository at this point in the history
  • Loading branch information
achimgaedke committed Dec 21, 2024
1 parent d0a3f42 commit a606591
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions recipes/cvat-sdk/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% set name = "cvat-sdk" %}
{% set version = "2.24.0" %}
{% set python_min = "3.9" %}

package:
name: {{ name|lower }}
Expand All @@ -16,12 +17,12 @@ build:

requirements:
host:
- python >=3.9
- ython {{ python_min }}
- setuptools
- wheel
- pip
run:
- python >=3.9
- python >={{ python_min }}
- attrs >=21.4.0
- packaging >=21.3
- pillow >=10.3.0
Expand All @@ -40,18 +41,19 @@ test:
- pip check
requires:
- pip
- python {{ python_min }}

outputs:
- name: cvat-sdk
- name: cvat-sdk-masks
requirements:
host: &id001
- python >=3.9
- python {{ python_min }}
- setuptools
- wheel
- pip
run:
- python >=3.9
- python >={{ python_min }}
- python-dateutil >=2.5.3
- "{{ pin_subpackage('cvat-sdk', exact=True) }}"
- numpy >=2
Expand All @@ -62,13 +64,14 @@ outputs:
- pip check
requires:
- pip
- python {{ python_min }}
build:
noarch: python
- name: cvat-sdk-pytorch
requirements:
host: *id001
run:
- python >=3.9
- python >={{ python_min }}
- python-dateutil >=2.5.3
- "{{ pin_subpackage('cvat-sdk', exact=True) }}"
- pytorch
Expand Down

0 comments on commit a606591

Please sign in to comment.