Loading pkgs/development/interpreters/python/tests.nix +19 −17 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ let is_virtualenv = "False"; }; } // lib.optionalAttrs (python.pythonAtLeast "3.8") { } // { # Venv built using Python Nix environment (python.buildEnv) # TODO: Cannot create venv from a nix env # Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. Loading Loading @@ -105,22 +105,24 @@ let # Integration tests involving the package set. # All PyPy package builds are broken at the moment integrationTests = lib.optionalAttrs (!python.isPyPy) ( lib.optionalAttrs (python.isPy3k && !stdenv.hostPlatform.isDarwin) { # darwin has no split-debug integrationTests = lib.optionalAttrs (!python.isPyPy) ({ # Make sure tkinter is importable. See https://github.com/NixOS/nixpkgs/issues/238990 tkinter = callPackage ./tests/test_tkinter { interpreter = python; }; } // lib.optionalAttrs (python.isPy3k && python.pythonOlder "3.13" && !stdenv.hostPlatform.isDarwin) { # darwin has no split-debug # fails on python3.13 cpython-gdb = callPackage ./tests/test_cpython_gdb { interpreter = python; }; } // lib.optionalAttrs (python.pythonAtLeast "3.7") { } // lib.optionalAttrs (python.isPy3k && python.pythonOlder "3.13") { # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages # mypy does not yet support python3.13 # https://github.com/python/mypy/issues/17264 nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix { interpreter = python; }; # Make sure tkinter is importable. See https://github.com/NixOS/nixpkgs/issues/238990 tkinter = callPackage ./tests/test_tkinter { interpreter = python; }; } ); }); # Test editable package support editableTests = let Loading Loading
pkgs/development/interpreters/python/tests.nix +19 −17 Original line number Diff line number Diff line Loading @@ -75,7 +75,7 @@ let is_virtualenv = "False"; }; } // lib.optionalAttrs (python.pythonAtLeast "3.8") { } // { # Venv built using Python Nix environment (python.buildEnv) # TODO: Cannot create venv from a nix env # Error: Command '['/nix/store/ddc8nqx73pda86ibvhzdmvdsqmwnbjf7-python3-3.7.6-venv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1. Loading Loading @@ -105,22 +105,24 @@ let # Integration tests involving the package set. # All PyPy package builds are broken at the moment integrationTests = lib.optionalAttrs (!python.isPyPy) ( lib.optionalAttrs (python.isPy3k && !stdenv.hostPlatform.isDarwin) { # darwin has no split-debug integrationTests = lib.optionalAttrs (!python.isPyPy) ({ # Make sure tkinter is importable. See https://github.com/NixOS/nixpkgs/issues/238990 tkinter = callPackage ./tests/test_tkinter { interpreter = python; }; } // lib.optionalAttrs (python.isPy3k && python.pythonOlder "3.13" && !stdenv.hostPlatform.isDarwin) { # darwin has no split-debug # fails on python3.13 cpython-gdb = callPackage ./tests/test_cpython_gdb { interpreter = python; }; } // lib.optionalAttrs (python.pythonAtLeast "3.7") { } // lib.optionalAttrs (python.isPy3k && python.pythonOlder "3.13") { # Before the addition of NIX_PYTHONPREFIX mypy was broken with typed packages # mypy does not yet support python3.13 # https://github.com/python/mypy/issues/17264 nix-pythonprefix-mypy = callPackage ./tests/test_nix_pythonprefix { interpreter = python; }; # Make sure tkinter is importable. See https://github.com/NixOS/nixpkgs/issues/238990 tkinter = callPackage ./tests/test_tkinter { interpreter = python; }; } ); }); # Test editable package support editableTests = let Loading