Source: python-scrapy Version: 2.5.1-2 Severity: important Tags: bookworm sid User: pkg-openssl-de...@lists.alioth.debian.org Usertags: ftbfs-3.0
Your package is failing to build using OpenSSL 3.0 with the following error: | dh_auto_test -O--buildsystem=pybuild | I: pybuild pybuild:298: cd /<<PKGBUILDDIR>>/tests/keys; cat example-com.key.pem example-com.cert.pem >cert.pem | I: pybuild base:237: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_scrapy/build; python3.10 -m pytest --ignore tests/test_command_check.py -k ' not (test_squeues.py and (test_peek_fifo or test_peek_one_element or test_peek_lifo))' | ============================= test session starts ============================== | platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0 | rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_scrapy/build, configfile: pytest.ini | collected 1904 items / 45 errors / 24 deselected / 1835 selected | | ==================================== ERRORS ==================================== | _____________________ ERROR collecting tests/mockserver.py _____________________ | tests/mockserver.py:20: in <module> | from twisted.web.test.test_webclient import PayloadResource | E ImportError: cannot import name 'PayloadResource' from 'twisted.web.test.test_webclient' (/usr/lib/python3/dist-packages/twisted/web/tes t/test_webclient.py) | __________________ ERROR collecting tests/test_closespider.py __________________ | tests/test_closespider.py:5: in <module> | from tests.mockserver import MockServer | tests/mockserver.py:20: in <module> | from twisted.web.test.test_webclient import PayloadResource | E ImportError: cannot import name 'PayloadResource' from 'twisted.web.test.test_webclient' (/usr/lib/python3/dist-packages/twisted/web/tes t/test_webclient.py) | __________________ ERROR collecting tests/test_closespider.py __________________ | ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_scrapy/build/tests/test_closespider.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | /usr/lib/python3.10/importlib/__init__.py:126: in import_module | return _bootstrap._gcd_import(name[level:], package, level) | tests/test_closespider.py:5: in <module> | from tests.mockserver import MockServer | tests/mockserver.py:20: in <module> | from twisted.web.test.test_webclient import PayloadResource | E ImportError: cannot import name 'PayloadResource' from 'twisted.web.test.test_webclient' (/usr/lib/python3/dist-packages/twisted/web/tes t/test_webclient.py) | _________________ ERROR collecting tests/test_command_parse.py _________________ | tests/test_command_parse.py:7: in <module> | from tests.test_commands import CommandTest | tests/test_commands.py:31: in <module> | from tests.test_crawler import ExceptionSpider, NoRequestsSpider | tests/test_crawler.py:27: in <module> | from tests.mockserver import MockServer | tests/mockserver.py:20: in <module> | from twisted.web.test.test_webclient import PayloadResource | E ImportError: cannot import name 'PayloadResource' from 'twisted.web.test.test_webclient' (/usr/lib/python3/dist-packages/twisted/web/tes t/test_webclient.py) | _________________ ERROR collecting tests/test_command_parse.py _________________ | ImportError while importing test module '/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_scrapy/build/tests/test_command_parse.py'. | Hint: make sure your test modules/packages have valid Python names. | Traceback: | /usr/lib/python3.10/importlib/__init__.py:126: in import_module … I'm not sure if this is comming from a fact that a dependency is not compiled against openssl 3.0 and python-scrapy is okay otherwise. For more information see: https://www.openssl.org/docs/man3.0/man7/migration_guide.html Sebastian