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

package:
  name: galaxy-ml
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/G/Galaxy-ML/Galaxy-ML-{{ version }}.tar.gz
  sha256: 018bab54a3e1ddd8e53758af8a705df0207451c5f07aa326f1b505b5629bbdd8
  patches:
    - 0001-Do-not-package-separate-docs-package.patch

build:
  number: 2
  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
  # Skip OSX since tests fail (without any error message at all!).
  # Skipping py>=38 because there are no Py3.8 builds of pinned down dependencies
  # (scikit-learn 0.21.3, xgboost 0.80, tensorflow 1.15.0).
  skip: True  # [py<30 or py>=38]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - cython
    - pip
    - setuptools
    - numpy >=1.17
  run:
    - python
    - pyfaidx
    - pytabix
    - tabix
    - readme_renderer >=24.0
    - numpy >=1.17
    - scipy >=1.3
    - joblib
    - asteval >=0.9
    - pandas <0.26
    - scikit-learn ==0.21.3
    - xgboost <=0.80
    - mlxtend <0.18
    - skrebate <0.7
    - imbalanced-learn <0.6
    - tensorflow ==1.15.0
    - tensorflow-estimator ==1.15.1
    - keras ==2.3.1
    # For training on GPU, install the following libraries manually
    # - cudatoolkit==10.0.130
    # - cudnn==7.6.0
    - plotly ==4.3
    - pydot >=1.4
    - psutil >=5.6
    - requests >=2.22.0
    - matplotlib-base
    - graphviz >=2.38
    - pillow >=6.0

test:
  imports:
    - galaxy_ml
    # tensorflow can't be tested in docker at the moment
    #- galaxy_ml.keras_galaxy_models
    - galaxy_ml.iraps_classifier
    - galaxy_ml.model_persist
    - galaxy_ml.model_validations
    - galaxy_ml.preprocessors
    - galaxy_ml.utils<commit_msg>[ci skip] Merge PR 27329<commit_after>{% set version = "0.8.2" %}

package:
  name: galaxy-ml
  version: {{ version }}

source:
  url: https://pypi.io/packages/source/G/Galaxy-ML/Galaxy-ML-{{ version }}.tar.gz
  sha256: 018bab54a3e1ddd8e53758af8a705df0207451c5f07aa326f1b505b5629bbdd8
  patches:
    - 0001-Do-not-package-separate-docs-package.patch

build:
  number: 3
  script: {{ PYTHON }} -m pip install . --no-deps --ignore-installed -vvv
  # Skip OSX since tests fail (without any error message at all!).
  # Skipping py>=38 because there are no Py3.8 builds of pinned down dependencies
  # (scikit-learn 0.21.3, xgboost 0.80, tensorflow 1.15.0).
  skip: True  # [py<30 or py>=38]

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - python
    - cython
    - pip
    - setuptools
    - numpy >=1.17
  run:
    - python
    - pyfaidx
    - pytabix
    - tabix
    - readme_renderer >=24.0
    - numpy >=1.17
    - scipy >=1.3
    - joblib
    - asteval >=0.9
    - pandas <0.26
    - scikit-learn ==0.21.3
    - xgboost <=0.80
    - mlxtend <0.18
    - skrebate <0.7
    - imbalanced-learn <0.6
    - tensorflow >=1.15.0, <2.0
    - tensorflow-estimator ==1.15.1
    - keras ==2.3.1
    # For training on GPU, install the following libraries manually
    # - cudatoolkit==10.0.130
    # - cudnn==7.6.0
    - plotly ==4.3
    - pydot >=1.4
    - psutil >=5.6
    - requests >=2.22.0
    - matplotlib-base
    - graphviz >=2.38
    - pillow >=6.0
    - h5py >=2.10.0, <3.0

test:
  imports:
    - galaxy_ml
    # tensorflow can't be tested in docker at the moment
    #- galaxy_ml.keras_galaxy_models
    - galaxy_ml.iraps_classifier
    - galaxy_ml.model_persist
    - galaxy_ml.model_validations
    - galaxy_ml.preprocessors
    - galaxy_ml.utils
{'fraction_non_alphanumeric': 0.14092064388590794, 'fraction_numerical': 0.07963852019203614, 'mean_word_length': 2.211242067089755, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 29, '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': '4010413', 'n_tokens_mistral': 1538, 'n_tokens_neox': 1415, 'n_words': 303}