<commit_before>{ pkgs, python, makeWrapper }:

let inherit (pkgs) builderDefsPackage lib fetchurl fetchsvn stdenv zlib libjpeg;

in

rec {

  # pythonPackages
  # only keep packages being known to build with this python version
  b = builtins.removeAttrs allPythonPackages
          ([ "setuptoolsTrial"
           ]
           # these packages don't build with specific python versions..
           ++ (pkgs.lib.optionals (python.libPrefix == "python2.6")
             [
             # pythonSexy fails with: /nix/store/8ls1xar0wsxmczas4sr76n1dwpccram9-pygtk-2.16.0/bin/pygtk-codegen-2.0: line 10: exec: /nix/store/8ls1xar0wsxmczas4sr76n1dwpccram9-pygtk-2.16.0/bin/pygobject-codegen-2.0: cannot execute: No such file or directory
             # Don't disable it even if it fails. Disabling breaks nixpkgs tarball
             #"pythonSexy"
             ])
           ++ (pkgs.lib.optionals (python.libPrefix == "python2.5")
             [
             # pygtk requires at least python-2.6. The other packages in this line depend on pygtk
             "pygobject" "pycairo" "pygtk" "pyGtkGlade" "pythonSexy"
             # rhpl fails with: diskutil.c:24:20: error: Python.h: No such file or directory
             "rhpl"
             ])
          );
<commit_msg>Enabling again the setuptoolsTrial python package, so at least the nixpkgs tarball does not fail.<commit_after>{ pkgs, python, makeWrapper }:

let inherit (pkgs) builderDefsPackage lib fetchurl fetchsvn stdenv zlib libjpeg;

in

rec {

  # pythonPackages
  # only keep packages being known to build with this python version
  b = builtins.removeAttrs allPythonPackages
          (
           # these packages don't build with specific python versions..
           (pkgs.lib.optionals (python.libPrefix == "python2.6")
             [
             # pythonSexy fails with: /nix/store/8ls1xar0wsxmczas4sr76n1dwpccram9-pygtk-2.16.0/bin/pygtk-codegen-2.0: line 10: exec: /nix/store/8ls1xar0wsxmczas4sr76n1dwpccram9-pygtk-2.16.0/bin/pygobject-codegen-2.0: cannot execute: No such file or directory
             # Don't disable it even if it fails. Disabling breaks nixpkgs tarball
             #"pythonSexy"
             ])
           ++ (pkgs.lib.optionals (python.libPrefix == "python2.5")
             [
             # pygtk requires at least python-2.6. The other packages in this line depend on pygtk
             "pygobject" "pycairo" "pygtk" "pyGtkGlade" "pythonSexy"
             # rhpl fails with: diskutil.c:24:20: error: Python.h: No such file or directory
             "rhpl"
             ])
          );

{'fraction_non_alphanumeric': 0.09249902837155072, 'fraction_numerical': 0.03109211037699184, 'mean_word_length': 2.3515625, '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': '244329', 'n_tokens_mistral': 869, 'n_tokens_neox': 823, 'n_words': 223}