Skip to content

Commit e0ef73c

Browse files
committed
Merge branch 'main' into tiledbsoma
1 parent 55e9e77 commit e0ef73c

File tree

3 files changed

+94
-7
lines changed

3 files changed

+94
-7
lines changed

recipes/sophios/meta.yaml

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{% set name = "sophios" %}
2+
{% set version = "0.2.2" %}
3+
4+
package:
5+
name: {{ name|lower }}
6+
version: {{ version }}
7+
8+
source:
9+
url: https://github.com/PolusAI/workflow-inference-compiler/archive/refs/tags/v{{ version }}.tar.gz
10+
sha256: 54e8bd0cfd6b0243bce19c0b878a8506687d737242f6a26a5485f86f2acb787b
11+
12+
build:
13+
noarch: python
14+
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
15+
number: 0
16+
17+
requirements:
18+
host:
19+
- python {{ python_min }}
20+
- setuptools >=42
21+
- pip
22+
- wheel
23+
- versioneer ==0.29
24+
- tomli
25+
run:
26+
- python >={{ python_min }}
27+
- python-graphviz
28+
- jsonschema
29+
- toil
30+
- pyyaml
31+
- requests <=2.31.0
32+
- mergedeep
33+
- networkx
34+
- cwl-utils >=0.32
35+
- typeguard
36+
- pydantic >=2.6
37+
- pydantic-settings
38+
- ruamel.yaml.clib
39+
- fastapi
40+
- docker-py
41+
- podman-py
42+
- python-jose
43+
- uvicorn
44+
- orjson
45+
46+
test:
47+
imports:
48+
- sophios
49+
commands:
50+
- pip list
51+
- pip check
52+
requires:
53+
- pip
54+
- python {{ python_min }}
55+
56+
about:
57+
home: https://pypi.org/project/sophios/
58+
summary: DSL for inferring the edges of a CWL workflow DAG
59+
dev_url: https://github.com/PolusAI/workflow-inference-compiler
60+
license: MIT
61+
license_file: LICENSE
62+
63+
extra:
64+
recipe-maintainers:
65+
- sameeul
File renamed without changes.

recipes/tiledbsoma/recipe.yaml

+29-7
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ source:
1010
url: https://github.com/single-cell-data/TileDB-SOMA/archive/refs/tags/${{ version }}.zip
1111
sha256: 1c9b60b14c900e252c30586fcadaeddd455d58df624112ecea62eef24212dc61
1212
patches:
13-
# NOTE: fix failing includes when building a conda package
14-
- fix-includes.patch
13+
# NOTE:
14+
# - fix failing includes
15+
# - fix failing linking configuration for tiledbsoma-cli and spdlog
16+
- fix-lib-build.patch
1517

1618
build:
1719
number: 0
@@ -50,15 +52,15 @@ outputs:
5052
build:
5153
- ${{ compiler('cxx') }}
5254
- ${{ stdlib("c") }}
53-
- cmake
55+
- cmake >=3.21
5456
- ninja
5557
- pkg-config
5658
host:
5759
- tiledb
5860
- spdlog >=1.15
5961
- fmt >=11.0
6062
run_exports:
61-
- ${{ pin_subpackage('libtiledbsoma', upper_bound='x.x.x') }}
63+
- ${{ pin_subpackage('libtiledbsoma', exact=True) }}
6264

6365
tests:
6466
- script:
@@ -136,19 +138,20 @@ outputs:
136138

137139
- ${{ compiler('cxx') }}
138140
- ${{ stdlib("c") }}
139-
- cmake
141+
- cmake >=3.21
140142
- ninja
141143
- pkg-config
144+
- git
142145
host:
143-
- python 3.12.*
146+
- python
144147
- setuptools >=70.1
145148
- pip
146149
- pybind11 >=2.10.0
147150
# libraries
148151
- libtiledbsoma
149152
- tiledb
150153
run:
151-
- python 3.12.*
154+
- python
152155
- anndata >=0.10.1
153156
- attrs >=22.2
154157
- numpy
@@ -164,6 +167,25 @@ outputs:
164167
imports:
165168
- tiledbsoma
166169
pip_check: true
170+
- requirements:
171+
run:
172+
- pytest
173+
- typeguard
174+
files:
175+
source:
176+
- apis/python/tests/
177+
script: |
178+
# NOTE: we only test a subset of the test suite to avoid long build times but
179+
# still make sure the package is working.
180+
pytest -vvv \
181+
apis/python/tests/test_experiment_basic.py \
182+
apis/python/tests/test_type_system.py \
183+
apis/python/tests/test_stats.py \
184+
apis/python/tests/test_simple.py \
185+
apis/python/tests/test_scene.py \
186+
apis/python/tests/test_reindexer_api.py \
187+
apis/python/tests/test_regression.py \
188+
apis/python/tests/test_point_cloud_dataframe.py
167189
168190
about:
169191
summary: Python and R SOMA APIs using TileDB's cloud-native format. Ideal for single-cell data at any scale.

0 commit comments

Comments
 (0)