-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After switching to devcontainer (based on 3.10-bullseye python) can't go to test or run test #19857
Comments
Hello! Yes we can look into this further, to start could you provide the python logs so I can see a few details there about what command vscode is running for you? It can be found under |
Hello!
Output command: /usr/local/bin/python ~/.vscode-server/extensions/ms-python.python-2022.14.0/pythonFiles/testing_tools/run_adapter.py discover pytest -- --rootdir . -s --cache-clear --no-cov tests[ { "id": "./tests/test_views/test_tariff_view.py::test_get_payment_history__invoice_visible_in_history", "name": "test_get_payment_history__invoice_visible_in_history", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_tariff_view.py:440", "markers": [], "parentid": "./tests/test_views/test_tariff_view.py" }, { "id": "./tests/test_views/test_tariff_view.py::test_buy_tariff", "name": "test_buy_tariff", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_tariff_view.py:471", "markers": [], "parentid": "./tests/test_views/test_tariff_view.py" }, { "id": "./tests/test_views/test_utils_view.py::test_get_nationalities_view", "name": "test_get_nationalities_view", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_utils_view.py:14", "markers": [], "parentid": "./tests/test_views/test_utils_view.py" }, { "id": "./tests/test_views/test_utils_view.py::test_get_cities_view", "name": "test_get_cities_view", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_utils_view.py:40", "markers": [], "parentid": "./tests/test_views/test_utils_view.py" }, { "id": "./tests/test_views/test_utils_view.py::test_get_tariffs_view__no_user", "name": "test_get_tariffs_view__no_user", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_utils_view.py:68", "markers": [], "parentid": "./tests/test_views/test_utils_view.py" }, { "id": "./tests/test_views/test_utils_view.py::test_get_tariffs_view__upgrade_tariff", "name": "test_get_tariffs_view__upgrade_tariff", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_utils_view.py:105", "markers": [], "parentid": "./tests/test_views/test_utils_view.py" }, { "id": "./tests/test_views/test_utils_view.py::test_tariff_view__suspended_subscription", "name": "test_tariff_view__suspended_subscription", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_utils_view.py:169", "markers": [], "parentid": "./tests/test_views/test_utils_view.py" }, { "id": "./tests/test_views/test_vacancy_view.py::test_reopen_closed_vacancy", "name": "test_reopen_closed_vacancy", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_vacancy_view.py:16", "markers": [], "parentid": "./tests/test_views/test_vacancy_view.py" }, { "id": "./tests/test_views/test_vacancy_view.py::test_patch_vacancy_dont_show_salary_flag__enabled", "name": "test_patch_vacancy_dont_show_salary_flag__enabled", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_vacancy_view.py:52", "markers": [], "parentid": "./tests/test_views/test_vacancy_view.py" }, { "id": "./tests/test_views/test_vacancy_view.py::test_patch_vacancy_dont_show_salary_flag__disabled", "name": "test_patch_vacancy_dont_show_salary_flag__disabled", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_vacancy_view.py:98", "markers": [], "parentid": "./tests/test_views/test_vacancy_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_get_all_clients_view", "name": "test_get_all_clients_view", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:31", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_get_client_by_id", "name": "test_get_client_by_id", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:65", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_get_client_info_view__notfound_client", "name": "test_get_client_info_view__notfound_client", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:104", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_add_client_new_tariff", "name": "test_add_client_new_tariff", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:125", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_add_client_new_tariff_overrides_existing", "name": "test_add_client_new_tariff_overrides_existing", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:177", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_add_client_new_tariff__hide_from_payment_history_enabled", "name": "test_add_client_new_tariff__hide_from_payment_history_enabled", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:233", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_add_client_new_tariff__not_found_client", "name": "test_add_client_new_tariff__not_found_client", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:277", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_add_client_new_tariff__mobile_payment", "name": "test_add_client_new_tariff__mobile_payment", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:299", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_apply_client_invitation_limit", "name": "test_apply_client_invitation_limit", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:333", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_apply_client_invitation_limit__not_found_client", "name": "test_apply_client_invitation_limit__not_found_client", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:353", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_get_client_payment_methods", "name": "test_get_client_payment_methods", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:377", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_delete_client_payment_method", "name": "test_delete_client_payment_method", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:426", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_delete_default_payment_method", "name": "test_delete_default_payment_method", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:451", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_admin_cancel_client_subscription", "name": "test_admin_cancel_client_subscription", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:491", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_admin/test_client/test_admin_client_view.py::test_admin_buy_limits_extends_invites_count", "name": "test_admin_buy_limits_extends_invites_count", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_admin/test_client/test_admin_client_view.py:520", "markers": [], "parentid": "./tests/test_views/test_admin/test_client/test_admin_client_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_temp_user", "name": "test_register_candidate_temp_user", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:21", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_email_step", "name": "test_register_candidate_email_step", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:35", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_confirm_email_step", "name": "test_register_candidate_confirm_email_step", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:62", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_confirm_email_step__invalid_code", "name": "test_register_candidate_confirm_email_step__invalid_code", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:88", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_phone_step", "name": "test_register_candidate_phone_step", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:120", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_confirm_phone_step", "name": "test_register_candidate_confirm_phone_step", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:150", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_confirm_phone_step__invalid_code", "name": "test_register_candidate_confirm_phone_step__invalid_code", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:182", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_sign_rights_and_obligations", "name": "test_register_candidate_sign_rights_and_obligations", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:221", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_finish_register", "name": "test_register_candidate_finish_register", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:259", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_auth/test_auth_register_candidate_view.py::test_register_candidate_finish_register__not_all_field_filled", "name": "test_register_candidate_finish_register__not_all_field_filled", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_auth/test_auth_register_candidate_view.py:301", "markers": [], "parentid": "./tests/test_views/test_auth/test_auth_register_candidate_view.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_cv_video_interview_data", "name": "test_cv_video_interview_data", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:11", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_get_cv_video_interview__not_exist", "name": "test_get_cv_video_interview__not_exist", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:39", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_init_cv_video_interview__new", "name": "test_init_cv_video_interview__new", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:54", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_init_cv_video_interview__override", "name": "test_init_cv_video_interview__override", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:78", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_finish_cv_video_interview", "name": "test_finish_cv_video_interview", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:107", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_finish_cv_video_interview__not_found", "name": "test_finish_cv_video_interview__not_found", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:140", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py::test_finish_cv_video_interview__override_exists", "name": "test_finish_cv_video_interview__override_exists", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py:159", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_video.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py::test_candidate_cv_view__get_candidate_cv", "name": "test_candidate_cv_view__get_candidate_cv", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py:22", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py::test_candidate_cv_view__update_candidate_cv", "name": "test_candidate_cv_view__update_candidate_cv", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py:146", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py::test_get_cv_visibility_status", "name": "test_get_cv_visibility_status", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py:203", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py" }, { "id": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py::test_change_cv_visibility_status", "name": "test_change_cv_visibility_status", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py:229", "markers": [], "parentid": "./tests/test_views/test_candidate/test_cv/test_candidate_cv_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_accept_vacancy.py::test_candidate_accept__vacancy", "name": "test_candidate_accept__vacancy", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_accept_vacancy.py:11", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_accept_vacancy.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py::test_candidate_vacancy_view_get_all", "name": "test_candidate_vacancy_view_get_all", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py:19", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py::test_candidate_vacancy_view_get_all__accepted_invite", "name": "test_candidate_vacancy_view_get_all__accepted_invite", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py:76", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py::test_candidate_vacancy_view_get_all__closed_vacancy", "name": "test_candidate_vacancy_view_get_all__closed_vacancy", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py:138", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_vacancy_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_get_vacancy_response__hide_salary_flag__returns_expected[False-1000-1200-per_year-usd]", "name": "False-1000-1200-per_year-usd", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:31", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_get_vacancy_response__hide_salary_flag__returns_expected" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_get_vacancy_response__hide_salary_flag__returns_expected[True-None-None-None-None]", "name": "True-None-None-None-None", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:31", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_get_vacancy_response__hide_salary_flag__returns_expected" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_candidate_vacancy_new_chat_status_new", "name": "test_candidate_vacancy_new_chat_status_new", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:91", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_candidate_vacancy_closed__chat_status_not_available", "name": "test_candidate_vacancy_closed__chat_status_not_available", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:131", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_candidate_vacancy_closed_has_messages__chat_status_read_only", "name": "test_candidate_vacancy_closed_has_messages__chat_status_read_only", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:172", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py" }, { "id": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py::test_candidate_vacancy_active_has_messages__chat_status_continue", "name": "test_candidate_vacancy_active_has_messages__chat_status_continue", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_candidate/test_vacancy/test_candidate_view.py:220", "markers": [], "parentid": "./tests/test_views/test_candidate/test_vacancy/test_candidate_view.py" }, { "id": "./tests/test_views/test_user/test_candidate/test_response_builder.py::test_get_candidate_short_response", "name": "test_get_candidate_short_response", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_candidate/test_response_builder.py:8", "markers": [], "parentid": "./tests/test_views/test_user/test_candidate/test_response_builder.py" }, { "id": "./tests/test_views/test_user/test_candidate/test_response_builder.py::test_get_candidate_short_response_cv_file", "name": "test_get_candidate_short_response_cv_file", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_candidate/test_response_builder.py:31", "markers": [], "parentid": "./tests/test_views/test_user/test_candidate/test_response_builder.py" }, { "id": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py::test_add_candidate_to_favorites", "name": "test_add_candidate_to_favorites", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_classified/test_classified_favorites_view.py:13", "markers": [], "parentid": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py" }, { "id": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py::test_add_candidate_to_favorites__already_exist__error", "name": "test_add_candidate_to_favorites__already_exist__error", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_classified/test_classified_favorites_view.py:38", "markers": [], "parentid": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py" }, { "id": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py::test_remove_from_favorites", "name": "test_remove_from_favorites", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_classified/test_classified_favorites_view.py:68", "markers": [], "parentid": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py" }, { "id": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py::test_remove_from_favorites__not_found__error", "name": "test_remove_from_favorites__not_found__error", "source": "./../Users/user/Desktop/PROJECT/project-backend/tests/test_views/test_user/test_classified/test_classified_favorites_view.py:85", "markers": [], "parentid": "./tests/test_views/test_user/test_classified/test_classified_favorites_view.py" } ] } ] |
Hello, this looks to be a bug in the test adapter and is likely related to the ongoing buggy behavior on pytest discovery and running in vscode. We are currently work on a rewrite of how pytest works in vscode and hope this rewrite will fix this and similar bugs. The main issue which will be working on is here: #17242, and progress will be updated on this issue. Thank you! |
This is broken for me not just in a devcontainer but also if run in WSL2 outside of a devcontainer. |
I have just configured a devcontainer for my Python project and I am facing the same issue. During tests initialization, VS Code seems to be using local project files, not the ones inside the container workspace. @meshchaninov Have you managed to get it working on you machine? I am using another laptop today (also with Ubuntu) and on that laptop tests are loaded as expected and I am able to debug them. I suspect the issue may have something to do with file permissions, because working with devcontainer changes the owner of test files to |
FYI I was able to resolve this by removing all |
When in a devcontainer, how does one turn off the new python test adapter? I am aware of |
@sandy081, any idea why this setting might not be carrying over to their remote setup? |
Because it is configured to be "python.experiments.optOutFrom": {
"default": [],
"markdownDescription": "%python.experiments.optOutFrom.description%",
"items": {
"enum": [
"All",
"pythonSurveyNotification",
"pythonPromptNewToolsExt",
"pythonTerminalEnvVarActivation",
"pythonTestAdapter",
"pythonREPLSmartSend"
],
"enumDescriptions": [
"%python.experiments.All.description%",
"%python.experiments.pythonSurveyNotification.description%",
"%python.experiments.pythonPromptNewToolsExt.description%",
"%python.experiments.pythonTerminalEnvVarActivation.description%",
"%python.experiments.pythonTestAdapter.description%",
"%python.experiments.pythonREPLSmartSend.description%"
]
},
"scope": "machine",
"type": "array",
"uniqueItems": true
} |
you need to put it in the settings for the dev container instead of the user settings- sorry if I said that incorrectly. |
For those in this thread, what is the current status of testing in a dev container? With the experiment turned on does it continue to not work? Would love to get this working for this scenario so if possible could someone send along: a layout or minimal repro of your project and your logs from the |
Hi @eleanorjboyd - Thanks for the pointer to use devcontainer.json - that worked! With the experiment feature turned on, I am running into problems. But not because of the devcontainer. It's because of my custom conftest.py. I am using pytest-xdist and have hooks for pytest_testnodedown, pytest_xdist_auto_num_workers, pytest_sessionfinish, and pytest_collection_finish. We are trying to pass information from the worker nodes back to the master node, similar to what webpage does: https://korytkin.medium.com/how-to-get-data-from-pytest-xdist-nodes-2fbf2f0fe957. This does not work well with the experiment turned on, causing failures. I think the problem is a couple of things. The first is that VSCode is trying to run the tests in parallel itself, so I have no way to combine my data. The second is that something in the conftest isn't liked by the vscode extension. I can get back to you on this later, if you want that error. |
hi @tmaslach, thanks for getting back to me! Have you tried on the most recent release of stable? I made some changes recently to support using other plugins while also using the rewrite. |
@eleanorjboyd - wow, it works now! I used I did get the following error in the test results console:
Not sure what this means, but want you to be aware. I assume this is coming from the pytest adapter. |
glad that worked! Thank you for the FYI on the error message, seems I am returning it in a place which isn't correct so Ill get a PR in to fix that |
… pytest config (microsoft#22534) fixes microsoft#19857
to verify the error message is switched to conditional please set log level to trace then run pytest discovery and ensure you do not see |
…from upstream Merge pull request #277 from posit-dev/merge/2023.22 Merge vscode-python 2023.22 from upstream -------------------- Commit message for posit-dev/positron-python@2e3ea32: handle new upstream `deprecated` response upon parser error -------------------- Commit message for posit-dev/positron-python@d50c326: Update yarn.lock -------------------- Commit message for posit-dev/positron-python@105bf9d: Merge commit 'a0cddbdf0939729cdb82dca2d129433ad475f51e' -------------------- Commit message for microsoft/vscode-python@a0cddbd: bump-release-2023.22 (microsoft/vscode-python#22587) bump to release version 2023.22 and update package.json -------------------- Commit message for microsoft/vscode-python@5302d0e: Revert unsuccessful REPL decoration fix and disable for windows (microsoft/vscode-python#22578) Reverting microsoft/vscode-python#22572 since it is producing color decoration on weird Python REPL spot for Windows pwsh users, and disable decoration entirely for Windows pwsh users temporarily while trying to fix specific problem. Disable feature for stable. Refer: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@bffc9b3: Fix shell integration decoration bug for Windows pwsh (microsoft/vscode-python#22572) Attempt to fix colorless and randomized circle decoration for Python REPL usage by Windows Powershell users. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@e1b54d0: fix no test id provided for pytest run (microsoft/vscode-python#22569) fixes microsoft/vscode-python#22567 Now if a user tries to click the "run" button a empty folder (ie a folder with no tests in it) it will just run pytest with no testIds as args and notify the user. -------------------- Commit message for microsoft/vscode-python@61fcf3a: Properly build deactivate commands for powershell (microsoft/vscode-python#22570) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@db6e15e: Do not throw if initializing deactivate script fails (microsoft/vscode-python#22566) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@caa50dc: Fix shell integration decoration for windows pwsh (microsoft/vscode-python#22560) Attempting to fix shell integration decoration glitch for windows pwsh when using Python REPL from VS Code. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@3efb54f: White space after REPL prompt (microsoft/vscode-python#22549) There should be white space after new REPL prompt that I override for purpose of shell integration. Resolves: microsoft/vscode-python#22548 -------------------- Commit message for microsoft/vscode-python@261ae66: Improvement: Pass along python interpreter to jedi-language-server (microsoft/vscode-python#22466) Fixes microsoft/vscode-python#22495 ## Before this PR Overriding the Python interpreter to a different environment that isn't the current globally-activated base environment would yield no completions when Jedi is used as the underlying language server. Example [stackoverflow question](https://stackoverflow.com/questions/62018436/vscode-intellisense-code-completion-doesnt-work-when-i-am-not-in-base-conda-e) hitting the same issue. ## After this PR We now pass along the interpreter path to jedi-language-server as part of the initial options under `workspace.environmentPath` ([ref](https://github.com/pappasam/jedi-language-server/#workspaceenvironmentpath)) -------------------- Commit message for microsoft/vscode-python@1639753: switch to conditional error message on check for UUID and port during pytest config (microsoft/vscode-python#22534) fixes microsoft/vscode-python#19857 -------------------- Commit message for microsoft/vscode-python@9a5363c: Resolve test suite discovery import errors due to path ordering (microsoft/vscode-python#22454) [Issue microsoft/vscode-python#22453](microsoft/vscode-python#22453) - Once starting to run discovery, add the projects root path to PATH at index 0 so that any further imports will use the projects root directory and not reference the incorrect directory. - Since the test suite only allows the start_dir to be one directory deep, we can conclude that if the start_dir is not "." or contains a "/", that we need to add that start_dir's parent to PATH. Otherwise, we simply add the start_dir to PATH. -------------------- Commit message for microsoft/vscode-python@eb96141: Use shell integration to denote success/failure (microsoft/vscode-python#22487) Resolves: microsoft/vscode-python#22486 Use shell integration to denote success/failure in Python REPL launched from VS Code. This would mean having the blue or red decorators based on whether or not user's command succeeded. -------------------- Commit message for microsoft/vscode-python@f6e1338: Use worker threads for fetching conda environments and interpreter related info (microsoft/vscode-python#22481) -------------------- Commit message for microsoft/vscode-python@3c552f9: Show warning and allow user to turn off smart send for deprecated Python code (microsoft/vscode-python#22353) Resolves: microsoft/vscode-python#22341 microsoft/vscode-python#22340 Showing warning message after detecting user is on Python file with deprecated Python code, and are attempting to run smart send via shift+enter action. Allow user to turn off this via workspace setting. --------- Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> -------------------- Commit message for microsoft/vscode-python@ef983f4: Bump `vscode-tas-client` and fix tests (microsoft/vscode-python#22493) Closes microsoft/vscode-python#22461 Sinon requires the actual object definition, so we need to point it to the module file that actually has the function. -------------------- Commit message for microsoft/vscode-python@9298b2c: Bump dessant/lock-threads from 4 to 5 (microsoft/vscode-python#22474) Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/releases">dessant/lock-threads's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> <h2>v4.0.1</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md">dessant/lock-threads's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/dessant/lock-threads/compare/v4.0.1...v5.0.0">5.0.0</a> (2023-11-14)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Discussions are also processed by default, set the <code>process-only</code> input parameter to preserve the old behavior</li> </ul> <pre lang="yaml"><code> steps: - uses: dessant/lock-threads@v5 with: process-only: 'issues, prs' </code></pre> <ul> <li>the action now requires Node.js 20</li> </ul> <h3>Features</h3> <ul> <li>lock discussions (<a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764">0a0976f</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/25">#25</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67">5a25b54</a>)</li> </ul> <h3><a href="https://github.com/dessant/lock-threads/compare/v4.0.0...v4.0.1">4.0.1</a> (2023-06-12)</h3> <h3>Bug Fixes</h3> <ul> <li>retry and throttle GitHub API requests (<a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529">1618e91</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/35">#35</a></li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v3.0.0...v4.0.0">4.0.0</a> (2022-12-04)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>the action now requires Node.js 16</li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/38e918558115222435d26c0639870cdbe3572929">38e9185</a>)</li> <li>update docs (<a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84">32986e2</a>)</li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v2.1.2...v3.0.0">3.0.0</a> (2021-09-27)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>input parameter names have changed</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dessant/lock-threads/commit/d42e5f49803f3c4e14ffee0378e31481265dda22"><code>d42e5f4</code></a> chore(release): 5.0.0</li> <li><a href="https://github.com/dessant/lock-threads/commit/d8da6c1485cbe748b5b632f1a52cf2a52941cbf9"><code>d8da6c1</code></a> chore: update package</li> <li><a href="https://github.com/dessant/lock-threads/commit/c1eab4b45f97073a922fbd226afab0e34a70cf5f"><code>c1eab4b</code></a> chore: update workflow</li> <li><a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764"><code>0a0976f</code></a> feat: lock discussions</li> <li><a href="https://github.com/dessant/lock-threads/commit/53f3f0c0b9158bece84746885adc5f4bf2dd1ddc"><code>53f3f0c</code></a> chore: migrate package to ESM</li> <li><a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67"><code>5a25b54</code></a> fix: update dependencies</li> <li>See full diff in <a href="https://github.com/dessant/lock-threads/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dessant/lock-threads&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@e27185a: Use worker threads for fetching Windows Registry interpreters (microsoft/vscode-python#22479) For microsoft/vscode-python#22146 -------------------- Commit message for microsoft/vscode-python@7a4de92: Use `WorkspaceFolder.name` in addition to workspace folder's basename when resolving `${workspaceFolder:name}` syntax in settings (microsoft/vscode-python#22471) Closes microsoft/vscode-python#22452 -------------------- Commit message for microsoft/vscode-python@fbfa126: Add 3.12 to conda version list (microsoft/vscode-python#22470) -------------------- Commit message for microsoft/vscode-python@47552a3: Install requirements before toml (microsoft/vscode-python#22468) Fixes microsoft/vscode-python#22423 -------------------- Commit message for microsoft/vscode-python@a1fac81: If active editor opened is outside the editor, activate the first workspace (microsoft/vscode-python#22450) For microsoft/vscode-python#22449 -------------------- Commit message for microsoft/vscode-python@b68ddee: Support deactivating virtual environments without user intervention (microsoft/vscode-python#22405) Closes microsoft/vscode-python#22448 Adds deactivate script to `PATH` -------------------- Commit message for microsoft/vscode-python@8d174a8: Fix shell integration API reliability (microsoft/vscode-python#22446) microsoft/vscode-python#22440 It leads to terminals activating forever. -------------------- Commit message for microsoft/vscode-python@1b3c1ea: Adding `Locked` comments to walkthrough commands (microsoft/vscode-python#22432) Adds comments to lock command names for walkthrough localization. Only added Locked comments for walkthrough tiles that are in use and have commands -------------------- Commit message for microsoft/vscode-python@2fc9fea: Revert "Reliably detect whether shell integration is working" (microsoft/vscode-python#22445) Reverts microsoft/vscode-python#22440 It seems reactivating never finishes after this, although this doesn't repro when debugging the extension, have to investigate further. -------------------- Commit message for microsoft/vscode-python@f98caf6: Add consoleTitle to launch.json properties schema (microsoft/vscode-python#22406) consoleTitle is effectively an undocumented feature. pydebug accepts the config key, but vscode will report a problem because it is missing from the schema. see [this debugpy issue](microsoft/debugpy#1178) and [#13040](microsoft/vscode-python#13040) I used the phrase "console or terminal" because I noticed the name was represented on both integratedTerminal and internalConsole. I didn't test externalTerminal. --------- Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@2a976e3: Reliably detect whether shell integration is working (microsoft/vscode-python#22440) Closes microsoft/vscode-python#22439 Blocked on https://github.com/microsoft/vscode-distro/pull/822 -------------------- Commit message for microsoft/vscode-python@67b4801: Improve shell identifier on case-insensitive system (microsoft/vscode-python#22391) Use case-insensitive regex to remove `.exe` extension. See: microsoft/vscode-python#22036 (comment) -------------------- Commit message for microsoft/vscode-python@7bc45e5: Do not attempt to kill the process if it has already exited (microsoft/vscode-python#22424) Closes microsoft/vscode-python#22420 This bugs seems to have existed every since `rawProcessApi.ts` was created. `proc.killed` can be `false` even after process has exited. -------------------- Commit message for microsoft/vscode-python@f6cfa6e: Remove old code for folder support in interpreter path setting (microsoft/vscode-python#22413) Closes microsoft/vscode-python#12452 Lead-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com> Co-authored-by: John H. Ayad <johnhany97@gmail.com> Co-authored-by: Wasim Lorgat <mwlorgat@gmail.com> Co-authored-by: Shane Saravia <shanesaravia@live.ca> Co-authored-by: Trysten <trysten@sleepyowl.com> Co-authored-by: JamzumSum <zzzzss990315@gmail.com> Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com> Co-authored-by: Karthik Nadig <kanadig@microsoft.com> Co-authored-by: Pete Farland <pete.farland@posit.co> Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com> Signed-off-by: GitHub <noreply@github.com>
…from upstream Merge pull request #277 from posit-dev/merge/2023.22 Merge vscode-python 2023.22 from upstream -------------------- Commit message for posit-dev/positron-python@2e3ea32: handle new upstream `deprecated` response upon parser error -------------------- Commit message for posit-dev/positron-python@d50c326: Update yarn.lock -------------------- Commit message for posit-dev/positron-python@105bf9d: Merge commit 'a0cddbdf0939729cdb82dca2d129433ad475f51e' -------------------- Commit message for microsoft/vscode-python@a0cddbd: bump-release-2023.22 (microsoft/vscode-python#22587) bump to release version 2023.22 and update package.json -------------------- Commit message for microsoft/vscode-python@5302d0e: Revert unsuccessful REPL decoration fix and disable for windows (microsoft/vscode-python#22578) Reverting microsoft/vscode-python#22572 since it is producing color decoration on weird Python REPL spot for Windows pwsh users, and disable decoration entirely for Windows pwsh users temporarily while trying to fix specific problem. Disable feature for stable. Refer: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@bffc9b3: Fix shell integration decoration bug for Windows pwsh (microsoft/vscode-python#22572) Attempt to fix colorless and randomized circle decoration for Python REPL usage by Windows Powershell users. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@e1b54d0: fix no test id provided for pytest run (microsoft/vscode-python#22569) fixes microsoft/vscode-python#22567 Now if a user tries to click the "run" button a empty folder (ie a folder with no tests in it) it will just run pytest with no testIds as args and notify the user. -------------------- Commit message for microsoft/vscode-python@61fcf3a: Properly build deactivate commands for powershell (microsoft/vscode-python#22570) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@db6e15e: Do not throw if initializing deactivate script fails (microsoft/vscode-python#22566) For microsoft/vscode-python#20950 -------------------- Commit message for microsoft/vscode-python@caa50dc: Fix shell integration decoration for windows pwsh (microsoft/vscode-python#22560) Attempting to fix shell integration decoration glitch for windows pwsh when using Python REPL from VS Code. Resolves: microsoft/vscode-python#22546 microsoft/vscode-python#22535 -------------------- Commit message for microsoft/vscode-python@3efb54f: White space after REPL prompt (microsoft/vscode-python#22549) There should be white space after new REPL prompt that I override for purpose of shell integration. Resolves: microsoft/vscode-python#22548 -------------------- Commit message for microsoft/vscode-python@261ae66: Improvement: Pass along python interpreter to jedi-language-server (microsoft/vscode-python#22466) Fixes microsoft/vscode-python#22495 ## Before this PR Overriding the Python interpreter to a different environment that isn't the current globally-activated base environment would yield no completions when Jedi is used as the underlying language server. Example [stackoverflow question](https://stackoverflow.com/questions/62018436/vscode-intellisense-code-completion-doesnt-work-when-i-am-not-in-base-conda-e) hitting the same issue. ## After this PR We now pass along the interpreter path to jedi-language-server as part of the initial options under `workspace.environmentPath` ([ref](https://github.com/pappasam/jedi-language-server/#workspaceenvironmentpath)) -------------------- Commit message for microsoft/vscode-python@1639753: switch to conditional error message on check for UUID and port during pytest config (microsoft/vscode-python#22534) fixes microsoft/vscode-python#19857 -------------------- Commit message for microsoft/vscode-python@9a5363c: Resolve test suite discovery import errors due to path ordering (microsoft/vscode-python#22454) [Issue microsoft/vscode-python#22453](microsoft/vscode-python#22453) - Once starting to run discovery, add the projects root path to PATH at index 0 so that any further imports will use the projects root directory and not reference the incorrect directory. - Since the test suite only allows the start_dir to be one directory deep, we can conclude that if the start_dir is not "." or contains a "/", that we need to add that start_dir's parent to PATH. Otherwise, we simply add the start_dir to PATH. -------------------- Commit message for microsoft/vscode-python@eb96141: Use shell integration to denote success/failure (microsoft/vscode-python#22487) Resolves: microsoft/vscode-python#22486 Use shell integration to denote success/failure in Python REPL launched from VS Code. This would mean having the blue or red decorators based on whether or not user's command succeeded. -------------------- Commit message for microsoft/vscode-python@f6e1338: Use worker threads for fetching conda environments and interpreter related info (microsoft/vscode-python#22481) -------------------- Commit message for microsoft/vscode-python@3c552f9: Show warning and allow user to turn off smart send for deprecated Python code (microsoft/vscode-python#22353) Resolves: microsoft/vscode-python#22341 microsoft/vscode-python#22340 Showing warning message after detecting user is on Python file with deprecated Python code, and are attempting to run smart send via shift+enter action. Allow user to turn off this via workspace setting. --------- Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com> Co-authored-by: Kartik Raj <karraj@microsoft.com> -------------------- Commit message for microsoft/vscode-python@ef983f4: Bump `vscode-tas-client` and fix tests (microsoft/vscode-python#22493) Closes microsoft/vscode-python#22461 Sinon requires the actual object definition, so we need to point it to the module file that actually has the function. -------------------- Commit message for microsoft/vscode-python@9298b2c: Bump dessant/lock-threads from 4 to 5 (microsoft/vscode-python#22474) Bumps [dessant/lock-threads](https://github.com/dessant/lock-threads) from 4 to 5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/releases">dessant/lock-threads's releases</a>.</em></p> <blockquote> <h2>v5.0.0</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> <h2>v4.0.1</h2> <p>Learn more about this release from the <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md#changelog">changelog</a>.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/dessant/lock-threads/blob/main/CHANGELOG.md">dessant/lock-threads's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/dessant/lock-threads/compare/v4.0.1...v5.0.0">5.0.0</a> (2023-11-14)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>Discussions are also processed by default, set the <code>process-only</code> input parameter to preserve the old behavior</li> </ul> <pre lang="yaml"><code> steps: - uses: dessant/lock-threads@v5 with: process-only: 'issues, prs' </code></pre> <ul> <li>the action now requires Node.js 20</li> </ul> <h3>Features</h3> <ul> <li>lock discussions (<a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764">0a0976f</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/25">#25</a></li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67">5a25b54</a>)</li> </ul> <h3><a href="https://github.com/dessant/lock-threads/compare/v4.0.0...v4.0.1">4.0.1</a> (2023-06-12)</h3> <h3>Bug Fixes</h3> <ul> <li>retry and throttle GitHub API requests (<a href="https://github.com/dessant/lock-threads/commit/1618e91da69b9fe614fb9837ac673ea4600eb529">1618e91</a>), closes <a href="https://redirect.github.com/dessant/lock-threads/issues/35">#35</a></li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v3.0.0...v4.0.0">4.0.0</a> (2022-12-04)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>the action now requires Node.js 16</li> </ul> <h3>Bug Fixes</h3> <ul> <li>update dependencies (<a href="https://github.com/dessant/lock-threads/commit/38e918558115222435d26c0639870cdbe3572929">38e9185</a>)</li> <li>update docs (<a href="https://github.com/dessant/lock-threads/commit/32986e26965060a85db09e98ef7e5958c961ae84">32986e2</a>)</li> </ul> <h2><a href="https://github.com/dessant/lock-threads/compare/v2.1.2...v3.0.0">3.0.0</a> (2021-09-27)</h2> <h3>⚠ BREAKING CHANGES</h3> <ul> <li>input parameter names have changed</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dessant/lock-threads/commit/d42e5f49803f3c4e14ffee0378e31481265dda22"><code>d42e5f4</code></a> chore(release): 5.0.0</li> <li><a href="https://github.com/dessant/lock-threads/commit/d8da6c1485cbe748b5b632f1a52cf2a52941cbf9"><code>d8da6c1</code></a> chore: update package</li> <li><a href="https://github.com/dessant/lock-threads/commit/c1eab4b45f97073a922fbd226afab0e34a70cf5f"><code>c1eab4b</code></a> chore: update workflow</li> <li><a href="https://github.com/dessant/lock-threads/commit/0a0976f3ded51c88c6128dd96dd115c9f14fa764"><code>0a0976f</code></a> feat: lock discussions</li> <li><a href="https://github.com/dessant/lock-threads/commit/53f3f0c0b9158bece84746885adc5f4bf2dd1ddc"><code>53f3f0c</code></a> chore: migrate package to ESM</li> <li><a href="https://github.com/dessant/lock-threads/commit/5a25b54eae3e7a5580d09ef0f7cbc5b18376db67"><code>5a25b54</code></a> fix: update dependencies</li> <li>See full diff in <a href="https://github.com/dessant/lock-threads/compare/v4...v5">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=dessant/lock-threads&package-manager=github_actions&previous-version=4&new-version=5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@e27185a: Use worker threads for fetching Windows Registry interpreters (microsoft/vscode-python#22479) For microsoft/vscode-python#22146 -------------------- Commit message for microsoft/vscode-python@7a4de92: Use `WorkspaceFolder.name` in addition to workspace folder's basename when resolving `${workspaceFolder:name}` syntax in settings (microsoft/vscode-python#22471) Closes microsoft/vscode-python#22452 -------------------- Commit message for microsoft/vscode-python@fbfa126: Add 3.12 to conda version list (microsoft/vscode-python#22470) -------------------- Commit message for microsoft/vscode-python@47552a3: Install requirements before toml (microsoft/vscode-python#22468) Fixes microsoft/vscode-python#22423 -------------------- Commit message for microsoft/vscode-python@a1fac81: If active editor opened is outside the editor, activate the first workspace (microsoft/vscode-python#22450) For microsoft/vscode-python#22449 -------------------- Commit message for microsoft/vscode-python@b68ddee: Support deactivating virtual environments without user intervention (microsoft/vscode-python#22405) Closes microsoft/vscode-python#22448 Adds deactivate script to `PATH` -------------------- Commit message for microsoft/vscode-python@8d174a8: Fix shell integration API reliability (microsoft/vscode-python#22446) microsoft/vscode-python#22440 It leads to terminals activating forever. -------------------- Commit message for microsoft/vscode-python@1b3c1ea: Adding `Locked` comments to walkthrough commands (microsoft/vscode-python#22432) Adds comments to lock command names for walkthrough localization. Only added Locked comments for walkthrough tiles that are in use and have commands -------------------- Commit message for microsoft/vscode-python@2fc9fea: Revert "Reliably detect whether shell integration is working" (microsoft/vscode-python#22445) Reverts microsoft/vscode-python#22440 It seems reactivating never finishes after this, although this doesn't repro when debugging the extension, have to investigate further. -------------------- Commit message for microsoft/vscode-python@f98caf6: Add consoleTitle to launch.json properties schema (microsoft/vscode-python#22406) consoleTitle is effectively an undocumented feature. pydebug accepts the config key, but vscode will report a problem because it is missing from the schema. see [this debugpy issue](microsoft/debugpy#1178) and [#13040](microsoft/vscode-python#13040) I used the phrase "console or terminal" because I noticed the name was represented on both integratedTerminal and internalConsole. I didn't test externalTerminal. --------- Co-authored-by: Luciana Abud <45497113+luabud@users.noreply.github.com> -------------------- Commit message for microsoft/vscode-python@2a976e3: Reliably detect whether shell integration is working (microsoft/vscode-python#22440) Closes microsoft/vscode-python#22439 Blocked on https://github.com/microsoft/vscode-distro/pull/822 -------------------- Commit message for microsoft/vscode-python@67b4801: Improve shell identifier on case-insensitive system (microsoft/vscode-python#22391) Use case-insensitive regex to remove `.exe` extension. See: microsoft/vscode-python#22036 (comment) -------------------- Commit message for microsoft/vscode-python@7bc45e5: Do not attempt to kill the process if it has already exited (microsoft/vscode-python#22424) Closes microsoft/vscode-python#22420 This bugs seems to have existed every since `rawProcessApi.ts` was created. `proc.killed` can be `false` even after process has exited. -------------------- Commit message for microsoft/vscode-python@f6cfa6e: Remove old code for folder support in interpreter path setting (microsoft/vscode-python#22413) Closes microsoft/vscode-python#12452 Lead-authored-by: Kartik Raj <karraj@microsoft.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Courtney Webster <60238438+cwebster-99@users.noreply.github.com> Co-authored-by: John H. Ayad <johnhany97@gmail.com> Co-authored-by: Wasim Lorgat <mwlorgat@gmail.com> Co-authored-by: Shane Saravia <shanesaravia@live.ca> Co-authored-by: Trysten <trysten@sleepyowl.com> Co-authored-by: JamzumSum <zzzzss990315@gmail.com> Co-authored-by: Eleanor Boyd <eleanorboyd@microsoft.com> Co-authored-by: Karthik Nadig <kanadig@microsoft.com> Co-authored-by: Pete Farland <pete.farland@posit.co> Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com> Signed-off-by: GitHub <noreply@github.com>
Type: Bug
Extension version: 2022.14.0
VS Code version: Code 1.71.2 (Universal) (74b1f979648cc44d385a2286793c226e611f59e7, 2022-09-14T21:05:37.721Z)
OS version: Darwin arm64 21.6.0
Modes:
Sandboxed: No
Remote OS version: Linux arm64 5.10.124-linuxkit
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The problem is that the VSCode tries to access absolute paths inside the masOS, but they do not exist inside the devcontainer
The text was updated successfully, but these errors were encountered: