<commit_before>{ lib, buildPythonPackage, fetchPypi, python
, mock
, purl
, requests
, six
, testrepository
, testtools
, pytest
}:

buildPythonPackage rec {
  pname = "requests-mock";
  version = "1.8.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "e68f46844e4cee9d447150343c9ae875f99fa8037c6dcf5f15bf1fe9ab43d226";
  };

  patchPhase = ''
    sed -i 's@python@${python.interpreter}@' .testr.conf
  '';

  propagatedBuildInputs = [ requests six ];

  checkInputs = [ mock purl testrepository testtools pytest ];

  meta = with lib; {
    description = "Mock out responses from the requests package";
    homepage = "https://requests-mock.readthedocs.io";
    license = licenses.asl20;
    maintainers = [ ];
  };
}
<commit_msg>python3Packages.requests-mock: 1.8.0 -> 1.9.3<commit_after>{ lib, buildPythonPackage, fetchPypi, python
, mock
, purl
, requests
, six
, testrepository
, testtools
, pytest
}:

buildPythonPackage rec {
  pname = "requests-mock";
  version = "1.9.3";

  src = fetchPypi {
    inherit pname version;
    sha256 = "8d72abe54546c1fc9696fa1516672f1031d72a55a1d66c85184f972a24ba0eba";
  };

  patchPhase = ''
    sed -i 's@python@${python.interpreter}@' .testr.conf
  '';

  propagatedBuildInputs = [ requests six ];

  checkInputs = [ mock purl testrepository testtools pytest ];

  meta = with lib; {
    description = "Mock out responses from the requests package";
    homepage = "https://requests-mock.readthedocs.io";
    license = licenses.asl20;
    maintainers = [ ];
  };
}

{'fraction_non_alphanumeric': 0.12401574803149606, 'fraction_numerical': 0.06824146981627296, 'mean_word_length': 3.721362229102167, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2888926', 'n_tokens_mistral': 605, 'n_tokens_neox': 548, 'n_words': 112}