<commit_before>{ stdenv
, buildPythonPackage
, fetchPypi
, pyannotate
, pytest
}:

buildPythonPackage rec {
  version = "1.0.2";
  pname = "pytest-annotate";

  src = fetchPypi {
    inherit pname version;
    sha256 = "03e4dece2d1aa91666034f1b2e8bb7a7b8c6be11baf3cf2929b26eea5c6e86f3";
  };

  propagatedBuildInputs = [ pyannotate pytest ];

  # not testing for a testing module...
  doCheck = false;

  meta = with stdenv.lib; {
    homepage = https://github.com/kensho-technologies/pytest-annotate;<commit_msg>pythonPackages.pytest-annotate: refactor fix broken build relax constraint<commit_after>{ stdenv
, buildPythonPackage
, fetchPypi
, pyannotate
, pytest
}:

buildPythonPackage rec {
  version = "1.0.2";
  pname = "pytest-annotate";

  src = fetchPypi {
    inherit pname version;
    sha256 = "03e4dece2d1aa91666034f1b2e8bb7a7b8c6be11baf3cf2929b26eea5c6e86f3";
  };

  propagatedBuildInputs = [
    pyannotate
    pytest
  ];

  postConfigure = ''
    substituteInPlace setup.py \
      --replace "pytest>=3.2.0,<4.0.0" "pytest"
  '';

  # no testing in a testing module...
  doCheck = false;

  meta = with stdenv.lib; {
    homepage = https://github.com/kensho-technologies/pytest-annotate;
{'fraction_non_alphanumeric': 0.11212624584717608, 'fraction_numerical': 0.07142857142857142, 'mean_word_length': 3.7440944881889764, 'pattern_counts': {'":': 0, '<': 4, '<?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': '5661777', 'n_tokens_mistral': 508, 'n_tokens_neox': 480, 'n_words': 81}