<commit_before>{ lib, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "luigi";
  version = "2.8.0";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "1869lb6flmca6s7ccws7mvyn66nvrqjky40jwf2liv9fg0lp8899";
  };

  # Relax version constraint
  postPatch = ''
    sed -i 's/<2.2.0//' setup.py
  '';

  propagatedBuildInputs = with python3Packages; [ tornado_4 python-daemon ];

  # Requires tox, hadoop, and google cloud
  doCheck = false;

  meta = with lib; {
    homepage = https://github.com/spotify/luigi;
    description = "Python package that helps you build complex pipelines of batch jobs";
    longDescription = ''
      Luigi handles dependency resolution, workflow management, visualization,
      handling failures, command line integration, and much more.
    '';
    license =  [ licenses.asl20 ];
    maintainers = [ maintainers.bhipple ];
  };
}<commit_msg>luigi: enable local modules discovery<commit_after>{ lib, python3Packages }:

python3Packages.buildPythonApplication rec {
  pname = "luigi";
  version = "2.8.0";

  src = python3Packages.fetchPypi {
    inherit pname version;
    sha256 = "1869lb6flmca6s7ccws7mvyn66nvrqjky40jwf2liv9fg0lp8899";
  };

  # Relax version constraint
  postPatch = ''
    sed -i 's/<2.2.0//' setup.py
  '';

  propagatedBuildInputs = with python3Packages; [ tornado_4 python-daemon ];

  # Requires tox, hadoop, and google cloud
  doCheck = false;

  # This enables accessing modules stored in cwd
  makeWrapperArgs = ["--prefix PYTHONPATH . :"];

  meta = with lib; {
    homepage = https://github.com/spotify/luigi;
    description = "Python package that helps you build complex pipelines of batch jobs";
    longDescription = ''
      Luigi handles dependency resolution, workflow management, visualization,
      handling failures, command line integration, and much more.
    '';
    license =  [ licenses.asl20 ];
    maintainers = [ maintainers.bhipple ];
  };
}
{'fraction_non_alphanumeric': 0.10430379746835443, 'fraction_numerical': 0.035443037974683546, 'mean_word_length': 3.542528735632184, 'pattern_counts': {'":': 0, '<': 5, '<?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': '251843', 'n_tokens_mistral': 671, 'n_tokens_neox': 625, 'n_words': 162}