-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathmeta.yaml
151 lines (140 loc) · 4.24 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
{% set version = "0.32.0" %}
package:
name: modin-packages
version: {{ version }}
source:
url: https://github.com/modin-project/modin/archive/refs/tags/{{ version }}.tar.gz
sha256: f2ef11f384a7d47eb6680a2f6f4bbc3404fa6290163d36384032daff3837b063
patches:
# Remove all requirements from setup.py - they should be handled here.
# The point is to create a "patch failed" conflict when dependencies change
# in upstream so this doesn't go unnoticed.
- patches/0002-Remove-dependencies-from-setup.py.patch
build:
number: 2
# the outputs map the modin options on PyPI (see upstream definition
# https://github.com/modin-project/modin/blob/0.10.1/setup.py#L40-L45)
# from "modin[<option>]" to "modin-<option>" as a conda-forge package
outputs:
- name: modin-all
build:
noarch: generic
requirements:
run:
- python >=3.9
- {{ pin_subpackage('modin-core', exact=True) }}
- {{ pin_subpackage('modin-dask', exact=True) }}
- {{ pin_subpackage('modin-mpi', exact=True) }}
- {{ pin_subpackage('modin-ray', exact=True) }}
- __linux # [linux]
- __win # [win]
- __osx # [osx]
test:
imports:
# dummy test; actual tests are in subpackages
- modin
# compatibility with packagename before split into options
- name: modin
build:
noarch: generic
requirements:
run:
- python >=3.9
# modin needs at least one engine; use dask as it is more light-weight than ray
- {{ pin_subpackage('modin-dask', exact=True) }}
test:
imports:
- modin
- modin.pandas
- name: modin-core
build:
script: python -m pip install . --no-deps --ignore-installed -vv
noarch: python
requirements:
host:
- pip
- python {{ python_min }}
- setuptools
run:
- python >={{ python_min }}
- packaging >=21.0
- pandas >=2.2,<2.3
- numpy >=1.22.4,<2
- fsspec >=2022.11.0
- psutil >=5.8.0
test:
requires:
- python {{ python_min }}
imports:
- modin
- modin.pandas
- name: modin-dask
build:
noarch: generic
requirements:
run:
- python >=3.9
- {{ pin_subpackage('modin-core', exact=True) }}
- dask >=2.22.0
- distributed >=2.22.0
test:
imports:
- modin
- modin.pandas
commands:
- python -c "import modin.pandas as pd, modin.config as cfg; cfg.Engine.put('Dask'); df = pd.DataFrame([])"
- name: modin-ray
build:
noarch: generic
requirements:
run:
- python >=3.9
- {{ pin_subpackage('modin-core', exact=True) }}
# ray 2.9 doesn't work with setuptools>=70;
# more details: https://github.com/ray-project/ray/commit/7e9043c38d76412c310fcf6e3fff79cb55d481da
# ray==2.5.0 broken: https://github.com/conda-forge/ray-packages-feedstock/issues/100
- ray-core >=2.1.0,!=2.5.0,!=2.9
# https://github.com/modin-project/modin/pull/5270#issuecomment-1331172629
# workaround for https://github.com/conda/conda/issues/11744
- grpcio!=1.45.*
- grpcio!=1.46.*
- pyarrow >=10.0.1
- setuptools
test:
imports:
- modin
- modin.pandas
commands:
- python -c "import modin.pandas as pd, modin.config as cfg; cfg.Engine.put('Ray'); df = pd.DataFrame([])"
- name: modin-mpi
build:
noarch: generic
requirements:
run:
- python >=3.9
- {{ pin_subpackage('modin-core', exact=True) }}
- unidist-mpi>=0.2.1
test:
# TODO: add tests when https://github.com/conda-forge/unidist-packages-feedstock/issues/4 gets fixed
imports:
- modin
- modin.pandas
about:
home: https://github.com/modin-project/modin
license: Apache-2.0
license_family: Apache
license_file: LICENSE
summary: Speed up your Pandas workflows by changing a single line of code
doc_url: https://modin.readthedocs.io/
dev_url: https://github.com/modin-project/modin
extra:
recipe-maintainers:
- sfc-gh-mvashishtha
- anmyachev
- devin-petersohn
- h-vetinari
- vnlitvinov
- maksimbo1
- YarShev
- mvashishtha
feedstock-name: modin