Skip to content

Commit 798bf99

Browse files
committed
Remove incorrect use of 'timeout-minutes'
Fix rattler recipe for multiple outputs Add build config for conda build recipe
1 parent f215e1d commit 798bf99

File tree

4 files changed

+189
-114
lines changed

4 files changed

+189
-114
lines changed

.github/workflows/stripped-install.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ jobs:
4848
defaults:
4949
run:
5050
shell: bash -l {0}
51-
timeout-minutes: 30
5251
steps:
5352
- name: Check out repository code
5453
uses: actions/checkout@v5

conda.recipe/recipe.yaml

Lines changed: 135 additions & 100 deletions
Original file line numberDiff line numberDiff line change
@@ -4,96 +4,99 @@ context:
44
version: "1.10.2"
55
version_major: "1"
66
build_number: 0
7-
package:
7+
recipe:
88
name: ${{ name|lower }}
99
version: ${{ version }}
1010
source:
1111
path: ../
12-
build:
13-
number: ${{ build_number }}
14-
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
15-
run_exports:
16-
- ${{ pin_subpackage('yggdrasil', max_pin='x.x.x') }}
17-
script: '{{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv --no-build-isolation'
18-
entry_points:
19-
- yggdrasil = yggdrasil.command_line:main
20-
- ygginfo = yggdrasil.command_line:ygginfo
21-
- yggrun = yggdrasil.command_line:yggrun
22-
- yggexample = yggdrasil.command_line:yggexample
23-
- cisrun = yggdrasil.command_line:yggrun
24-
- yggcompile = yggdrasil.command_line:yggcompile
25-
- yggcc = yggdrasil.command_line:yggcc
26-
- yggcctool = yggdrasil.command_line:cc_toolname
27-
- yggldtool = yggdrasil.command_line:ld_toolname
28-
- yggccflags = yggdrasil.command_line:cc_flags
29-
- yggldflags = yggdrasil.command_line:ld_flags
30-
- yggschema = yggdrasil.command_line:regen_schema
31-
- yggbuildapi_c = yggdrasil.command_line:rebuild_c_api
32-
- yggconfig = yggdrasil.command_line:update_config
33-
- yggtime_comm = yggdrasil.command_line:yggtime_comm
34-
- yggtime_lang = yggdrasil.command_line:yggtime_lang
35-
- yggtime_os = yggdrasil.command_line:yggtime_os
36-
- yggtime_py = yggdrasil.command_line:yggtime_py
37-
- yggtime_paper = yggdrasil.command_line:yggtime_paper
38-
- yggvalidate = yggdrasil.command_line:validate_yaml
39-
- ygginstall = yggdrasil.command_line:ygginstall
40-
- yggclean = yggdrasil.command_line:yggclean
41-
- yggmodelform = yggdrasil.command_line:yggmodelform
42-
- yggdevup = yggdrasil.command_line:yggdevup
43-
- ygggha = yggdrasil.command_line:generate_gha_workflow
44-
requirements:
45-
build:
46-
- cmake >=3.16
47-
- ninja
48-
- numpy >=1.13.0
49-
- python-build
50-
- ${{ compiler('c') }}
51-
- ${{ compiler('cxx') }}
52-
- ${{ stdlib('c') }}
53-
- if: build_platform != target_platform
54-
then:
55-
- cross-python_${{ target_platform }}
56-
- python
57-
host:
58-
- hatch-fancy-pypi-readme
59-
- ninja
60-
- numpy >=1.13.0
61-
- pip
62-
- python
63-
- scikit-build-core <0.11.2
64-
- setuptools_scm
65-
- if: unix
66-
then:
67-
- sysv_ipc
68-
run:
69-
- GitPython
70-
- chevron
71-
- deprecation
72-
- flask
73-
- matplotlib-base
74-
- numpy >=1.13.0
75-
- pandas
76-
- psutil
77-
- pyperf
78-
- python
79-
- pyyaml
80-
- pyzmq
81-
- requests
82-
- scipy
83-
- six
84-
- toml
85-
- unyt
86-
- if: unix
87-
then:
88-
- git
89-
- sysv_ipc
90-
- if: win
91-
then:
92-
- m2w64-crt-git
9312
outputs:
94-
- name: yggdrasil
95-
- name: yggdrasil.c
13+
- package:
14+
name: yggdrasil
15+
build:
16+
number: ${{ build_number }}
17+
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
18+
run_exports:
19+
- ${{ pin_subpackage('yggdrasil', max_pin='x.x.x') }}
20+
script: ${{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv --no-build-isolation
21+
entry_points:
22+
- yggdrasil = yggdrasil.command_line:main
23+
- ygginfo = yggdrasil.command_line:ygginfo
24+
- yggrun = yggdrasil.command_line:yggrun
25+
- yggexample = yggdrasil.command_line:yggexample
26+
- cisrun = yggdrasil.command_line:yggrun
27+
- yggcompile = yggdrasil.command_line:yggcompile
28+
- yggcc = yggdrasil.command_line:yggcc
29+
- yggcctool = yggdrasil.command_line:cc_toolname
30+
- yggldtool = yggdrasil.command_line:ld_toolname
31+
- yggccflags = yggdrasil.command_line:cc_flags
32+
- yggldflags = yggdrasil.command_line:ld_flags
33+
- yggschema = yggdrasil.command_line:regen_schema
34+
- yggbuildapi_c = yggdrasil.command_line:rebuild_c_api
35+
- yggconfig = yggdrasil.command_line:update_config
36+
- yggtime_comm = yggdrasil.command_line:yggtime_comm
37+
- yggtime_lang = yggdrasil.command_line:yggtime_lang
38+
- yggtime_os = yggdrasil.command_line:yggtime_os
39+
- yggtime_py = yggdrasil.command_line:yggtime_py
40+
- yggtime_paper = yggdrasil.command_line:yggtime_paper
41+
- yggvalidate = yggdrasil.command_line:validate_yaml
42+
- ygginstall = yggdrasil.command_line:ygginstall
43+
- yggclean = yggdrasil.command_line:yggclean
44+
- yggmodelform = yggdrasil.command_line:yggmodelform
45+
- yggdevup = yggdrasil.command_line:yggdevup
46+
- ygggha = yggdrasil.command_line:generate_gha_workflow
47+
requirements:
48+
build:
49+
- cmake >=3.16
50+
- ninja
51+
- numpy >=1.13.0
52+
- python-build
53+
- ${{ compiler('c') }}
54+
- ${{ compiler('cxx') }}
55+
- ${{ stdlib('c') }}
56+
- if: build_platform != target_platform
57+
then:
58+
- cross-python_${{ target_platform }}
59+
- python
60+
host:
61+
- hatch-fancy-pypi-readme
62+
- ninja
63+
- numpy >=1.13.0
64+
- pip
65+
- python
66+
- scikit-build-core <0.11.2
67+
- setuptools_scm
68+
- if: unix
69+
then:
70+
- sysv_ipc
71+
run:
72+
- GitPython
73+
- chevron
74+
- deprecation
75+
- flask
76+
- matplotlib-base
77+
- numpy >=1.13.0
78+
- pandas
79+
- psutil
80+
- pyperf
81+
- python
82+
- pyyaml
83+
- pyzmq
84+
- requests
85+
- scipy
86+
- six
87+
- toml
88+
- unyt
89+
- if: unix
90+
then:
91+
- git
92+
- sysv_ipc
93+
- if: win
94+
then:
95+
- m2w64-crt-git
96+
- package:
97+
name: yggdrasil.c
9698
build:
99+
number: ${{ build_number }}
97100
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
98101
run_exports:
99102
- ${{ pin_subpackage('yggdrasil.c') }}
@@ -112,8 +115,10 @@ outputs:
112115
- if: win
113116
then:
114117
- ${{ pin_subpackage('yggdrasil.zmq', exact=True) }}
115-
- name: yggdrasil.fortran
118+
- package:
119+
name: yggdrasil.fortran
116120
build:
121+
number: ${{ build_number }}
117122
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
118123
run_exports:
119124
- ${{ pin_subpackage('yggdrasil.fortran') }}
@@ -123,8 +128,10 @@ outputs:
123128
run:
124129
- ${{ pin_subpackage('yggdrasil.c', exact=True) }}
125130
- ${{ compiler('fortran') }}
126-
- name: yggdrasil.r
131+
- package:
132+
name: yggdrasil.r
127133
build:
134+
number: ${{ build_number }}
128135
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
129136
run_exports:
130137
- ${{ pin_subpackage('yggdrasil.r') }}
@@ -152,8 +159,10 @@ outputs:
152159
- if: unix
153160
then:
154161
- r-devtools
155-
- name: yggdrasil.zmq
162+
- package:
163+
name: yggdrasil.zmq
156164
build:
165+
number: ${{ build_number }}
157166
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
158167
run_exports:
159168
- ${{ pin_subpackage('yggdrasil.zmq') }}
@@ -168,8 +177,10 @@ outputs:
168177
- czmq
169178
- lz4
170179
- zeromq
171-
- name: yggdrasil.julia
180+
- package:
181+
name: yggdrasil.julia
172182
build:
183+
number: ${{ build_number }}
173184
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
174185
run_exports:
175186
- ${{ pin_subpackage('yggdrasil.julia') }}
@@ -180,8 +191,10 @@ outputs:
180191
run:
181192
- ${{ pin_subpackage('yggdrasil', exact=True) }}
182193
- juliaup
183-
- name: yggdrasil.mpi
194+
- package:
195+
name: yggdrasil.mpi
184196
build:
197+
number: ${{ build_number }}
185198
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
186199
run_exports:
187200
- ${{ pin_subpackage('yggdrasil.mpi') }}
@@ -200,8 +213,10 @@ outputs:
200213
- if: osx
201214
then:
202215
- openmpi
203-
- name: yggdrasil.rmq
216+
- package:
217+
name: yggdrasil.rmq
204218
build:
219+
number: ${{ build_number }}
205220
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
206221
run_exports:
207222
- ${{ pin_subpackage('yggdrasil.rmq') }}
@@ -211,8 +226,10 @@ outputs:
211226
run:
212227
- ${{ pin_subpackage('yggdrasil', exact=True) }}
213228
- pika >=1.0.0
214-
- name: yggdrasil.images
229+
- package:
230+
name: yggdrasil.images
215231
build:
232+
number: ${{ build_number }}
216233
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
217234
run_exports:
218235
- ${{ pin_subpackage('yggdrasil.images') }}
@@ -223,8 +240,10 @@ outputs:
223240
- ${{ pin_subpackage('yggdrasil', exact=True) }}
224241
- ghostscript
225242
- pillow
226-
- name: yggdrasil.seq
243+
- package:
244+
name: yggdrasil.seq
227245
build:
246+
number: ${{ build_number }}
228247
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
229248
run_exports:
230249
- ${{ pin_subpackage('yggdrasil.seq') }}
@@ -234,8 +253,10 @@ outputs:
234253
run:
235254
- ${{ pin_subpackage('yggdrasil', exact=True) }}
236255
- biopython
237-
- name: yggdrasil.pytorch
256+
- package:
257+
name: yggdrasil.pytorch
238258
build:
259+
number: ${{ build_number }}
239260
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
240261
run_exports:
241262
- ${{ pin_subpackage('yggdrasil.pytorch') }}
@@ -248,8 +269,10 @@ outputs:
248269
then:
249270
- pytorch
250271
- torchvision
251-
- name: yggdrasil.excel
272+
- package:
273+
name: yggdrasil.excel
252274
build:
275+
number: ${{ build_number }}
253276
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
254277
run_exports:
255278
- ${{ pin_subpackage('yggdrasil.excel') }}
@@ -260,8 +283,10 @@ outputs:
260283
- ${{ pin_subpackage('yggdrasil', exact=True) }}
261284
- openpyxl
262285
- pandas
263-
- name: yggdrasil.testing
286+
- package:
287+
name: yggdrasil.testing
264288
build:
289+
number: ${{ build_number }}
265290
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
266291
run_exports:
267292
- ${{ pin_subpackage('yggdrasil.testing') }}
@@ -281,8 +306,10 @@ outputs:
281306
- pytest-rerunfailures
282307
- pytest-timeout
283308
- pytest-xdist
284-
- name: yggdrasil.docs
309+
- package:
310+
name: yggdrasil.docs
285311
build:
312+
number: ${{ build_number }}
286313
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
287314
run_exports:
288315
- ${{ pin_subpackage('yggdrasil.docs') }}
@@ -299,8 +326,10 @@ outputs:
299326
- sphinx
300327
- sphinx-argparse
301328
- sphinx_rtd_theme
302-
- name: yggdrasil.dev
329+
- package:
330+
name: yggdrasil.dev
303331
build:
332+
number: ${{ build_number }}
304333
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
305334
run_exports:
306335
- ${{ pin_subpackage('yggdrasil.dev') }}
@@ -314,8 +343,10 @@ outputs:
314343
- emacs
315344
- ipython
316345
- pre-commit
317-
- name: yggdrasil.astropy
346+
- package:
347+
name: yggdrasil.astropy
318348
build:
349+
number: ${{ build_number }}
319350
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
320351
run_exports:
321352
- ${{ pin_subpackage('yggdrasil.astropy') }}
@@ -325,8 +356,10 @@ outputs:
325356
run:
326357
- ${{ pin_subpackage('yggdrasil', exact=True) }}
327358
- astropy
328-
- name: yggdrasil.pygments
359+
- package:
360+
name: yggdrasil.pygments
329361
build:
362+
number: ${{ build_number }}
330363
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
331364
run_exports:
332365
- ${{ pin_subpackage('yggdrasil.pygments') }}
@@ -336,8 +369,10 @@ outputs:
336369
run:
337370
- ${{ pin_subpackage('yggdrasil', exact=True) }}
338371
- pygments
339-
- name: yggdrasil.trimesh
372+
- package:
373+
name: yggdrasil.trimesh
340374
build:
375+
number: ${{ build_number }}
341376
string: py${{ python | version_to_buildstring }}h${{ hash }}_${{ build_number }}
342377
run_exports:
343378
- ${{ pin_subpackage('yggdrasil.trimesh') }}

0 commit comments

Comments
 (0)