-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathrecipe.yaml
More file actions
98 lines (87 loc) · 2.21 KB
/
recipe.yaml
File metadata and controls
98 lines (87 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
schema_version: 1
context:
name: "simpeg-drivers"
version: "0.0.0.dev0" # This will be replaced by the actual version in the build process
python_min: "3.12"
module_name: ${{ name|lower|replace("-", "_") }}
package:
name: ${{ name|lower }}
version: ${{ version }}
source:
path: ../${{ name }}
build:
number: 0
noarch: python
script: ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
requirements:
host:
- python ${{ python_min }}.*
- poetry-core >=1.8.0
- poetry-dynamic-versioning >=1.9, 1.*
- setuptools
- pip
run:
- python >=${{ python_min }}
# Mira packages
- geoapps-utils >=0.7.0a2, 0.7.*
- geoh5py >=0.13.0a2, 0.13.*
- grid-apps >=0.2.0a2, 0.2.*
- mira-simpeg >=0.23.0.2, 0.23.0.* | >=0.25.0.1a, 0.25.0.*
# direct dependencies
- dask-core 2025.3.*
- discretize 0.12.*
- distributed 2025.3.*
- numpy >=2.4.2, 2.4.*
- pydantic 2.12.*
- pydiso 0.2.*
- python-mumps >=0.0.6, 0.0.6.*
- rtree 1.4.*
- scikit-learn 1.8.*
- scipy 1.17.*
- tqdm >=4.66.1, 4.*
- trimesh >=4.1.3, 4.1.*
# constrain version for some indirect dependencies from SimPEG
- geoana 0.8.*
- matplotlib-base >=3.10.4, 3.10.*
- pymatsolver 0.3.*
- zarr >=2.14.2, 2.14.*
run_constraints:
- __glibc >=2.17
- bokeh 3.6.*
- fsspec >=2022.0
tests:
- python:
imports:
- ${{ module_name }}
- ${{ module_name }}._version
- dask
- distributed
- geoapps_utils
- geoh5py
- grid_apps
- simpeg
pip_check: true
- script:
- pytest --ignore=tests/version_test.py
requirements:
run:
- pytest
files:
source:
- tests/
- package_contents:
files:
- site-packages/${{ module_name }}/_version.py
about:
license: MIT
license_file:
- LICENSE
- docs/THIRD_PARTY_SOFTWARE.rst
homepage: https://www.mirageoscience.com/mining-industry-software/python-integration/
repository: https://github.com/MiraGeoscience/simpeg-drivers
documentation: https://mirageoscience-simpeg-drivers.readthedocs-hosted.com/
extra:
recipe-maintainers:
- andrewg-mira
- domfournier
- sebhmg