<commit_before>{% set version = "0.7" %}

package:
  name: sparse-neighbors-search
  version: {{ version }}

source:
  url: https://github.com/joachimwolff/sparse-neighbors-search/archive/{{ version }}.tar.gz
  sha256: 4c824eacb1d3c3fafba31eb5803b6291fc098be278b1eb8a63fd9cc7d998621b

build:
  number: 0
  script: {{ PYTHON }} -m pip install . --no-deps -vv

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - pip
    - python >=3.6
    - setuptools
    - scipy >=1.3
    - numpy >=1.17
    - scikit-learn >=0.21
    - cython
    - umap-learn
    - openmp
  run:
    - python
    - scipy >=1.3
    - numpy >=1.17
    - scikit-learn >=0.21
    - umap-learn

test:
  imports:<commit_msg>[ci skip] Merge PR 25652<commit_after>{% set version = "0.7" %}

package:
  name: sparse-neighbors-search
  version: {{ version }}

source:
  url: https://github.com/joachimwolff/sparse-neighbors-search/archive/{{ version }}.tar.gz
  sha256: 4c824eacb1d3c3fafba31eb5803b6291fc098be278b1eb8a63fd9cc7d998621b

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

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - pip
    - python
    - setuptools
    - scipy >=1.3
    - numpy >=1.17
    - scikit-learn >=0.21
    - cython
    - umap-learn
    - openmp
  run:
    - python
    - scipy >=1.3
    - numpy >=1.17
    - scikit-learn >=0.21
    - umap-learn

test:
  imports:
{'fraction_non_alphanumeric': 0.15832205683355885, 'fraction_numerical': 0.08322056833558863, 'mean_word_length': 2.3386004514672685, 'pattern_counts': {'":': 0, '<': 4, '<?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': '120212', 'n_tokens_mistral': 685, 'n_tokens_neox': 628, 'n_words': 115}