Skip to content
Snippets Groups Projects
Commit 01088248 authored by Vincent POLLET's avatar Vincent POLLET
Browse files

Fix sub-packages dependency specification

parent 99d198fc
No related branches found
No related tags found
1 merge request!462Fix sub-packages dependency specification
Pipeline #46259 passed
......@@ -46,7 +46,7 @@ build:
run_exports:
# https://abi-laboratory.pro/index.php?view=timeline&l=opencv
# Things seem to change every patch versions, mostly the dnn module
- {{ pin_subpackage('libopencv', max_pin='x.x.x') }}
- libopencv
requirements:
build:
......@@ -88,7 +88,6 @@ requirements:
run:
# Don't depend on python in the run section
# py-opencv will depend on python
- {{ pin_compatible('harfbuzz') }} # [unix]
......@@ -173,23 +172,19 @@ outputs:
- name: opencv
requirements:
run:
- {{ pin_subpackage('libopencv', exact=True) }}
- {{ pin_subpackage('py-opencv', exact=True) }}
- {{ pin_subpackage('libopencv', max_pin='x.x.x') }}
- {{ pin_subpackage('py-opencv', max_pin='x.x') }}
- name: py-opencv
build:
run_exports:
# Should we even have this???
# don't pin the python version so hard.
# Actually, I have found pretty good compatibility in the python
# package
- {{ pin_subpackage('py-opencv') }}
- py-opencv
requirements:
# There is no build script, but I just want it to think
# that it needs python and numpy at build time
host:
- python
- numpy
- python {{ python }}
- numpy {{ numpy }}
run:
- python
- {{ pin_compatible('numpy') }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment