Package: src:python-scrapy Version: 2.13.4-1 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202512/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-scrapy, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild dh_auto_build -O--buildsystem=pybuild I: pybuild plugin_pyproject:131: Building wheel for python3.14 with "build" module I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scrapy * Building wheel... Successfully built scrapy-2.13.4-py3-none-any.whl [... snipped ...] FAILED tests/test_feedexport.py::TestFeedExport::test_export_items_field_names FAILED tests/test_feedexport.py::TestFeedExport::test_export_items_json_field_list FAILED tests/test_feedexport.py::TestFeedExport::test_export_items_json_field_names FAILED tests/test_feedexport.py::TestFeedExport::test_export_multiple_configs FAILED tests/test_feedexport.py::TestFeedExport::test_export_multiple_item_classes FAILED tests/test_feedexport.py::TestFeedExport::test_export_no_items_store_empty FAILED tests/test_feedexport.py::TestFeedExport::test_export_tuple - TypeErro... FAILED tests/test_feedexport.py::TestFeedExport::test_extend_kwargs - Asserti... FAILED tests/test_feedexport.py::TestFeedExport::test_str_uri - AssertionError FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_bz2_plugin_compresslevel FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_custom_plugin FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_custom_plugin_with_compression FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_custom_plugin_with_parameter FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_exports_compatibility_with_postproc FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_gzip_plugin_compresslevel FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_gzip_plugin_filename FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_gzip_plugin_mtime FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_lzma_plugin FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_lzma_plugin_check FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_lzma_plugin_filters FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_lzma_plugin_format FAILED tests/test_feedexport.py::TestFeedPostProcessedExports::test_lzma_plugin_preset FAILED tests/test_feedexport.py::TestBatchDeliveries::test_batch_path_differ FAILED tests/test_feedexport.py::TestBatchDeliveries::test_export_no_items_store_empty FAILED tests/test_feedexport.py::TestFeedExporterSignals::test_feed_exporter_signals_sent FAILED tests/test_feedexport.py::TestFeedExporterSignals::test_feed_exporter_signals_sent_deferred FAILED tests/test_pipeline_files.py::TestFilesPipeline::test_file_path - Asse... FAILED tests/test_squeues.py::PickleFifoDiskQueueTest::test_non_pickable_object FAILED tests/test_squeues.py::ChunkSize1PickleFifoDiskQueueTest::test_non_pickable_object FAILED tests/test_squeues.py::ChunkSize2PickleFifoDiskQueueTest::test_non_pickable_object FAILED tests/test_squeues.py::ChunkSize3PickleFifoDiskQueueTest::test_non_pickable_object FAILED tests/test_squeues.py::ChunkSize4PickleFifoDiskQueueTest::test_non_pickable_object FAILED tests/test_utils_asyncio.py::TestAsyncio::test_install_asyncio_reactor = 44 failed, 3172 passed, 168 skipped, 4 deselected, 19 xfailed, 213 warnings in 300.03s (0:05:00) = E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scrapy/build; python3.14 -m pytest --ignore tests/test_command_check.py -k 'not test_utf16' I: pybuild pybuild:308: cd /<<PKGBUILDDIR>>/tests/keys; cat example-com.key.pem example-com.cert.pem >cert.pem I: pybuild base:317: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build; python3.13 -m pytest --ignore tests/test_command_check.py -k 'not test_utf16' ============================= test session starts ============================== platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build configfile: pyproject.toml collected 3407 items / 4 deselected / 3403 selected docs/faq.rst ...... [ 0%] docs/intro/overview.rst . [ 0%] docs/intro/tutorial.rst ....................................... [ 1%] docs/topics/addons.rst ..... [ 1%] docs/topics/api.rst . [ 1%] docs/topics/asyncio.rst ..... [ 1%] docs/topics/autothrottle.rst . [ 1%] docs/topics/broad-crawls.rst ........ [ 1%] docs/topics/commands.rst .......... [ 2%] docs/topics/components.rst .. [ 2%] docs/topics/contracts.rst ..... [ 2%] docs/topics/coroutines.rst ....... [ 2%] docs/topics/debug.rst ......... [ 2%] docs/topics/developer-tools.rst ....... [ 3%] docs/topics/downloader-middleware.rst ....... [ 3%] docs/topics/email.rst ..... [ 3%] docs/topics/exceptions.rst . [ 3%] docs/topics/exporters.rst ..... [ 3%] docs/topics/extensions.rst ... [ 3%] docs/topics/feed-exports.rst ........ [ 3%] docs/topics/item-pipeline.rst ....... [ 4%] docs/topics/jobs.rst . [ 4%] docs/topics/link-extractors.rst .. [ 4%] docs/topics/logging.rst ............ [ 4%] docs/topics/media-pipeline.rst ........................ [ 5%] docs/topics/practices.rst ......... [ 5%] docs/topics/request-response.rst .................. [ 6%] docs/topics/settings.rst ........................... [ 6%] docs/topics/signals.rst .. [ 6%] docs/topics/spider-middleware.rst ..... [ 7%] docs/topics/spiders.rst ..................... [ 7%] tests/test_addons.py ......... [ 7%] tests/test_closespider.py ....... [ 8%] tests/test_cmdline/__init__.py ..... [ 8%] tests/test_cmdline_crawl_with_pipeline/__init__.py .. [ 8%] tests/test_command_fetch.py .... [ 8%] tests/test_command_parse.py ..................... [ 9%] tests/test_command_shell.py .................. [ 9%] tests/test_command_version.py .. [ 9%] tests/test_commands.py .................................s............... [ 11%] .....ssssssssssssssssssssss........... [ 12%] tests/test_contracts.py .............. [ 12%] tests/test_core_downloader.py ......... [ 12%] tests/test_crawl.py ..............................s.................x... [ 14%] ....... [ 14%] tests/test_crawler.py ..........................................s....... [ 16%] ............. [ 16%] tests/test_dependencies.py .s [ 16%] tests/test_downloader_handlers.py ...................................... [ 17%] ........................................................................ [ 19%] .................................... [ 20%] tests/test_downloader_handlers_http2.py ssssssssssssssssssssssssssssssss [ 21%] sssssssssssssss [ 22%] tests/test_downloadermiddleware.py .......... [ 22%] tests/test_downloadermiddleware_ajaxcrawlable.py ..... [ 22%] tests/test_downloadermiddleware_cookies.py ............xx.x............. [ 23%] ........... [ 23%] tests/test_downloadermiddleware_defaultheaders.py .. [ 23%] tests/test_downloadermiddleware_downloadtimeout.py .... [ 24%] tests/test_downloadermiddleware_httpauth.py ....... [ 24%] tests/test_downloadermiddleware_httpcache.py ........................... [ 25%] ....... [ 25%] tests/test_downloadermiddleware_httpcompression.py .....s.s............. [ 25%] ......s..ss..ss..ss..ss..ss..ss..s [ 26%] tests/test_downloadermiddleware_httpproxy.py ........................... [ 27%] [ 27%] tests/test_downloadermiddleware_offsite.py ............................. [ 28%] ................. [ 29%] tests/test_downloadermiddleware_redirect.py ............................ [ 29%] ........................................................................ [ 31%] .............................................. [ 33%] tests/test_downloadermiddleware_retry.py ............................... [ 34%] . [ 34%] tests/test_downloadermiddleware_robotstxt.py ...........sssssssssss [ 34%] tests/test_downloadermiddleware_stats.py ... [ 34%] tests/test_downloadermiddleware_useragent.py ..... [ 35%] tests/test_downloaderslotssettings.py .. [ 35%] tests/test_dupefilters.py .......... [ 35%] tests/test_engine.py .......... [ 35%] tests/test_engine_loop.py ...... [ 35%] tests/test_engine_stop_download_bytes.py . [ 35%] tests/test_engine_stop_download_headers.py . [ 36%] tests/test_exporters.py ................................................ [ 37%] ........................................................................ [ 39%] .......................................... [ 40%] tests/test_extension_periodic_log.py ... [ 40%] tests/test_extension_telnet.py ... [ 40%] tests/test_extension_throttle.py ....................................... [ 42%] .... [ 42%] tests/test_feedexport.py ..................................sss.......... [ 43%] ................................................................... [ 45%] tests/test_http2_client_protocol.py ssssssssssssssssssssssssss [ 46%] tests/test_http_cookies.py ............ [ 46%] tests/test_http_headers.py .................. [ 47%] tests/test_http_request.py ............................................. [ 48%] ........................................................................ [ 50%] ............................................................ [ 52%] tests/test_http_response.py ............................................ [ 53%] ........................................................................ [ 55%] ........................................................................ [ 57%] .............................................. [ 59%] tests/test_item.py ................... [ 59%] tests/test_link.py ... [ 59%] tests/test_linkextractors.py .................................... [ 61%] tests/test_loader.py ................................................... [ 62%] .................... [ 63%] tests/test_logformatter.py ........................ [ 63%] tests/test_logstats.py ... [ 63%] tests/test_mail.py ....... [ 64%] tests/test_middleware.py .... [ 64%] tests/test_pipeline_crawl.py .......... [ 64%] tests/test_pipeline_files.py ..........................ss..... [ 65%] tests/test_pipeline_images.py ...................... [ 66%] tests/test_pipeline_media.py .......................... [ 66%] tests/test_pipelines.py .s... [ 67%] tests/test_poet.py . [ 67%] tests/test_pqueues.py .s...s....... [ 67%] tests/test_proxy_connect.py sss [ 67%] tests/test_request_attribute_binding.py ....... [ 67%] tests/test_request_cb_kwargs.py . [ 67%] tests/test_request_dict.py ............... [ 68%] tests/test_request_left.py .... [ 68%] tests/test_responsetypes.py ....... [ 68%] tests/test_robotstxt_interface.py ........sssssssss......s [ 69%] tests/test_scheduler.py ................. [ 69%] tests/test_scheduler_base.py .......... [ 70%] tests/test_scrapy__getattr__.py . [ 70%] tests/test_selector.py ..........s [ 70%] tests/test_settings/__init__.py ..................xx.................... [ 71%] ........................................................... [ 73%] tests/test_signals.py .. [ 73%] tests/test_spider.py ................................................... [ 74%] ........................................ [ 76%] tests/test_spider_start.py ........... [ 76%] tests/test_spiderloader/__init__.py ............... [ 76%] tests/test_spidermiddleware.py ......................................... [ 77%] .......... [ 78%] tests/test_spidermiddleware_base.py .... [ 78%] tests/test_spidermiddleware_depth.py . [ 78%] tests/test_spidermiddleware_httperror.py ............ [ 78%] tests/test_spidermiddleware_offsite.py ........ [ 79%] tests/test_spidermiddleware_output_chain.py ........... [ 79%] tests/test_spidermiddleware_process_start.py ....................... [ 80%] tests/test_spidermiddleware_referer.py ................................. [ 80%] ...... [ 81%] tests/test_spidermiddleware_start.py .. [ 81%] tests/test_spidermiddleware_urllength.py .. [ 81%] tests/test_spiderstate.py ... [ 81%] tests/test_squeues.py ......x...............x...............x........... [ 82%] ....x...............x...............x...................x............... [ 84%] ....x...................x...................x...................x....... [ 87%] .......x........... [ 87%] tests/test_squeues_request.py .s.s.s.s.s.s.s.s.s.s.s.s [ 88%] tests/test_stats.py .... [ 88%] tests/test_toplevel.py ...... [ 88%] tests/test_urlparse_monkeypatches.py . [ 88%] tests/test_utils_asyncgen.py .. [ 88%] tests/test_utils_asyncio.py ... [ 88%] tests/test_utils_conf.py ............. [ 89%] tests/test_utils_console.py .ss [ 89%] tests/test_utils_curl.py .............. [ 89%] tests/test_utils_datatypes.py .......................................... [ 90%] [ 90%] tests/test_utils_defer.py ...........x.. [ 91%] tests/test_utils_deprecate.py ................. [ 91%] tests/test_utils_display.py ........ [ 92%] tests/test_utils_gz.py ...... [ 92%] tests/test_utils_httpobj.py . [ 92%] tests/test_utils_iterators.py ................................. [ 93%] tests/test_utils_log.py ........................ [ 93%] tests/test_utils_misc/__init__.py .......... [ 94%] tests/test_utils_misc/test_return_with_argument_inside_generator.py .... [ 94%] .. [ 94%] tests/test_utils_project.py ..... [ 94%] tests/test_utils_python.py ..................... [ 95%] tests/test_utils_request.py .......................... [ 95%] tests/test_utils_response.py .............. [ 96%] tests/test_utils_serialize.py ...... [ 96%] tests/test_utils_signal.py ...... [ 96%] tests/test_utils_sitemap.py .......... [ 97%] tests/test_utils_spider.py .. [ 97%] tests/test_utils_template.py . [ 97%] tests/test_utils_trackref.py ..... [ 97%] tests/test_utils_url.py ................................................ [ 98%] ....s.......................... [ 99%] tests/test_webclient.py ............... [100%] =============================== warnings summary =============================== scrapy/spidermiddlewares/offsite.py:19 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/spidermiddlewares/offsite.py:19: ScrapyDeprecationWarning: The scrapy.spidermiddlewares.offsite module is deprecated, use scrapy.downloadermiddlewares.offsite instead. warnings.warn( scrapy/core/downloader/webclient.py:12 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/core/downloader/webclient.py:12: DeprecationWarning: twisted.web.http.HTTPClient was deprecated in Twisted 24.7.0: Use twisted.web.client.Agent instead. from twisted.web.http import HTTPClient tests/test_command_parse.py: 19 warnings /usr/lib/python3/dist-packages/twisted/web/resource.py:190: DeprecationWarning: twisted.web.resource._UnsafeNoResource.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.notFound instead, which properly escapes HTML. instead return _UnsafeNoResource() tests/test_command_shell.py::TestShellCommand::test_request_replace /usr/lib/python3/dist-packages/twisted/web/server.py:338: DeprecationWarning: twisted.web.resource._UnsafeErrorPage.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.errorPage instead, which properly escapes HTML. instead epage = resource._UnsafeErrorPage( tests/test_contracts.py::TestContractsManager::test_returns_async /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/contracts/__init__.py:187: RuntimeWarning: coroutine 'DemoSpider.returns_request_async' was never awaited results.addError(case, sys.exc_info()) tests/test_core_downloader.py: 5 warnings tests/test_crawl.py: 2 warnings tests/test_downloader_handlers.py: 70 warnings tests/test_webclient.py: 4 warnings /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/core/downloader/contextfactory.py:122: DeprecationWarning: Passing method to twisted.internet.ssl.CertificateOptions was deprecated in Twisted 17.1.0. Please use a combination of insecurelyLowerMinimumTo, raiseMinimumTo, and lowerMaximumSecurityTo instead, as Twisted will correctly configure the method. return CertificateOptions( tests/test_downloader_handlers.py::TestHttp10::test_response_header_content_length tests/test_downloader_handlers.py::TestHttps10::test_response_header_content_length tests/test_downloader_handlers.py::TestHttp11::test_response_header_content_length tests/test_downloader_handlers.py::TestHttps11::test_response_header_content_length /usr/lib/python3/dist-packages/twisted/web/server.py:343: DeprecationWarning: twisted.web.resource._UnsafeErrorPage.__init__ was deprecated in Twisted 22.10.0; please use Use twisted.web.pages.errorPage instead, which properly escapes HTML. instead epage = resource._UnsafeErrorPage( tests/test_downloader_handlers.py: 52 warnings /usr/lib/python3/dist-packages/twisted/internet/_sslverify.py:2019: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception context.set_alpn_select_callback(protoSelectCallback) tests/test_downloader_handlers.py: 52 warnings /usr/lib/python3/dist-packages/twisted/internet/_sslverify.py:2020: DeprecationWarning: Attempting to mutate a Context after a Connection was created. In the future, this will raise an exception context.set_alpn_protos(acceptableProtocols) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html = 3221 passed, 163 skipped, 4 deselected, 19 xfailed, 212 warnings in 310.45s (0:05:10) = dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" returned exit code 13 make: *** [debian/rules:16: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

