-
Notifications
You must be signed in to change notification settings - Fork 4
/
meta.yaml
240 lines (233 loc) · 8.17 KB
/
meta.yaml
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
{% set name = "tiledbsoma" %}
{% set version = "1.14.2" %}
{% set sha256 = "b459976562fdea0c5a2ae03843b44e82e0a1d1f0721f3452d19ba49ad8d62231" %}
# This is the SHA256 of
# TileDB-SOMA-i.j.k.tar.gz
# from
# https://github.com/single-cell-data/TileDB-SOMA/releases/tag/i.j.k
#
# See also build number below.
#
# Also double-check somacore version against TileDB-SOMA's setup.py: this bumps very infrequently
# but it can.
package:
name: {{ name }}
version: {{ version }}
# Post-tag real thing:
source:
url: https://github.com/single-cell-data/TileDB-SOMA/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}
# Pre-tag canary "will Conda be green if we release":
#source:
# git_url: https://github.com/single-cell-data/TileDB-SOMA.git
# git_rev: 2d5d705b020f2996a9266fe9268732f7c440cc37
# git_depth: -1
# # hoping to be 1.14.2 <-- FILL IN HERE
build:
number: 1
skip: true # [win or linux32 or py2k]
# Important: set this back to 0 on a new release
outputs:
- name: libtiledbsoma
version: {{ version }}
script: build-libtiledbsoma.sh # [not win]
requirements:
build:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- git
- cmake
- make # [not win]
host:
# Workaround for conda solver problems for osx-64. Remove when migrating
# to 2.27
- tiledb 2.26.1 # [osx and x86]
- tiledb >=2.26.0,<2.27 # [not (osx and x86)]
- spdlog
- fmt
about:
home: http://tiledb.com
license: MIT
license_family: MIT
license_file: LICENSE
summary: TileDB-SOMA C++ library
description: >-
SOMA - for "Stack Of Matrices, Annotated" - is a flexible, extensible,
and open-source API enabling access to data in a variety of formats. The
driving use case of SOMA is for single-cell data in the form of
annotated matrices where observations are frequently cells and features
are genes, proteins, or genomic regions.
doc_url: https://docs.tiledb.com/
dev_url: https://github.com/single-cell-data/TileDB-SOMA
- name: tiledbsoma-py
version: {{ version }}
script: build-tiledbsoma-py.sh
build:
skip: true # [py == 312]
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- pybind11 # [build_platform != target_platform]
- pyarrow # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
host:
- python
- pip
# conda docs say to use pin_subpackage in `run`, but there is no other
# way to guarantee the locally built package is installed. The pyarrow
# recipe also does this
- {{ pin_subpackage('libtiledbsoma', exact=True) }}
- pybind11
- setuptools
- setuptools_scm
- wheel
- numpy
- pyarrow
run:
- {{ pin_compatible('numpy', lower_bound='1.16', upper_bound='1.27') }}
- {{ pin_subpackage('libtiledbsoma', exact=True) }}
- pandas
- pyarrow
- python
- scipy
- anndata # [py>37]
- anndata <0.9 # [py<=37]
- tiledb-py >=0.32.0,<0.33.0
- typing-extensions >=4.1
- numba >=0.58.1 # [py>37]
- numba # [py<=37]
- attrs >=22.2
# Keep this in sync with TileDB-SOMA's somacore version requirement.
- somacore ==1.0.17
- scanpy >=1.9.2
test:
imports:
- tiledbsoma
requires:
- pip
# Confirm 2.26.2 can be installed at runtime. Remove when migrating to
# 2.27
- tiledb >=2.26.2,<2.27
commands:
- python -c 'import tiledbsoma; print(tiledbsoma.pytiledbsoma.version())'
# See also:
# https://github.com/single-cell-data/TileDB-SOMA/pull/2734
# https://github.com/single-cell-data/TileDB-SOMA/pull/2692
# https://github.com/TileDB-Inc/tiledbsoma-feedstock/pull/171
# https://github.com/apache/arrow/issues/42154
- python -c 'import tiledbsoma; assert not tiledbsoma.DataFrame.exists("s3://abc/def")'
- pip check
about:
home: http://tiledb.com
license: MIT
license_family: MIT
license_file: LICENSE
summary: TileDB-SOMA Python API
description: Python API for efficient storage and retrieval of single-cell data using TileDB
doc_url: https://docs.tiledb.com/
dev_url: https://github.com/single-cell-data/TileDB-SOMA/tree/main/apis/python
- name: r-tiledbsoma
version: {{ version }}
script: build-r-tiledbsoma.sh
build:
rpaths:
- lib/R/lib/
- lib/
requirements:
build:
- {{ compiler('cxx') }}
- {{ stdlib("c") }}
- pkg-config
# required for cross-compilation
- cross-r-base {{ r_base }} # [build_platform != target_platform]
- r-rcppspdlog # [build_platform != target_platform]
- r-matrix # [build_platform != target_platform]
- r-bit64 # [build_platform != target_platform]
- r-rcppint64 # [build_platform != target_platform]
- r-tiledb >=0.30.0,<0.31 # [build_platform != target_platform]
- r-arrow # [build_platform != target_platform]
- r-fs # [build_platform != target_platform]
- r-glue # [build_platform != target_platform]
- r-urltools # [build_platform != target_platform]
- r-rcpp # [build_platform != target_platform]
- r-dplyr # [build_platform != target_platform]
- r-data.table # [build_platform != target_platform]
- r-rlang # [build_platform != target_platform]
- r-nanoarrow # [build_platform != target_platform]
host:
- {{ pin_subpackage('libtiledbsoma', exact=True) }}
- r-base
- r-r6
- r-matrix
- r-bit64
- r-rcppint64
- r-tiledb >=0.30.0,<0.31
- r-arrow
- r-fs
- r-glue
- r-urltools
- r-rcpp
- r-dplyr
- r-data.table
- r-spdl
- r-rlang
- r-nanoarrow
run:
- {{ pin_subpackage('libtiledbsoma', exact=True) }}
- r-base
- r-r6
- r-matrix
- r-bit64
- r-tiledb >=0.30.0,<0.31
- r-arrow
- r-fs
- r-glue
- r-urltools
- r-rcpp
- r-dplyr
- r-data.table
- r-spdl
- r-rlang
- r-nanoarrow
test:
requires:
# Confirm 2.26.2 can be installed at runtime. Remove when migrating to
# 2.27
- tiledb >=2.26.2,<2.27
- cctools # [osx]
commands:
- $R -e "library('tiledbsoma')"
- $R -e "tiledbsoma::show_package_versions()"
- "otool -L $PREFIX/lib/R/library/tiledbsoma/libs/tiledbsoma.dylib | grep -e libR -e libtiledb" # [osx]
- "ldd $PREFIX/lib/R/library/tiledbsoma/libs/tiledbsoma.so | grep -e libR -e libtiledb" # [linux]
about:
home: http://tiledb.com
license: MIT
license_family: MIT
license_file:
- '{{ environ["PREFIX"] }}/lib/R/share/licenses/MIT'
- apis/r/LICENSE
summary: TileDB-SOMA R API
description: R API for efficient storage and retrieval of single-cell data using TileDB
doc_url: https://docs.tiledb.com/
dev_url: https://github.com/single-cell-data/TileDB-SOMA/tree/main/apis/r
about:
home: http://tiledb.com
license: MIT
license_family: MIT
license_file: LICENSE
summary: TileDB-SOMA API
description: Efficient storage and retrieval of single-cell data using TileDB
doc_url: https://docs.tiledb.com/
dev_url: https://github.com/single-cell-data/TileDB-SOMA
extra:
recipe-maintainers:
- johnkerl
- gspowley
- shelnutt2
- mlin
- jdblischak