Your message dated Thu, 01 Oct 2026 20:42:45 +0000
with message-id <[email protected]>
and subject line Bug#1149528: fixed in python-scrapy 2.19.0-1
has caused the Debian Bug report #1149528,
regarding python-scrapy: Flaky test_closespider_pagecount_no_item
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1149528: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1149528
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-scrapy
Version: 2.18.0-2
User: [email protected]
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 version we found that python-scrapy fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4855316/

From the log, the error seems to be:

=================================== FAILURES =================================== ______________________ test_closespider_pagecount_no_item ______________________

mockserver = <tests.mockserver.http.MockServer object at 0x7fb1c3c0d940>

    @inline_callbacks_test
    def test_closespider_pagecount_no_item(mockserver: MockServer):
        close_on = 5
        max_items = 5
        max_requests = close_on + max_items
        crawler = get_crawler(
            MaxItemsAndRequestsSpider,
            {
                "CLOSESPIDER_PAGECOUNT_NO_ITEM": close_on,
            },
        )
        yield crawler.crawl(
max_items=max_items, max_requests=max_requests, mockserver=mockserver
        )
        assert isinstance(crawler.spider, MaxItemsAndRequestsSpider)
        reason = crawler.spider.meta["close_reason"]
      assert reason == "closespider_pagecount_no_item"
E AssertionError: assert 'finished' == 'closespider_...count_no_item'
E
E         - closespider_pagecount_no_item
E         + finished

tests/test_closespider.py:53: AssertionError

Please note that while we ran into this error during the rebuild against Python 3.15, that doesn't mean that the root cause for the failure is necessarily the new Python version, but in this case it seems quite likely, as the same test succeeds on Python 3.14 and fails on Python 3.15.

In order to build against the test archive, which includes not only python3.15 but also all the relevant build-dependencies rebuilt against it, you can add the test repository:

deb http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 main

The corresponding signing key can be seen in the first section of https://deb.debusine.debian.net/debian/r-python-python3.15/

To build from a git repository, you can use something like:
gbp buildpackage --no-clean-source --git-builder='sbuild --no-run-lintian --extra-repository="deb http://deb.debusine.debian.net/debian/r-python-python3.15 sid-python3.15 main" --extra-repository-key="/path/to/signing-keys.asc"'

Setting the severity to important for now. Once Python 3.15 is released and later added to python3-defaults, this bug will become release critical.

--
Regards,
Marga

--- End Message ---
--- Begin Message ---
Source: python-scrapy
Source-Version: 2.19.0-1
Done: Andrey Rakhmatullin <[email protected]>

We believe that the bug you reported is fixed in the latest version of
python-scrapy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrey Rakhmatullin <[email protected]> (supplier of updated python-scrapy 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 02 Oct 2026 00:33:08 +0500
Source: python-scrapy
Architecture: source
Version: 2.19.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Andrey Rakhmatullin <[email protected]>
Closes: 1149528
Changes:
 python-scrapy (2.19.0-1) unstable; urgency=medium
 .
   * New upstream version.
     + Fixes flaky test_closespider_pagecount_no_item (Closes: 1149528).
   * Add B-D: python3-aiohttp, python3-charset-normalizer, python3-platformdirs.
Checksums-Sha1:
 5b532e00a1bf1b8f31c6728958f484f978a2d807 3904 python-scrapy_2.19.0-1.dsc
 4873bf5db95f3df3849e6db224b72233a8dfecc0 1510966 
python-scrapy_2.19.0.orig.tar.gz
 5985c6f1c8d40b6d5268721fbee1ce05bed77151 11400 
python-scrapy_2.19.0-1.debian.tar.xz
 1eb522920dc5fc09582ad591b5b04417b2c2fee0 13364 
python-scrapy_2.19.0-1_amd64.buildinfo
Checksums-Sha256:
 58c73e2b70f0a709b32857c469ea8d042851935b5b571f6b6a211819a2310a0a 3904 
python-scrapy_2.19.0-1.dsc
 5a03cdea05cfbf17dd26b80c7a9eca7339d6c00492f196b3b08e93a5a226937c 1510966 
python-scrapy_2.19.0.orig.tar.gz
 690d8233dbbdf6c8b04da8f91d99d7cbd56dc674169ea3232b498913cb36541a 11400 
python-scrapy_2.19.0-1.debian.tar.xz
 50a82f121eed9be2232b154146a14689cda4ed636f31c643518488832b966026 13364 
python-scrapy_2.19.0-1_amd64.buildinfo
Files:
 ab8a3007f87c1510d5907ea8a3026bec 3904 python optional 
python-scrapy_2.19.0-1.dsc
 93b3692b5eabc320187f7642e3812811 1510966 python optional 
python-scrapy_2.19.0.orig.tar.gz
 02635d61af5f3059d0e0ff0512575ab1 11400 python optional 
python-scrapy_2.19.0-1.debian.tar.xz
 e50bc1e6740191ebfb45086790a7860c 13364 python optional 
python-scrapy_2.19.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmq+uIMACgkQM2L3AxpJ
kuERKQ//ftXXNn6hFxd2LRlk5E33H1Evxurju1C29c7Y4gk7rTqOzXYvESOU1mMG
eWk4Wno17ahvrMz0svV3kAJ44dF+6yI8dKxdew8DA95cZgJXr/ICRcilk6HGaQfi
+3/2VvbCOhDJlEpQ5Ndpn6UZ5BZD9Z/pfKV0e9w6UkHMveeIX91RO3plTVvAEhvM
e+9Sa5p5fQ3dtKs7aQIHCoIq0jkHDRIhN0YmR4yhqWnT7g2VSnR6wjVT1yTerY+r
MXW8sPPnuqdeEgnR7MCOuGuLrL+N+iC9SVU2GhQloNwRuIIqTbH9Vh+hd6WkCZR0
SuxvAfcU/3B4tbNiVgnZR6vVwPx4i4+gEBeCdDZHA69FdO56GSn2wY/zrgm9Yk7n
N62oab2HtZOwD8nOYh9BK91FBGyd0Hs/9pVOlopHm+s94YiT/alXvk5yjcBoITmW
F9BviA0Aw37A1Ywi97gETHhIi/eQtBFSzIyWMQKBPSLrnpaDB3kONdwYloRVFA/r
HyzFGH4lqWp94lxLIGSUfH/BqbgRF4OxUOrErAiEyo8qB5Fc6PDHcND6z/9x11fH
U+PJjZi3xKFw+3BqsMou1M/ZkecO1/LaGQDMHQGJCRBdBAVLN6U7vJEBkb8AYjvw
5+Xtb9hJObUvO9rHuFcCn8AEUR2G1kN/ikBm84zscqTcWiC0jn8=
=UIHh
-----END PGP SIGNATURE-----

Attachment: pgpQzoPqQeDJS.pgp
Description: PGP signature


--- End Message ---

Reply via email to