summaryrefslogtreecommitdiff
path: root/shiton3_global_shit.nix
blob: 22bf1428a4c9c09ad118ad90ca39d85f613df1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{ inputs }:
final: prev: rec {
  python3 = prev.python3.override {
    packageOverrides = python-final: python-prev: {
      eventlet =
        with python-prev;
        eventlet.overridePythonAttrs (old: rec {
          doCheck = false; # Disable tests
          doInstallCheck = false; # Disable install checks
          nativeCheckInputs = [ ];
          pythonImportsCheck = [ ];
          checkPhase = "";
          tests = [ ];
          disabledTests = [
            # AssertionError: Expected single line "pass" in stdout
            "test_fork_after_monkey_patch"
            # Tests requires network access
            "test_getaddrinfo"
            "test_hosts_no_network"
            # flaky test, depends on builder performance
            "test_server_connection_timeout_exception"
            "test_sendall_timeout"
          ];
          #        catchConflicts = false;# Disable dependency conflict checks
        });
      twisted =
        with python-prev;
        twisted.overridePythonAttrs (old: rec {
          doCheck = false; # Disable tests
          doInstallCheck = false; # Disable install checks
          checkPhase = "";
        });
      django =
        with python-prev;
        django.overridePythonAttrs (old: rec {
          doCheck = false; # Disable tests
          doInstallCheck = false; # Disable install checks
          checkPhase = "";
        });
      librosa =
        with python-prev;
        librosa.overridePythonAttrs (old: rec {
          doCheck = false; # Disable tests
          doInstallCheck = false; # Disable install checks
          checkPhase = "";
        });
    };
  };
  pythonPackages = python3.pkgs;
  python3Packages = python3.pkgs;
}