poetry: skip sandbox-violating test on darwin (#426987)

authored by Aleksana and committed by GitHub 21f330f9 4a6cb14e

+24 -18
+24 -18
pkgs/by-name/po/poetry/unwrapped.nix
··· 128 unset no_proxy 129 ''; 130 131 - disabledTests = [ 132 - "test_builder_should_execute_build_scripts" 133 - "test_env_system_packages_are_relative_to_lib" 134 - "test_install_warning_corrupt_root" 135 - "test_no_additional_output_in_verbose_mode" 136 - "test_project_plugins_are_installed_in_project_folder" 137 - "test_application_command_not_found_messages" 138 - # PermissionError: [Errno 13] Permission denied: '/build/pytest-of-nixbld/pytest-0/popen-gw3/test_find_poetry_managed_pytho1/.local/share/pypoetry/python/pypy@3.10.8/bin/python' 139 - "test_list_poetry_managed" 140 - "test_list_poetry_managed" 141 - "test_find_all_with_poetry_managed" 142 - "test_find_poetry_managed_pythons" 143 - # Flaky 144 - "test_threading_property_types" 145 - "test_threading_single_thread_safe" 146 - "test_threading_property_caching" 147 - "test_threading_atomic_cached_property_different_instances" 148 - ]; 149 150 pytestFlagsArray = [ 151 "-m 'not network'"
··· 128 unset no_proxy 129 ''; 130 131 + disabledTests = 132 + [ 133 + "test_builder_should_execute_build_scripts" 134 + "test_env_system_packages_are_relative_to_lib" 135 + "test_install_warning_corrupt_root" 136 + "test_no_additional_output_in_verbose_mode" 137 + "test_project_plugins_are_installed_in_project_folder" 138 + "test_application_command_not_found_messages" 139 + # PermissionError: [Errno 13] Permission denied: '/build/pytest-of-nixbld/pytest-0/popen-gw3/test_find_poetry_managed_pytho1/.local/share/pypoetry/python/pypy@3.10.8/bin/python' 140 + "test_list_poetry_managed" 141 + "test_list_poetry_managed" 142 + "test_find_all_with_poetry_managed" 143 + "test_find_poetry_managed_pythons" 144 + # Flaky 145 + "test_threading_property_types" 146 + "test_threading_single_thread_safe" 147 + "test_threading_property_caching" 148 + "test_threading_atomic_cached_property_different_instances" 149 + ] 150 + ++ lib.optionals stdenv.hostPlatform.isDarwin [ 151 + # Sandbox violation: 152 + # PermissionError: [Errno 1] Operation not permitted: '/Library/Frameworks/Python.framework/Versions' 153 + "test_find_all" 154 + ]; 155 156 pytestFlagsArray = [ 157 "-m 'not network'"