Skip to content

Ensure compatibility with lazy-object-proxy v1.11.0 #460

Open
@vdusek

Description

@vdusek

Example of broken job https://github.com/apify/apify-sdk-python/actions/runs/14596645969/job/40944164914?pr=459 :

ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[https_with_hyphen] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_number_in_domain] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_subdomains_and_numbers] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_multiple_subdomains] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_short_domain] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_path_no_extension] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_path_and_extension] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_non_english_chars] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_port] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[http_with_authentication] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_configuration.py::test_disable_browser_sandbox[False-True-True] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[invalid_domain_single_level] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_configuration.py::test_disable_browser_sandbox[True-False-True] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[invalid_domain_no_tld] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_configuration.py::test_disable_browser_sandbox[True-True-True] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[invalid_domain_short_tld] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-GET] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[invalid_numeric_domain] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-HEAD] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[missing_protocol] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-POST] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_false_positives[missing_slashes] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_multi_line - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-PUT] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-DELETE] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_gzip - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-CONNECT] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_to_gzip - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-OPTIONS] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_from_gzip - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_read_gzip_time - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-TRACE] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_read_gzip_time_non_zero - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[minimal-PATCH] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test-httpcache-test] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-GET] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[123-httpcache-123] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-HEAD] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test-spider-httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-POST] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test_spider-httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-PUT] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test spider-httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-DELETE] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test\U0001f47bspider-httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-CONNECT] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[test@spider-httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-OPTIONS] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[   test   spider   -httpcache-test-spider] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-TRACE] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[testspider.com-httpcache-testspider-com] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_request_types[all_options-PATCH] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name[tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt-httpcache-tttttttttttttttttttttttttttttttttttttttttttttttttt] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_from_url_correctly_send_requests - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name_raises[] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_from_url - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name_raises[-] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_from_url_additional_inputs - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/extensions/test_httpcache.py::test_get_kvs_name_raises[-@-/-] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_request_list_open_name - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[valid_proxy_settings_enabled] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[standard_http_with_www] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[valid_proxy_settings_with_groups] - KeyError: '__wrapped__'
ERROR tests/unit/actor/test_request_list.py::test_url_no_commas_regex_true_positives[standard_https_with_www] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[no_settings] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_process_request_with_proxy[invalid_proxy_missing_credentials] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[irrelevant_setting] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_handles_exceptions[tunnel_error] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[empty_proxy_settings] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_handles_exceptions[value_error] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[use_apify_proxy_none] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/pipelines/test_actor_dataset_push.py::test_process_item[dummy_item_with_valid_data] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_initialization_from_crawler[use_apify_proxy_false] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/pipelines/test_actor_dataset_push.py::test_process_item[title_item_with_valid_data] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_retrieves_new_proxy_url[example_proxy] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/pipelines/test_actor_dataset_push.py::test_process_item[none_item_raises_type_error] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_retrieves_new_proxy_url[apify_proxy] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_apify_request.py::test_creates_simple_request - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_process_request_with_proxy[valid_example_proxy] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_apify_request.py::test_handles_headers - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/middlewares/test_apify_proxy.py::test_process_request_with_proxy[valid_apify_proxy] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_apify_request.py::test_without_id_and_unique_key - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_apify_request.py::test_with_id_and_unique_key - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_apply_apify_settings.py::test_updates_item_pipelines - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_apify_request.py::test_invalid_scrapy_request_returns_none - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_apply_apify_settings.py::test_updates_downloader_middlewares - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_scrapy_request.py::test_without_reconstruction - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_apply_apify_settings.py::test_adds_proxy_config - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_scrapy_request.py::test_without_reconstruction_with_optional_fields - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_get_basic_auth_header.py::test_basic_auth_header_generation[simple_username_password] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_scrapy_request.py::test_with_reconstruction - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_get_basic_auth_header.py::test_basic_auth_header_generation[complex_username_password] - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_scrapy_request.py::test_with_reconstruction_with_optional_fields - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_encrypt_decrypt_various_strings - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/requests/test_to_scrapy_request.py::test_invalid_request_for_reconstruction - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_decryption_fails_with_invalid_password - KeyError: '__wrapped__'
ERROR tests/unit/scrapy/utils/test_apply_apify_settings.py::test_overrides_scheduler - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_decryption_fails_with_manipulated_cipher - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_encode_base62[999999999-15FTGf] - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_same_value_produces_different_cipher_each_time - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_create_valid_hmac_signature - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_private_decrypt_with_node_js_encrypted_value - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_create_same_hmac - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_crypto_random_object_id_length_and_charset - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_lifecycle_local - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_encode_base62[0-0] - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_event_handling_local - KeyError: '__wrapped__'
ERROR tests/unit/test_crypto.py::test_encode_base62[10-a] - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_event_async_handling_local - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_basic_constructor - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_lifecycle_on_platform_without_websocket - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_fallback_constructor - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_lifecycle_on_platform - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_invalid_arguments - KeyError: '__wrapped__'
ERROR tests/unit/test_platform_event_manager.py::test_event_handling_on_platform - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_new_url_basic - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_new_url_with_session_ids - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_with_custom_new_url_function - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_rotating_custom_urls - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_rotating_custom_urls_with_sessions - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_with_async_custom_new_url_function - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_new_proxy_info_basic_construction - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_invalid_custom_new_url_function - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_new_proxy_info_rotating_urls - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_url_reference_not_shared_between_instances - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_new_proxy_info_rotating_urls_with_sessions - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_with_valid_configuration - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_without_password_or_token - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_with_manual_password - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_with_manual_password_different_than_user_one - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_when_not_connected - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_when_status_page_unavailable - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_initialize_with_non_apify_proxy - KeyError: '__wrapped__'
ERROR tests/unit/test_proxy_configuration.py::test_is_url_validation - KeyError: '__wrapped__'

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions