<commit_before>{ lib, fetchPypi, isPy27
, buildPythonPackage
, traits, apptools, pytestCheckHook
, ipykernel, ipython, setuptools
}:

buildPythonPackage rec {
  pname = "envisage";
  version = "6.0.1";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
  };

  propagatedBuildInputs = [ traits apptools setuptools ];

  preCheck = ''
    export HOME=$PWD/HOME
  '';

  checkInputs = [
    ipykernel ipython pytestCheckHook
  ];

  meta = with lib; {
    description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
    homepage = "https://github.com/enthought/envisage";
    maintainers = with lib.maintainers; [ knedlsepp ];
    license = licenses.bsdOriginal;
  };
}<commit_msg>python3Packages.envisage: disable tests of broken optional feature<commit_after>{ lib, fetchPypi, isPy27
, buildPythonPackage
, traits, apptools, pytestCheckHook
, ipython, setuptools
}:

buildPythonPackage rec {
  pname = "envisage";
  version = "6.0.1";

  disabled = isPy27;

  src = fetchPypi {
    inherit pname version;
    sha256 = "8864c29aa344f7ac26eeb94788798f2d0cc791dcf95c632da8d79ebc580e114c";
  };

  # for the optional dependency ipykernel, only versions < 6 are
  # supported, so it's not included in the tests, and not propagated
  propagatedBuildInputs = [ traits apptools setuptools ];

  preCheck = ''
    export HOME=$PWD/HOME
  '';

  checkInputs = [
    ipython pytestCheckHook
  ];

  meta = with lib; {
    description = "Framework for building applications whose functionalities can be extended by adding 'plug-ins'";
    homepage = "https://github.com/enthought/envisage";
    maintainers = with lib.maintainers; [ knedlsepp ];
    license = licenses.bsdOriginal;
  };
}
{'fraction_non_alphanumeric': 0.09846827133479212, 'fraction_numerical': 0.05470459518599562, 'mean_word_length': 4.038567493112947, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 3, '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': '1785804', 'n_tokens_mistral': 686, 'n_tokens_neox': 613, 'n_words': 146}