<commit_before>{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, pytest
, mock
, ipython_genutils
, decorator
, enum34
}:

buildPythonPackage rec {
  pname = "traitlets";
  version = "4.3.2";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835";
  };

  checkInputs = [ glibcLocales pytest mock ];
  propagatedBuildInputs = [ ipython_genutils decorator enum34 ];

  checkPhase = ''
    LC_ALL="en_US.UTF-8" py.test $out
  '';

  meta = {
    description = "Traitlets Python config system";
    homepage = http://ipython.org/;<commit_msg>python.pkgs.traitlets: fix build and don't include .pytest_cache<commit_after>{ lib
, buildPythonPackage
, fetchPypi
, glibcLocales
, pytest
, mock
, ipython_genutils
, decorator
, enum34
, pythonOlder
, six
}:

buildPythonPackage rec {
  pname = "traitlets";
  version = "4.3.2";
  name = "${pname}-${version}";

  src = fetchPypi {
    inherit pname version;
    sha256 = "9c4bd2d267b7153df9152698efb1050a5d84982d3384a37b2c1f7723ba3e7835";
  };

  checkInputs = [ glibcLocales pytest mock ];
  propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34;

  checkPhase = ''
    LC_ALL="en_US.UTF-8" py.test
  '';

#   doCheck = false;

  meta = {
    description = "Traitlets Python config system";
    homepage = http://ipython.org/;
{'fraction_non_alphanumeric': 0.12254901960784313, 'fraction_numerical': 0.0784313725490196, 'mean_word_length': 4.014035087719298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4887822', 'n_tokens_mistral': 612, 'n_tokens_neox': 559, 'n_words': 102}