<commit_before>{% set package_name = "scalene" %}
{% set version = "1.5.10" %}

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

source:
  url: https://pypi.io/packages/source/{{ package_name[0] }}/{{ package_name }}/{{ package_name }}-{{ version }}.tar.gz
  # See https://pypi.org/project/scalene/#files
  sha256: 8e2e2ae14acdca56d5bbf33e158814702410f0a72d4e690fce837b811ffadbfc

build:
  skip: true  # [py<38]
  skip: true  # [win]
  number: 0
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
  host:
    - python
    - pip
    - setuptools_scm
    - wheel
  run:
    - python
    - rich >=9.2.0
    - cloudpickle >=1.5.0
    - numpy
    - pynvml >=11.0.0

test:
  imports:
    - {{ package_name }}
  source_files:
    - test/testme.py
  requires:
    - pip
  commands:
    - pip check
    - python3 -m scalene --cli test/testme.py  # [not win]
    - {{ PYTHON }} -m scalene --cli test/testme.py  # [win]
    
about:
  home: https://github.com/plasma-umass/{{ package_name }}
  license: Apache-2.0<commit_msg>Use test that does not require numpy.<commit_after>{% set package_name = "scalene" %}
{% set version = "1.5.10" %}

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

source:
  url: https://pypi.io/packages/source/{{ package_name[0] }}/{{ package_name }}/{{ package_name }}-{{ version }}.tar.gz
  # See https://pypi.org/project/scalene/#files
  sha256: 8e2e2ae14acdca56d5bbf33e158814702410f0a72d4e690fce837b811ffadbfc

build:
  skip: true  # [py<38]
  skip: true  # [win]
  number: 0
  script: {{ PYTHON }} -m pip install . -vv

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - make
  host:
    - python
    - pip
    - setuptools_scm
    - wheel
  run:
    - python
    - rich >=9.2.0
    - cloudpickle >=1.5.0
    - numpy
    - pynvml >=11.0.0

test:
  imports:
    - {{ package_name }}
  source_files:
    - test/original/bm_mdp.py
  requires:
    - pip
  commands:
    - pip check
    - python3 -m scalene --cli test/original/bm_mdp.py  # [not win]
    - {{ PYTHON }} -m scalene --cli test/original/bm_mdp.py  # [win]
    
about:
  home: https://github.com/plasma-umass/{{ package_name }}
  license: Apache-2.0
{'fraction_non_alphanumeric': 0.16761737604212373, 'fraction_numerical': 0.051777095217200524, 'mean_word_length': 2.4915773353751915, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 6, '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': '6782923', 'n_tokens_mistral': 969, 'n_tokens_neox': 918, 'n_words': 179}