Source: python-docx Version: 1.2.0+dfsg-3 Severity: serious User: [email protected] Usertags: pytest9.1
Dear maintainer, According to https://ci.debian.net data, your package python-docx has an autopkgtest regression with pytest. The following architectures failed: amd64, arm64, i386, loong64, ppc64el, riscv64, s390x. Hopefully relevant excerpt from https://ci.debian.net/packages/p/python-docx/testing/amd64/72542157/ follows: 101s ==================================== ERRORS ==================================== 101s _ ERROR at setup of DescribeDirPkgReader.it_doesnt_mind_being_closed_even_though_it_doesnt_need_it _ 101s E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. 101s E Instance attributes set in this fixture will NOT be visible to test methods, 101s E as each test gets a new instance while the fixture runs only once per class. 101s E Use @classmethod decorator and set attributes on cls instead. 101s E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method 101s _ ERROR at setup of DescribeDirPkgReader.it_can_retrieve_the_blob_for_a_pack_uri _ 101s E AssertionError 101s ___ ERROR at setup of DescribeDirPkgReader.it_can_get_the_content_types_xml ____ 101s E AssertionError 101s _ ERROR at setup of DescribeDirPkgReader.it_can_retrieve_the_rels_xml_for_a_source_uri _ 101s E AssertionError 101s _ ERROR at setup of DescribeDirPkgReader.it_returns_none_when_part_has_no_rels_xml _ 101s E AssertionError 101s _ ERROR at setup of DescribeZipPkgReader.it_can_retrieve_the_blob_for_a_pack_uri _ 101s E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. 101s E Instance attributes set in this fixture will NOT be visible to test methods, 101s E as each test gets a new instance while the fixture runs only once per class. 101s E Use @classmethod decorator and set attributes on cls instead. 101s E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method 101s _____ ERROR at setup of DescribeZipPkgReader.it_has_the_content_types_xml ______ 101s E AssertionError 101s _ ERROR at setup of DescribeZipPkgReader.it_can_retrieve_rels_xml_for_source_uri _ 101s E AssertionError 101s _ ERROR at setup of DescribeZipPkgReader.it_returns_none_when_part_has_no_rels_xml _ 101s E AssertionError 101s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_doesnt_mind_being_closed_even_though_it_doesnt_need_it 101s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_retrieve_the_blob_for_a_pack_uri 101s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_get_the_content_types_xml 101s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_retrieve_the_rels_xml_for_a_source_uri 101s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_returns_none_when_part_has_no_rels_xml 101s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_can_retrieve_the_blob_for_a_pack_uri 101s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_has_the_content_types_xml 101s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_can_retrieve_rels_xml_for_source_uri 101s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_returns_none_when_part_has_no_rels_xml 101s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.e3zl9hid/downtmp/autopkgtest_tmp/build; python3.14 -m pytest tests 109s ==================================== ERRORS ==================================== 109s _ ERROR at setup of DescribeDirPkgReader.it_doesnt_mind_being_closed_even_though_it_doesnt_need_it _ 109s E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. 109s E Instance attributes set in this fixture will NOT be visible to test methods, 109s E as each test gets a new instance while the fixture runs only once per class. 109s E Use @classmethod decorator and set attributes on cls instead. 109s E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method 109s _ ERROR at setup of DescribeDirPkgReader.it_can_retrieve_the_blob_for_a_pack_uri _ 109s E AssertionError 109s ___ ERROR at setup of DescribeDirPkgReader.it_can_get_the_content_types_xml ____ 109s E AssertionError 109s _ ERROR at setup of DescribeDirPkgReader.it_can_retrieve_the_rels_xml_for_a_source_uri _ 109s E AssertionError 109s _ ERROR at setup of DescribeDirPkgReader.it_returns_none_when_part_has_no_rels_xml _ 109s E AssertionError 109s _ ERROR at setup of DescribeZipPkgReader.it_can_retrieve_the_blob_for_a_pack_uri _ 109s E pytest.PytestRemovedIn10Warning: Class-scoped fixture defined as instance method is deprecated. 109s E Instance attributes set in this fixture will NOT be visible to test methods, 109s E as each test gets a new instance while the fixture runs only once per class. 109s E Use @classmethod decorator and set attributes on cls instead. 109s E See https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method 109s _____ ERROR at setup of DescribeZipPkgReader.it_has_the_content_types_xml ______ 109s E AssertionError 109s _ ERROR at setup of DescribeZipPkgReader.it_can_retrieve_rels_xml_for_source_uri _ 109s E AssertionError 109s _ ERROR at setup of DescribeZipPkgReader.it_returns_none_when_part_has_no_rels_xml _ 109s E AssertionError 109s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_doesnt_mind_being_closed_even_though_it_doesnt_need_it 109s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_retrieve_the_blob_for_a_pack_uri 109s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_get_the_content_types_xml 109s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_can_retrieve_the_rels_xml_for_a_source_uri 109s ERROR tests/opc/test_phys_pkg.py::DescribeDirPkgReader::it_returns_none_when_part_has_no_rels_xml 109s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_can_retrieve_the_blob_for_a_pack_uri 109s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_has_the_content_types_xml 109s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_can_retrieve_rels_xml_for_source_uri 109s ERROR tests/opc/test_phys_pkg.py::DescribeZipPkgReader::it_returns_none_when_part_has_no_rels_xml 109s E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /tmp/autopkgtest-lxc.e3zl9hid/downtmp/autopkgtest_tmp/build; python3.13 -m pytest tests 109s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.14 3.13" --parallel= returned exit code 13 109s pybuild-autopkgtest: error: /tmp/Lj2rqsbL8X/run pybuild-autopkgtest returned exit code 2 109s pybuild-autopkgtest FAIL non-zero exit status 25 110s pybuild-autopkgtest FAIL non-zero exit status 25

