python314Packages.jedi: disable failing tests
This commit is contained in:
committed by
Robert Schütz
parent
35aa6adac8
commit
c88688de9c
@@ -2,7 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
pythonAtLeast,
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
@@ -21,8 +21,6 @@ buildPythonPackage rec {
|
||||
version = "0.19.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "davidhalter";
|
||||
repo = "jedi";
|
||||
@@ -57,6 +55,20 @@ buildPythonPackage rec {
|
||||
"test_dict_completion"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [
|
||||
# Jedi.api.environment.InvalidPythonEnvironment: The python binary is potentially unsafe
|
||||
"test/test_inference/test_sys_path.py::test_venv_and_pths"
|
||||
"test/test_api/test_environment.py::test_create_environment_venv_path"
|
||||
"test/test_api/test_environment.py::test_create_environment_executable"
|
||||
# can't find system env nor venv
|
||||
"test/test_api/test_environment.py::test_find_system_environments"
|
||||
"test/test_api/test_environment.py::test_scanning_venvs"
|
||||
# https://github.com/davidhalter/jedi/issues/2064
|
||||
"test/test_api/test_interpreter.py::test_string_annotation"
|
||||
# type repr mismatch: Union[Type, int] vs Type | int
|
||||
"test/test_inference/test_mixed.py::test_compiled_signature_annotation_string"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Autocompletion tool for Python that can be used for text editors";
|
||||
homepage = "https://github.com/davidhalter/jedi";
|
||||
|
||||
Reference in New Issue
Block a user