11{% set name = "xgboost" %}
22{% set version = "2.1.1" %}
3- {% set build_number = 0 %}
3+ {% set build_number = 1 %}
44{% set min_python = "3.8" %}
55
66{% set string_prefix = "cuda" ~ (cuda_compiler_version | replace('.', '')) if (cuda_compiler_version or "None") != "None" else "cpu" %}
2626 # xref: https://github.com/conda-forge/xgboost-feedstock/issues/173
2727 {% if python is defined and cuda_compiler_version is defined %}
2828 skip : >-
29- {{ ( python.split(".")[:2] != min_python.split(".")[:2] or (win and cuda_compiler_version == "11.8") ) }}
29+ {{ python.split(".")[:2] != min_python.split(".")[:2] or (win and cuda_compiler_version == "11.8") }}
3030 {% endif %}
3131
3232requirements :
@@ -113,12 +113,14 @@ outputs:
113113 host :
114114 - {{ pin_subpackage('_py-xgboost-mutex', exact=True) }}
115115 - {{ pin_subpackage('libxgboost', max_pin='x.x.x') }}
116+ - libxgboost =*={{ string_prefix }}_h*_{{ PKG_BUILDNUM }}
116117 - python >={{ min_python }}
117118 - hatchling >=1.12.1
118119 - pip
119120 run :
120121 - {{ pin_subpackage('_py-xgboost-mutex', exact=True) }}
121122 - {{ pin_subpackage('libxgboost', max_pin='x.x.x') }}
123+ - libxgboost =*={{ string_prefix }}_h*_{{ PKG_BUILDNUM }}
122124 - python >={{ min_python }}
123125 - numpy
124126 - scipy
@@ -139,9 +141,11 @@ outputs:
139141 host :
140142 - python >={{ min_python }}
141143 - {{ pin_subpackage('py-xgboost', exact=True) }}
144+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
142145 run :
143146 - python >={{ min_python }}
144147 - {{ pin_subpackage('py-xgboost', exact=True) }}
148+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
145149 test :
146150 requires :
147151 - python
@@ -156,9 +160,11 @@ outputs:
156160 host :
157161 - python >={{ min_python }}
158162 - {{ pin_subpackage('py-xgboost', exact=True) }}
163+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
159164 run :
160165 - python >={{ min_python }}
161166 - {{ pin_subpackage('py-xgboost', exact=True) }}
167+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
162168 - __cuda # [cuda_compiler != "None"]
163169 test :
164170 requires :
@@ -174,9 +180,11 @@ outputs:
174180 host :
175181 - python >={{ min_python }}
176182 - {{ pin_subpackage('py-xgboost', exact=True) }}
183+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
177184 run :
178185 - python >={{ min_python }}
179186 - {{ pin_subpackage('py-xgboost', exact=True) }}
187+ - py-xgboost =*={{ string_prefix }}_pyh*_{{ PKG_BUILDNUM }}
180188 - __cuda # [cuda_compiler != "None"]
181189 test :
182190 requires :
@@ -228,6 +236,7 @@ outputs:
228236 host :
229237 - {{ pin_subpackage('_r-xgboost-mutex', exact=True) }}
230238 - {{ pin_subpackage('libxgboost', max_pin='x.x.x') }}
239+ - libxgboost =*={{ string_prefix }}_h*_{{ PKG_BUILDNUM }}
231240 - r-base
232241 - r-matrix
233242 - r-data.table
@@ -237,6 +246,7 @@ outputs:
237246 run :
238247 - {{ pin_subpackage('_r-xgboost-mutex', exact=True) }}
239248 - {{ pin_subpackage('libxgboost', max_pin='x.x.x') }}
249+ - libxgboost =*={{ string_prefix }}_h*_{{ PKG_BUILDNUM }}
240250 - r-base
241251 - r-matrix
242252 - r-data.table
@@ -259,9 +269,11 @@ outputs:
259269 host :
260270 - r-base
261271 - {{ pin_subpackage('r-xgboost', exact=True) }}
272+ - r-xgboost =*={{ string_prefix }}_r*h*_{{ PKG_BUILDNUM }}
262273 run :
263274 - r-base
264275 - {{ pin_subpackage('r-xgboost', exact=True) }}
276+ - r-xgboost =*={{ string_prefix }}_r*h*_{{ PKG_BUILDNUM }}
265277 test :
266278 requires :
267279 - r-base
@@ -277,9 +289,11 @@ outputs:
277289 host :
278290 - r-base
279291 - {{ pin_subpackage('r-xgboost', exact=True) }}
292+ - r-xgboost =*={{ string_prefix }}_r*h*_{{ PKG_BUILDNUM }}
280293 run :
281294 - r-base
282295 - {{ pin_subpackage('r-xgboost', exact=True) }}
296+ - r-xgboost =*={{ string_prefix }}_r*h*_{{ PKG_BUILDNUM }}
283297 - __cuda # [cuda_compiler != "None"]
284298 test :
285299 requires :
0 commit comments