From d8b19009b69b0d3873b50f2fed9ebcd9bb1a5c48 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 4 Jun 2025 14:56:37 +0200 Subject: [PATCH] python3Packages.meson-python: enable all tests I missed that it wasn't complaining about a missing git repo before, but want to create git repos instead. --- .../python-modules/meson-python/default.nix | 39 +------------------ 1 file changed, 2 insertions(+), 37 deletions(-) diff --git a/pkgs/development/python-modules/meson-python/default.nix b/pkgs/development/python-modules/meson-python/default.nix index c3bbdc6276e3..917cdd88e221 100644 --- a/pkgs/development/python-modules/meson-python/default.nix +++ b/pkgs/development/python-modules/meson-python/default.nix @@ -13,6 +13,7 @@ # tests cython, + git, pytestCheckHook, pytest-mock, }: @@ -42,47 +43,11 @@ buildPythonPackage rec { nativeCheckInputs = [ cython + git pytestCheckHook pytest-mock ]; - disabledTests = [ - # Tests require a Git checkout - "test_configure_data" - "test_contents" - "test_contents" - "test_contents_license_file" - "test_contents_subdirs" - "test_contents_unstaged" - "test_detect_wheel_tag_module" - "test_detect_wheel_tag_script" - "test_dynamic_version" - "test_editable_install" - "test_editable_verbose" - "test_editble_reentrant" - "test_entrypoints" - "test_executable_bit" - "test_executable_bit" - "test_generated_files" - "test_install_subdir" - "test_license_pep639" - "test_limited_api" - "test_link_library_in_subproject" - "test_local_lib" - "test_long_path" - "test_meson_build_metadata" - "test_pep621_metadata" - "test_pure" - "test_purelib_and_platlib" - "test_reproducible" - "test_rpath" - "test_scipy_like" - "test_sharedlib_in_package" - "test_symlinks" - "test_uneeded_rpath" - "test_user_args" - "test_vendored_meson" - ]; # meson-python respectes MACOSX_DEPLOYMENT_TARGET, but compares it with the # actual platform version during tests, which mismatches. # https://github.com/mesonbuild/meson-python/issues/760