<commit_before>{% set data = load_setup_py_data() %}
{% set version = data.get('version') or 'placehold' %}
{% set release = '.'.join(version.split('.')[:2]) %}

package:
  name: q2-diversity
  version: {{ version }}

source:
  path: ../..

build:
  script: make install

requirements:
  host:
    - python {{ python }}
    - setuptools
    - nodejs

  run:
    - python {{ python }}
    - numpy
    - scipy
    - pandas
    - statsmodels
    - seaborn
    # `ipywidgets` included to avoid ShimWarning from
    # `seaborn` imports:
    #  https://github.com/mwaskom/seaborn/issues/874
    - ipywidgets
    - scikit-bio
    - scikit-learn
    - psutil
    - natsort
    - biom-format >=2.1.5,<2.2.0
    - unifrac >=0.10.0
    - qiime2 {{ release }}.*
    - q2templates {{ release }}.*
    - q2-types {{ release }}.*
    - q2-feature-table {{ release }}.*
    - q2-metadata {{ release }}.*
    # TODO: `emperor` is also a dependency, but q2-emperor should be in charge
    # of the version pin. Eventually there will not be a direct dependency on
    # `emperor` and this comment can be removed.
    - q2-emperor {{ release }}.*
    - r-vegan >=2.5_3

test:
  imports:
    - q2_diversity
    - qiime2.plugins.diversity

about:
  home: https://qiime2.org
  license: BSD-3-Clause
  license_family: BSD
<commit_msg>HACK: Pin pandas to less than 1<commit_after>{% set data = load_setup_py_data() %}
{% set version = data.get('version') or 'placehold' %}
{% set release = '.'.join(version.split('.')[:2]) %}

package:
  name: q2-diversity
  version: {{ version }}

source:
  path: ../..

build:
  script: make install

requirements:
  host:
    - python {{ python }}
    - setuptools
    - nodejs

  run:
    - python {{ python }}
    - numpy
    - scipy
    - pandas <1
    - statsmodels
    - seaborn
    # `ipywidgets` included to avoid ShimWarning from
    # `seaborn` imports:
    #  https://github.com/mwaskom/seaborn/issues/874
    - ipywidgets
    - scikit-bio
    - scikit-learn
    - psutil
    - natsort
    - biom-format >=2.1.5,<2.2.0
    - unifrac >=0.10.0
    - qiime2 {{ release }}.*
    - q2templates {{ release }}.*
    - q2-types {{ release }}.*
    - q2-feature-table {{ release }}.*
    - q2-metadata {{ release }}.*
    # TODO: `emperor` is also a dependency, but q2-emperor should be in charge
    # of the version pin. Eventually there will not be a direct dependency on
    # `emperor` and this comment can be removed.
    - q2-emperor {{ release }}.*
    - r-vegan >=2.5_3

test:
  imports:
    - q2_diversity
    - qiime2.plugins.diversity

about:
  home: https://qiime2.org
  license: BSD-3-Clause
  license_family: BSD

{'fraction_non_alphanumeric': 0.14994320333207117, 'fraction_numerical': 0.022718667171525937, 'mean_word_length': 2.29426433915212, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6495963', 'n_tokens_mistral': 995, 'n_tokens_neox': 946, 'n_words': 231}