{% set version = "1.3.4" %}

package:
  name: pandas
  version: {{ version }}

source:
  url: https://github.com/pandas-dev/pandas/releases/download/v{{ version }}/pandas-{{ version }}.tar.gz
  sha256: a2aa18d3f0b7d538e21932f637fbfe8518d085238b429e4790a35e1e44a96ffc

build:
  number: 0
  script:
    - export PYTHONUNBUFFERED=1  # [ppc64le]
    - {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed .  # [not unix]
    - {{ PYTHON }} -m pip install -vv --no-deps --ignore-installed . --global-option="build_ext" --global-option="-j${CPU_COUNT}" --no-use-pep517  # [unix]
  entry_points:
    - matplotlib = pandas:plotting._matplotlib
  skip: true  # [py<37]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - cython >=0.29.24,<3
    - numpy
    - setuptools >=51.0.0
    - wheel
  run:
    - python >=3.7.1
    - {{ pin_compatible('numpy') }}
    - python-dateutil >=2.7.3
    - pytz >=2017.3
    # Recommended dependencies to achieve large speedups
    # see https://pandas.pydata.org/pandas-docs/stable/getting_started/install.html#recommended-dependencies
    - numexpr >=2.7.0
    - bottleneck >=1.2.1

test:
  requires:
    - pip
    - hypothesis >=3.58
    - pytest >=6.0
    - pytest-xdist 
  imports:
    - pandas
  commands:
    - pip check

about:
  home: http://pandas.pydata.org
  license: BSD-3-Clause
  license_family: BSD
  license_file: LICENSE
  summary: High-performance, easy-to-use data structures and data analysis tools.
  dev_url: https://github.com/pandas-dev/pandas
  doc_url: https://pandas.pydata.org/pandas-docs/stable/

extra:
  recipe-maintainers:
    - jreback
    - jorisvandenbossche
    - msarahan
    - ocefpaf
    - TomAugspurger
    - WillAyd
    - simonjayhawkins
