From 86e7eab6b23cadff2ca423fcf02a07a2ec9c0108 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 4 Feb 2025 18:22:04 +0200 Subject: [PATCH 01/26] Created recipes/reprostim/meta.yaml --- recipes/reprostim/meta.yaml | 50 +++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 recipes/reprostim/meta.yaml diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml new file mode 100644 index 0000000000000..c8f28335de058 --- /dev/null +++ b/recipes/reprostim/meta.yaml @@ -0,0 +1,50 @@ +{% set name = "reprostim" %} +{% set version = "0.7.5" %} + +package: + name: {{ name|lower }} + version: {{ version }} + +source: + url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/reprostim-{{ version }}.tar.gz + sha256: b24230069ad4f99d58cce6c4dfd731d222ed088a8b20235c997c22509ef59520 + +build: + noarch: python + script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation + number: 0 + +requirements: + host: + - python {{ python_min }} + - setuptools >=46.4.0 + - pip + run: + - python >={{ python_min }} + - __linux # Contstrain to linux + - matplotlib + +test: + imports: + - reprostim + commands: + - python -m pytest -vv test + requires: + - python {{ python_min }} + - pytest + - pytest-cov + - matplotlib + source_files: + - tests + +about: + home: https://github.com/ReproNim/reprostim/ + summary: ReproStim is a video capture and recording suite for neuroimaging and psychology experiments + license: MIT + license_family: MIT + license_file: LICENSES/MIT.txt + +extra: + recipe-maintainers: + - yarikoptic + - vmdocua From 3ba04a59669c5d704cdb88abe130397cf8e6ff45 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Wed, 5 Feb 2025 16:23:30 +0200 Subject: [PATCH 02/26] Normalized reprostim recipe dependencies. --- recipes/reprostim/meta.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index c8f28335de058..3fadedade3116 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -19,21 +19,28 @@ requirements: - python {{ python_min }} - setuptools >=46.4.0 - pip + - hatchling + - versioningit run: - python >={{ python_min }} - - __linux # Contstrain to linux - - matplotlib + - zbar + - click >=8.1.7 + - click-didyoumean >=0.3.1 + - pydantic >=2.7.1 + - numpy >=1.26.4 + - pyzbar >=0.1.9 + - qrcode >=8.0 + - opencv-python >=4.9.0.80 test: imports: - reprostim commands: - - python -m pytest -vv test + - python -m pytest -vv tests requires: - python {{ python_min }} - pytest - pytest-cov - - matplotlib source_files: - tests From 97f81aa39b419aa72101a7eca6a0cf4276fb50a9 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 12:17:42 +0200 Subject: [PATCH 03/26] Update opencv-python dependency. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 3fadedade3116..bfad23d3f1b40 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -30,7 +30,7 @@ requirements: - numpy >=1.26.4 - pyzbar >=0.1.9 - qrcode >=8.0 - - opencv-python >=4.9.0.80 + - opencv-python >=4.9.0 test: imports: From b510ed5d01216e84b9b62dff664683a186ea8e20 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 12:24:09 +0200 Subject: [PATCH 04/26] Update opencv-python dependency. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index bfad23d3f1b40..9595ae34c8ca1 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -30,7 +30,7 @@ requirements: - numpy >=1.26.4 - pyzbar >=0.1.9 - qrcode >=8.0 - - opencv-python >=4.9.0 + - opencv >=4.9.0 test: imports: From 57d597d23788b827fa77755a613097d2cdc5740a Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 13:03:43 +0200 Subject: [PATCH 05/26] Update tests and version to be draft 0.7.6 . --- recipes/reprostim/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 9595ae34c8ca1..e3eb19e0a194b 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -1,5 +1,5 @@ {% set name = "reprostim" %} -{% set version = "0.7.5" %} +{% set version = "0.7.6" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/reprostim-{{ version }}.tar.gz - sha256: b24230069ad4f99d58cce6c4dfd731d222ed088a8b20235c997c22509ef59520 + sha256: a1f55064e0683c23410c5e6b40e73f1b001ad6e13583eadcf4a14bd844c8faed build: noarch: python From 119af416df859ea7eef43e25112efcf91423838d Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 14:06:40 +0200 Subject: [PATCH 06/26] Fix tests and update version to be draft 0.7.7 . --- recipes/reprostim/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index e3eb19e0a194b..dd57ed80263e1 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -1,5 +1,5 @@ {% set name = "reprostim" %} -{% set version = "0.7.6" %} +{% set version = "0.7.7" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/reprostim-{{ version }}.tar.gz - sha256: a1f55064e0683c23410c5e6b40e73f1b001ad6e13583eadcf4a14bd844c8faed + sha256: 51b759881c9174f0311c54609fdf855ca1da10210c5230dc778e090d9db6e28d build: noarch: python From f9e88a85a6b33893fe64e69e97466543cbe58893 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 14:23:52 +0200 Subject: [PATCH 07/26] Updated test dependencies. --- recipes/reprostim/meta.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index dd57ed80263e1..451ada9feb5a1 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -41,6 +41,9 @@ test: - python {{ python_min }} - pytest - pytest-cov + - reedsolo >=1.7.0 + - scipy >=1.14.1 + - sounddevice >=0.5.1 source_files: - tests From e2e3c46bdf865d1418b80ea577f45671aebf6678 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 14:32:48 +0200 Subject: [PATCH 08/26] Updated test dependencies. --- recipes/reprostim/meta.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 451ada9feb5a1..1cab9274c7538 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -43,7 +43,6 @@ test: - pytest-cov - reedsolo >=1.7.0 - scipy >=1.14.1 - - sounddevice >=0.5.1 source_files: - tests From fc63412fc71d8f2bba34ff9e6c35c84134f40186 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 14:34:15 +0200 Subject: [PATCH 09/26] Updated test dependencies. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 1cab9274c7538..a2203f0b75d19 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -42,7 +42,7 @@ test: - pytest - pytest-cov - reedsolo >=1.7.0 - - scipy >=1.14.1 + - scipy source_files: - tests From fd197a95b0e69ff08e0ebf856302e27102f59022 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 15:15:04 +0200 Subject: [PATCH 10/26] Updated version to 0.7.8. --- recipes/reprostim/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index a2203f0b75d19..6dc39ff32621c 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -1,5 +1,5 @@ {% set name = "reprostim" %} -{% set version = "0.7.7" %} +{% set version = "0.7.8" %} package: name: {{ name|lower }} @@ -7,7 +7,7 @@ package: source: url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/reprostim-{{ version }}.tar.gz - sha256: 51b759881c9174f0311c54609fdf855ca1da10210c5230dc778e090d9db6e28d + sha256: f735714a725998816617df9ab84c9e0f79e6749544b0ab1d27d0fd0c5672d6c2 build: noarch: python From 492d6b384e12bcf78ff468cab12a7a0552c2c9e2 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 19:32:58 +0200 Subject: [PATCH 11/26] Constrain to OSX or Linux only. --- recipes/reprostim/meta.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 6dc39ff32621c..835c8f82b362c 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -23,14 +23,16 @@ requirements: - versioningit run: - python >={{ python_min }} - - zbar - click >=8.1.7 - click-didyoumean >=0.3.1 - pydantic >=2.7.1 - numpy >=1.26.4 - - pyzbar >=0.1.9 - qrcode >=8.0 - opencv >=4.9.0 + - __unix # Constrain to OSX or Linux only. + - zbar + - pyzbar >=0.1.9 + test: imports: From 2430678e8afb1b2684543245310f65343daf8e13 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 19:43:56 +0200 Subject: [PATCH 12/26] Exclude windows platform. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 835c8f82b362c..c75534710739d 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -10,6 +10,7 @@ source: sha256: f735714a725998816617df9ab84c9e0f79e6749544b0ab1d27d0fd0c5672d6c2 build: + skip: True # [not win] noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 @@ -29,7 +30,6 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - __unix # Constrain to OSX or Linux only. - zbar - pyzbar >=0.1.9 From 42ddb168a4c7c26124cedec7a6b473f1c9fe49e7 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 19:49:17 +0200 Subject: [PATCH 13/26] Exclude windows platform. --- recipes/reprostim/meta.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index c75534710739d..100fda1e1b9f6 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -10,8 +10,7 @@ source: sha256: f735714a725998816617df9ab84c9e0f79e6749544b0ab1d27d0fd0c5672d6c2 build: - skip: True # [not win] - noarch: python + skip: True # [win] script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 From 0363c68999ae4f9a6fbc469cbf0fe093e92002a5 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 19:52:44 +0200 Subject: [PATCH 14/26] Exclude tests on windows platform. --- recipes/reprostim/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 100fda1e1b9f6..3b9b23914c445 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -35,9 +35,9 @@ requirements: test: imports: - - reprostim + - reprostim # [not win] commands: - - python -m pytest -vv tests + - python -m pytest -vv tests # [not win] requires: - python {{ python_min }} - pytest From bc257c2e2401894d4ee88f02fb95fb7dcb087898 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Fri, 7 Feb 2025 19:59:31 +0200 Subject: [PATCH 15/26] Exclude tests on windows platform. --- recipes/reprostim/meta.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 3b9b23914c445..b3abf609f3366 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -16,13 +16,13 @@ build: requirements: host: - - python {{ python_min }} + - python - setuptools >=46.4.0 - pip - hatchling - versioningit run: - - python >={{ python_min }} + - python - click >=8.1.7 - click-didyoumean >=0.3.1 - pydantic >=2.7.1 @@ -35,9 +35,9 @@ requirements: test: imports: - - reprostim # [not win] + - reprostim # [not win] commands: - - python -m pytest -vv tests # [not win] + - python -m pytest -vv tests # [not win] requires: - python {{ python_min }} - pytest From 4bd2a2294561f941fb6a58f95b023a0702f0b10d Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Sat, 8 Feb 2025 10:02:21 +0200 Subject: [PATCH 16/26] Exclude zbar on windows platform. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index b3abf609f3366..097daf09f92df 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -29,7 +29,7 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - zbar + - zbar # [not win] - pyzbar >=0.1.9 From 456ac22e5cebf2fb9b69acd7e8e74c3d775ec59f Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 10 Feb 2025 22:38:20 +0200 Subject: [PATCH 17/26] Restored noarch, removed zbar bin dependency and enabled reprostim imports in tests as were recommended. --- recipes/reprostim/meta.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 097daf09f92df..de171320a6f0b 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -10,7 +10,7 @@ source: sha256: f735714a725998816617df9ab84c9e0f79e6749544b0ab1d27d0fd0c5672d6c2 build: - skip: True # [win] + noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 @@ -29,13 +29,12 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - zbar # [not win] - pyzbar >=0.1.9 test: imports: - - reprostim # [not win] + - reprostim commands: - python -m pytest -vv tests # [not win] requires: From 1b7cd3e7bdb064aedf5c40390e5ef828db5b2dfd Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 10 Feb 2025 22:42:15 +0200 Subject: [PATCH 18/26] Fixed "noarch: python recipes are required to have a lower bound on the python version." --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index de171320a6f0b..cfda9229ba02e 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -16,7 +16,7 @@ build: requirements: host: - - python + - python {{ python_min }} - setuptools >=46.4.0 - pip - hatchling From b20bc22a3e72e115313b7dd88a60adefbfec21fe Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 10 Feb 2025 22:57:56 +0200 Subject: [PATCH 19/26] Try to fix under noarch error in "Build win_64 win" job: The following package could not be installed pyzbar >=0.1.9 * is not installable because it requires zbar =* *, which does not exist (perhaps a missing channel). --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index cfda9229ba02e..5fdf18c2b281b 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -34,7 +34,7 @@ requirements: test: imports: - - reprostim + - reprostim # [not win] commands: - python -m pytest -vv tests # [not win] requires: From da2fc80b9a9c53a777deb078dd13e29e27039be3 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 10 Feb 2025 23:15:30 +0200 Subject: [PATCH 20/26] Disable pyzbar dependency in windows atm and fix linter error "For the run section of recipe, you should usually use python >={{ python_min }} for the python entry" --- recipes/reprostim/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 5fdf18c2b281b..2feb48a3eb1da 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -22,19 +22,19 @@ requirements: - hatchling - versioningit run: - - python + - python >={{ python_min }} - click >=8.1.7 - click-didyoumean >=0.3.1 - pydantic >=2.7.1 - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar >=0.1.9 + - pyzbar >=0.1.9 # [not win] test: imports: - - reprostim # [not win] + - reprostim commands: - python -m pytest -vv tests # [not win] requires: From 683ee42403bfaa4a81484af3e3dd7ad7e6b994d4 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Mon, 10 Feb 2025 23:35:45 +0200 Subject: [PATCH 21/26] Build win_64 win failed: conda_build.exceptions.CondaBuildUserError: Noarch package contains binary script: reprostim.exe --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 2feb48a3eb1da..5051e27837a74 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -34,7 +34,7 @@ requirements: test: imports: - - reprostim + - reprostim # [not win] commands: - python -m pytest -vv tests # [not win] requires: From c104dff41300e06a7163645e5a9a9d3eee64ad4e Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 11 Feb 2025 00:13:25 +0200 Subject: [PATCH 22/26] Try early pyzbar version 0.1.8, noarch and removed all conda selectors. --- recipes/reprostim/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 5051e27837a74..ef6bd942c138b 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -29,14 +29,14 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar >=0.1.9 # [not win] + - pyzbar =0.1.8 test: imports: - - reprostim # [not win] + - reprostim commands: - - python -m pytest -vv tests # [not win] + - python -m pytest -vv tests requires: - python {{ python_min }} - pytest From 2344ebe20152461ec65c6c082f57b99e35e9fe95 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 11 Feb 2025 00:36:22 +0200 Subject: [PATCH 23/26] Revert back pyzbar version 0.1.9, and try __linux and __osx constraints under noarch. --- recipes/reprostim/meta.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index ef6bd942c138b..e0b8700bf0876 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -23,13 +23,15 @@ requirements: - versioningit run: - python >={{ python_min }} + - __linux + - __osx - click >=8.1.7 - click-didyoumean >=0.3.1 - pydantic >=2.7.1 - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar =0.1.8 + - pyzbar =0.1.9 test: From dddac5fc35c06a8964f6d6e69c8da0d6e71f30e0 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 11 Feb 2025 00:48:40 +0200 Subject: [PATCH 24/26] Removed __linux and __osx constraints, pyzbar 0.1.8, and specified entry point. --- recipes/reprostim/meta.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index e0b8700bf0876..370b3d5c3313e 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -13,6 +13,8 @@ build: noarch: python script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation number: 0 + entry_points: + - reprostim = reprostim.cli.entrypoint:main requirements: host: @@ -23,15 +25,13 @@ requirements: - versioningit run: - python >={{ python_min }} - - __linux - - __osx - click >=8.1.7 - click-didyoumean >=0.3.1 - pydantic >=2.7.1 - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar =0.1.9 + - pyzbar =0.1.8 test: From 81b0d89e4edabd68b2003f21cdd9dc291e843261 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 11 Feb 2025 01:09:12 +0200 Subject: [PATCH 25/26] Now switch to the latest pyzbar 0.1.9. --- recipes/reprostim/meta.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index 370b3d5c3313e..e8f17f4a8d952 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -31,8 +31,7 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar =0.1.8 - + - pyzbar >=0.1.9 test: imports: From 43513b3cdf2836ff23eb5e9e21d4e4a682a69bf3 Mon Sep 17 00:00:00 2001 From: Vadim Melnik Date: Tue, 11 Feb 2025 01:20:18 +0200 Subject: [PATCH 26/26] Finally stick to the older pyzbar v0.1.8 + entry_points,as this config work in "Build win_64 win" job w/o errors under noarch. --- recipes/reprostim/meta.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/reprostim/meta.yaml b/recipes/reprostim/meta.yaml index e8f17f4a8d952..ba2a25bd43f0f 100644 --- a/recipes/reprostim/meta.yaml +++ b/recipes/reprostim/meta.yaml @@ -31,7 +31,7 @@ requirements: - numpy >=1.26.4 - qrcode >=8.0 - opencv >=4.9.0 - - pyzbar >=0.1.9 + - pyzbar =0.1.8 test: imports: