-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
meta.yaml
102 lines (95 loc) · 3.46 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
{% set tests_to_skip = "_not_a_real_test" %}
{% set version = "2.2.3" %}
package:
name: pandas
version: {{ version }}
source:
url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz
sha256: 4f18ba62b61d7e192368b84517265a99b4d7ee8912f8708660fb4a366cc82667
build:
number: 1
script:
- export PYTHONUNBUFFERED=1 # [ppc64le]
# Cross-compilation stuff vendored from numpy-feedstock
# necessary for cross-compilation to point to the right env
- export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig # [build_platform != target_platform]
- echo "python = '${PREFIX}/bin/python'" >> ${CONDA_PREFIX}/meson_cross_file.txt # [build_platform != target_platform]
- MESON_ARGS_REDUCED="$(echo $MESON_ARGS | sed 's/--buildtype release //g')" # [unix]
- {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . -Csetup-args=${MESON_ARGS_REDUCED// / -Csetup-args=} # [unix]
- {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . # [not unix]
skip: true # [py<39]
requirements:
build:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- cython >=3.0.5 # [build_platform != target_platform]
- numpy # [build_platform != target_platform]
- meson-python # [build_platform != target_platform]
- ninja # [build_platform != target_platform]
- {{ compiler('c') }}
- {{ stdlib('c') }}
- {{ compiler('cxx') }}
host:
- python
- pip
- cython >=3.0.5
- numpy
- versioneer
- meson =1.2.1
- meson-python =0.13.1
- tomli # [py<311]
- ninja
run:
- python
# Add only the lowest-supported numpy version from pyproject.toml here,
# no need to worry about old versions that don't support a given Python version.
- numpy >=1.22.4
- python-dateutil >=2.8.1
- pytz >=2020.1, <2024.2
- python-tzdata >=2022a
test:
imports:
- pandas
commands:
- pip check
# Skip test suite on PyPy as it segfaults there
# xref: https://github.com/conda-forge/pandas-feedstock/issues/148
#
# do not run test suite in emulation because it takes ~5h; rely on upstream CI for aarch
{% set markers = ["not clipboard", "not single_cpu", "not slow", "not network", "not db"] %}
{% set extra_args = ["-m " + " and ".join(markers)] %}
{% set tests_to_skip = "_not_a_real_test" %}
{% set extra_args = extra_args + ["-k", "not (" + tests_to_skip + ")", "--no-strict-data-files"] %}
- python -c "import pandas; pandas.test(extra_args={{ extra_args }})" # [(build_platform == target_platform) and (python_impl == "cpython")]
requires:
- pip
- pytest >=6.0
- pytest-xdist >=1.31
- pytest-cov
- boto3
- hypothesis
- numpy
- psutil
- tomli # [py<311]
about:
home: http://pandas.pydata.org
license: BSD-3-Clause
license_file: LICENSE
summary: >-
Powerful data structures for data analysis, time series, and statistics
doc_url: https://pandas.pydata.org/docs/
dev_url: https://github.com/pandas-dev/pandas
extra:
recipe-maintainers:
- jreback
- jorisvandenbossche
- msarahan
- ocefpaf
- TomAugspurger
- WillAyd
- simonjayhawkins
- mroeschke
- datapythonista
- phofl
- lithomas1
- marcogorelli