Package: src:python-scrapy
Version: 2.16.0-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/202606/

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:142: Building wheel for python3.14 with "build" 
module
I: pybuild base:385: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_scrapy  
* Building wheel...
Successfully built scrapy-2.16.0-py3-none-any.whl

[... snipped ...]


docs/faq.rst ......                                                      [  0%]
docs/intro/overview.rst .                                                [  0%]
docs/intro/tutorial.rst .......................................          [  1%]
docs/news.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 ..........                                      [  1%]
docs/topics/components.rst ..                                            [  1%]
docs/topics/contracts.rst .....                                          [  1%]
docs/topics/coroutines.rst ......                                        [  2%]
docs/topics/debug.rst .........                                          [  2%]
docs/topics/developer-tools.rst .......                                  [  2%]
docs/topics/download-handlers.rst ...                                    [  2%]
docs/topics/downloader-middleware.rst .......                            [  2%]
docs/topics/dynamic-content.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 .......                                    [  3%]
docs/topics/items.rst ..............................                     [  4%]
docs/topics/jobs.rst .                                                   [  4%]
docs/topics/leaks.rst ...................                                [  4%]
docs/topics/link-extractors.rst ..                                       [  4%]
docs/topics/loaders.rst ............................                     [  5%]
docs/topics/logging.rst ..............                                   [  5%]
docs/topics/media-pipeline.rst ........................                  [  6%]
docs/topics/practices.rst ............                                   [  6%]
docs/topics/request-response.rst .......................                 [  7%]
docs/topics/selectors.rst .............................................. [  8%]
..............................................................           [  9%]
docs/topics/settings.rst ..............................                  [ 10%]
docs/topics/shell.rst .................                                  [ 10%]
docs/topics/signals.rst ...                                              [ 10%]
docs/topics/spider-middleware.rst ......                                 [ 10%]
docs/topics/spiders.rst .......................                          [ 11%]
docs/topics/stats.rst .........                                          [ 11%]
docs/topics/telnetconsole.rst ......                                     [ 11%]
tests/test_addons.py .........                                           [ 11%]
tests/test_closespider.py .......                                        [ 12%]
tests/test_cmdline/__init__.py .....                                     [ 12%]
tests/test_cmdline_crawl_with_pipeline/__init__.py ..                    [ 12%]
tests/test_command_check.py .............                                [ 12%]
tests/test_command_crawl.py ......                                       [ 12%]
tests/test_command_fetch.py .....                                        [ 12%]
tests/test_command_genspider.py ..............................           [ 13%]
tests/test_command_parse.py ......................                       [ 13%]
tests/test_command_runspider.py .........................sssssssssssssss [ 14%]
ssssssssss                                                               [ 15%]
tests/test_command_shell.py ....................                         [ 15%]
tests/test_command_startproject.py ........                              [ 15%]
tests/test_command_version.py ..                                         [ 15%]
tests/test_commands.py ....................................              [ 16%]
tests/test_contracts.py ..............                                   [ 16%]
tests/test_core_downloader.py ..s..........                              [ 17%]
tests/test_core_scraper.py .                                             [ 17%]
tests/test_crawl.py .....................................s....x.x....... [ 18%]
..........                                                               [ 18%]
tests/test_crawler.py ............................................s....  [ 19%]
tests/test_crawler_subprocess.py .....s..........................s...... [ 20%]
.....................................                                    [ 21%]
tests/test_dependencies.py s                                             [ 21%]
tests/test_downloader_handler_httpx.py ................................. [ 22%]
........................................................................ [ 23%]
........................................................................ [ 25%]
.......s..s.......s.....................ssssssss                         [ 26%]
tests/test_downloader_handler_twisted_ftp.py ..............              [ 26%]
tests/test_downloader_handler_twisted_http11.py ........................ [ 27%]
........................................................................ [ 28%]
........................................................................ [ 30%]
................s..........s...................s.ssssssss                [ 31%]
tests/test_downloader_handler_twisted_http2.py ......................... [ 32%]
......................................................ssssss....s....ss. [ 34%]
x...........ssssssssssssssss                                             [ 34%]
tests/test_downloader_handlers.py ..............s.......                 [ 35%]
tests/test_downloadermiddleware.py .............                         [ 35%]
tests/test_downloadermiddleware_cookies.py ............xx.x............. [ 36%]
...........                                                              [ 36%]
tests/test_downloadermiddleware_defaultheaders.py ..                     [ 36%]
tests/test_downloadermiddleware_downloadtimeout.py ....                  [ 36%]
tests/test_downloadermiddleware_httpauth.py .......                      [ 36%]
tests/test_downloadermiddleware_httpcache.py ........................... [ 37%]
..............................                                           [ 37%]
tests/test_downloadermiddleware_httpcompression.py .....s..s............ [ 38%]
......s...s...s...s...s...s...s...                                       [ 39%]
tests/test_downloadermiddleware_httpproxy.py ........................... [ 39%]
                                                                         [ 39%]
tests/test_downloadermiddleware_offsite.py ............................. [ 40%]
.................                                                        [ 40%]
tests/test_downloadermiddleware_redirect.py ............................ [ 41%]
.................................................                        [ 42%]
tests/test_downloadermiddleware_redirect_metarefresh.py ................ [ 42%]
........................................................................ [ 44%]
.......                                                                  [ 44%]
tests/test_downloadermiddleware_retry.py ............................... [ 45%]
.                                                                        [ 45%]
tests/test_downloadermiddleware_robotstxt.py .............sssssssssssss  [ 45%]
tests/test_downloadermiddleware_stats.py ...                             [ 46%]
tests/test_downloadermiddleware_useragent.py ...                         [ 46%]
tests/test_downloaderslotssettings.py .....                              [ 46%]
tests/test_dupefilters.py ..........                                     [ 46%]
tests/test_engine.py .............................                       [ 47%]
tests/test_engine_loop.py ......                                         [ 47%]
tests/test_engine_stop_download_bytes.py .                               [ 47%]
tests/test_engine_stop_download_headers.py .                             [ 47%]
tests/test_exporters.py ................................................ [ 48%]
........................................................................ [ 49%]
................................                                         [ 50%]
tests/test_extension_periodic_log.py ...                                 [ 50%]
tests/test_extension_statsmailer.py ....                                 [ 50%]
tests/test_extension_telnet.py ...                                       [ 50%]
tests/test_extension_throttle.py ....................................... [ 51%]
....                                                                     [ 51%]
tests/test_feedexport.py ........................................        [ 52%]
tests/test_feedexport_batch.py .........                                 [ 52%]
tests/test_feedexport_postprocess.py ...............                     [ 53%]
tests/test_feedexport_storages.py ................................sss... [ 54%]
..                                                                       [ 54%]
tests/test_feedexport_uri_params.py ..........                           [ 54%]
tests/test_http2_client_protocol.py ..........................           [ 54%]
tests/test_http_cookies.py ............                                  [ 55%]
tests/test_http_headers.py ..................                            [ 55%]
tests/test_http_request.py ............................................. [ 56%]
.........                                                                [ 56%]
tests/test_http_request_form.py ........................................ [ 57%]
........................................................................ [ 59%]
.......                                                                  [ 59%]
tests/test_http_request_json.py ........................................ [ 60%]
........................                                                 [ 60%]
tests/test_http_response.py ............................                 [ 61%]
tests/test_http_response_text.py ....................................... [ 62%]
........................................................................ [ 64%]
........................................................................ [ 65%]
.............................................................            [ 67%]
tests/test_item.py ...................                                   [ 67%]
tests/test_link.py ...                                                   [ 67%]
tests/test_linkextractors.py ....................................        [ 68%]
tests/test_loader.py ................................................... [ 69%]
....................                                                     [ 69%]
tests/test_logformatter.py ........................                      [ 70%]
tests/test_logstats.py ...                                               [ 70%]
tests/test_mail.py .......                                               [ 70%]
tests/test_middleware.py .....                                           [ 70%]
tests/test_pipeline_crawl.py ..........                                  [ 71%]
tests/test_pipeline_files.py .................................ss.....    [ 71%]
tests/test_pipeline_images.py ............................               [ 72%]
tests/test_pipeline_media.py ........................................    [ 73%]
tests/test_pipelines.py ...s................                             [ 73%]
tests/test_poet.py .                                                     [ 73%]
tests/test_pqueues.py .s...s.........                                    [ 74%]
tests/test_request_attribute_binding.py .......                          [ 74%]
tests/test_request_cb_kwargs.py .                                        [ 74%]
tests/test_request_dict.py ...............                               [ 74%]
tests/test_request_left.py ....                                          [ 74%]
tests/test_responsetypes.py .......                                      [ 75%]
tests/test_robotstxt_interface.py ........sFssssssss......s              [ 75%]
tests/test_scheduler.py .................                                [ 76%]
tests/test_scheduler_base.py ..........                                  [ 76%]
tests/test_scrapy__getattr__.py .                                        [ 76%]
tests/test_selector.py ..........s                                       [ 76%]
tests/test_settings/__init__.py ..................xx.................... [ 77%]
.......................................................................  [ 79%]
tests/test_signals.py ..                                                 [ 79%]
tests/test_spider.py .................................                   [ 79%]
tests/test_spider_crawl.py ..................................            [ 80%]
tests/test_spider_sitemap.py ........................................... [ 81%]
.                                                                        [ 81%]
tests/test_spider_start.py .....                                         [ 81%]
tests/test_spiderloader/__init__.py .................                    [ 82%]
tests/test_spidermiddleware.py .....................................     [ 82%]
tests/test_spidermiddleware_base.py ....                                 [ 82%]
tests/test_spidermiddleware_depth.py .                                   [ 82%]
tests/test_spidermiddleware_httperror.py ............                    [ 83%]
tests/test_spidermiddleware_output_chain.py ..........                   [ 83%]
tests/test_spidermiddleware_process_start.py .....                       [ 83%]
tests/test_spidermiddleware_referer.py ................................. [ 84%]
........                                                                 [ 84%]
tests/test_spidermiddleware_start.py .                                   [ 84%]
tests/test_spidermiddleware_urllength.py ..                              [ 84%]
tests/test_spiderstate.py ...                                            [ 84%]
tests/test_squeues.py ......x...............x...............x........... [ 85%]
....x...............x...............x...................x............... [ 87%]
....x...................x...................x...................x....... [ 89%]
.......x...........                                                      [ 89%]
tests/test_squeues_request.py .s.s.s.s.s.s.s.s.s.s.s.s                   [ 89%]
tests/test_stats.py .......                                              [ 90%]
tests/test_toplevel.py ......                                            [ 90%]
tests/test_utils_asyncgen.py ..                                          [ 90%]
tests/test_utils_asyncio.py ........                                     [ 90%]
tests/test_utils_conf.py .............                                   [ 90%]
tests/test_utils_console.py .ss                                          [ 90%]
tests/test_utils_curl.py ..............                                  [ 91%]
tests/test_utils_datatypes.py .......................................... [ 92%]
                                                                         [ 92%]
tests/test_utils_defer.py .......x................s                      [ 92%]
tests/test_utils_deprecate.py .................                          [ 93%]
tests/test_utils_display.py ........                                     [ 93%]
tests/test_utils_gz.py ......                                            [ 93%]
tests/test_utils_httpobj.py .                                            [ 93%]
tests/test_utils_iterators.py ....................................       [ 94%]
tests/test_utils_log.py ........................                         [ 94%]
tests/test_utils_misc/__init__.py .........                              [ 94%]
tests/test_utils_misc/test_return_with_argument_inside_generator.py .... [ 95%]
..                                                                       [ 95%]
tests/test_utils_project.py .....                                        [ 95%]
tests/test_utils_python.py .....................                         [ 95%]
tests/test_utils_reactor.py ..                                           [ 95%]
tests/test_utils_request.py .........................                    [ 96%]
tests/test_utils_response.py ..................                          [ 96%]
tests/test_utils_serialize.py ......                                     [ 96%]
tests/test_utils_signal.py ..........                                    [ 97%]
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_zz_resources.py ....                                          [100%]

=================================== FAILURES ===================================
______________ TestPythonRobotParser.test_order_based_precedence _______________

self = <tests.test_robotstxt_interface.TestPythonRobotParser object at 
0x7f1198e6a490>

    @pytest.mark.skipif(
        IMPROVED_ROBOTFILEPARSER,
        reason="RobotFileParser from this Python version does not support order 
based directives precedence.",
    )
    def test_order_based_precedence(self):
>       super().test_order_based_precedence()

tests/test_robotstxt_interface.py:160: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <tests.test_robotstxt_interface.TestPythonRobotParser object at 
0x7f1198e6a490>

    def test_order_based_precedence(self):
        robotstxt_robotstxt_body = b"User-agent: * \nDisallow: / \nAllow: /page"
        rp = self.parser_cls.from_crawler(
            crawler=None, robotstxt_body=robotstxt_robotstxt_body
        )
>       assert not rp.allowed("https://www.site.local/page";, "*")
E       AssertionError: assert not True
E        +  where True = allowed('https://www.site.local/page', '*')
E        +    where allowed = <scrapy.robotstxt.PythonRobotParser object at 
0x7f117c4d7230>.allowed

tests/test_robotstxt_interface.py:71: AssertionError
=============================== warnings summary ===============================
scrapy/extensions/statsmailer.py:14
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/extensions/statsmailer.py:14:
 ScrapyDeprecationWarning: The scrapy.mail module is deprecated and will be 
removed in a future release. Please use a dedicated Python mail library instead.
    from scrapy.mail import MailSender

tests/test_extension_statsmailer.py:16
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/tests/test_extension_statsmailer.py:16:
 ScrapyDeprecationWarning: The scrapy.extensions.statsmailer module is 
deprecated and will be removed in a future release.
    from scrapy.extensions import statsmailer  # noqa: E402

../../../../../../usr/lib/python3/dist-packages/pyftpdlib/handlers/ftp/control.py:5
  /usr/lib/python3/dist-packages/pyftpdlib/handlers/ftp/control.py:5: 
DeprecationWarning: asynchat was removed in Python 3.12. The recommended 
replacement is asyncio. Please be aware that you are currently NOT using 
standard 'asynchat', but instead a separately installed 'standard-asynchat'.
    import asynchat

tests/test_contracts.py::TestContractsManager::test_returns_async
  
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build/scrapy/contracts/__init__.py:189:
 RuntimeWarning: coroutine 'DemoSpider.returns_request_async' was never awaited
    results.addError(case, sys.exc_info())
  Enable tracemalloc to get traceback where the object was allocated.
  See 
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
 for more info.

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED 
tests/test_robotstxt_interface.py::TestPythonRobotParser::test_order_based_precedence
= 1 failed, 4294 passed, 136 skipped, 19 deselected, 21 xfailed, 4 warnings in 
306.59s (0:05:06) =
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_scrapy/build; python3.13 -m pytest -m 
'not requires_internet' -k 'not test_utf16'
dh_auto_test: error: pybuild --test -i python{version} -p "3.14 3.13" 
--parallel=2 returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

Reply via email to