<commit_before>{% set name = "bio_hansel" %}
{% set version = "2.2.0" %}
{% set hash_type = "sha256" %}
{% set hash_value = "e47bfcaf55e35089a700130dddfd025caab6c4e8999c62ccf6cdaf573b609389" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name | replace("_", "-") }}/{{ name }}-{{ version }}.tar.gz
  {{ hash_type }}: {{ hash_value }}

build:
  number: 0
  skip: True # [not py36]
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - setuptools
    - numpy >=1.12.1
    - pandas >=0.20.1
    - attrs
    - pyahocorasick >=1.1.6

  run:
    - python
    - numpy >=1.12.1
    - pandas >=0.20.1
    - attrs
    - pyahocorasick >=1.1.6
<commit_msg>Allow Biohansel to work with python>=3.6 (#16973)<commit_after>{% set name = "bio_hansel" %}
{% set version = "2.2.0" %}
{% set hash_type = "sha256" %}
{% set hash_value = "e47bfcaf55e35089a700130dddfd025caab6c4e8999c62ccf6cdaf573b609389" %}

package:
  name: {{ name|lower }}
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/{{ name[0] }}/{{ name | replace("_", "-") }}/{{ name }}-{{ version }}.tar.gz
  {{ hash_type }}: {{ hash_value }}

build:
  number: 1
  skip: True # [py2k]
  script: "{{ PYTHON }} -m pip install . --no-deps -vv"

requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - python
    - pip
    - setuptools
    - numpy >=1.12.1
    - pandas >=0.20.1
    - attrs
    - pyahocorasick >=1.1.6

  run:
    - python
    - numpy >=1.12.1
    - pandas >=0.20.1
    - attrs
    - pyahocorasick >=1.1.6

{'fraction_non_alphanumeric': 0.19951923076923078, 'fraction_numerical': 0.08533653846153846, 'mean_word_length': 2.550106609808102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 16, 'https://': 2, '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': '4368198', 'n_tokens_mistral': 778, 'n_tokens_neox': 699, 'n_words': 137}