Package: src:check-manifest
Version: 0.51-2
Severity: serious
Tags: sid forky
User: [email protected]
Usertags: pkg-resources-deprecation

check-manifest fails autopkg tests with setuptools v84:

[...]

97s __________ TestConfiguration.test_read_setup_config_override_ignores ___________
 97s
97s self = <tests.TestConfiguration testMethod=test_read_setup_config_override_ignores>
 97s
 97s     def test_read_setup_config_override_ignores(self):
 97s         import check_manifest
 97s         with open('setup.cfg', 'w') as f:
 97s             f.write('[check-manifest]\nignore = foo\n\n  bar\n')
 97s             f.write('ignore-default-rules = yes\n')
 97s         ignore, ignore_bad_ideas = check_manifest.read_config()
97s expected = check_manifest.IgnoreList().global_exclude('foo', 'bar')
 97s >       self.assertEqual(ignore, expected)
97s E AssertionError: Ignor[70 chars]b81687110>, <setuptools.command.egg_info._Norm[36 chars]a0>]) != Ignor[70 chars]b81685c70>, <setuptools.command.egg_info._Norm[36 chars]40>])
 97s
 97s tests.py:718: AssertionError
97s _______________________ TestMain.test_extra_ignore_args ________________________
 97s
 97s self = <tests.TestMain testMethod=test_extra_ignore_args>
 97s
 97s     def test_extra_ignore_args(self):
 97s         import check_manifest
 97s         sys.argv.append('--ignore=x,y,z*')
 97s         check_manifest.main()
97s ignore = check_manifest.IgnoreList().global_exclude('x', 'y', 'z*') 97s > self.assertEqual(self._check_manifest.call_args.kwargs['extra_ignore'],
 97s                          ignore)
97s E AssertionError: Ignor[70 chars]b816868f0>, <setuptools.command.egg_info._Norm[111 chars]e0>]) != Ignor[70 chars]b81687390>, <setuptools.command.egg_info._Norm[111 chars]d0>])
 97s
 97s tests.py:810: AssertionError
97s _____________________ TestMain.test_ignore_bad_ideas_args ______________________
 97s
 97s self = <tests.TestMain testMethod=test_ignore_bad_ideas_args>
 97s
 97s     def test_ignore_bad_ideas_args(self):
 97s         import check_manifest
 97s         sys.argv.append('--ignore-bad-ideas=x,y,z*')
 97s         check_manifest.main()
97s ignore = check_manifest.IgnoreList().global_exclude('x', 'y', 'z*') 97s > self.assertEqual(self._check_manifest.call_args.kwargs['extra_ignore_bad_ideas'],
 97s                          ignore)
97s E AssertionError: Ignor[70 chars]b816878e0>, <setuptools.command.egg_info._Norm[111 chars]d0>]) != Ignor[70 chars]b81684140>, <setuptools.command.egg_info._Norm[111 chars]e0>])
 97s
 97s tests.py:818: AssertionError
97s =========================== short test summary info ============================ 97s FAILED tests.py::Tests::test_get_ignore_from_manifest - AssertionError: Ignor... 97s FAILED tests.py::Tests::test_get_ignore_from_manifest_lines - AssertionError:... 97s FAILED tests.py::Tests::test_get_ignore_from_manifest_warnings - AssertionErr... 97s FAILED tests.py::TestConfiguration::test_read_config_no_config - AssertionErr... 97s FAILED tests.py::TestConfiguration::test_read_manifest - AssertionError: Igno... 97s FAILED tests.py::TestConfiguration::test_read_pyproject_config_extra_ignores 97s FAILED tests.py::TestConfiguration::test_read_pyproject_config_ignore_bad_ideas 97s FAILED tests.py::TestConfiguration::test_read_pyproject_config_no_option - As... 97s FAILED tests.py::TestConfiguration::test_read_pyproject_config_no_section - A... 97s FAILED tests.py::TestConfiguration::test_read_pyproject_config_override_ignores 97s FAILED tests.py::TestConfiguration::test_read_setup_config_extra_ignores - As... 97s FAILED tests.py::TestConfiguration::test_read_setup_config_ignore_bad_ideas 97s FAILED tests.py::TestConfiguration::test_read_setup_config_no_option - Assert... 97s FAILED tests.py::TestConfiguration::test_read_setup_config_no_section - Asser... 97s FAILED tests.py::TestConfiguration::test_read_setup_config_override_ignores 97s FAILED tests.py::TestMain::test_extra_ignore_args - AssertionError: Ignor[70 ... 97s FAILED tests.py::TestMain::test_ignore_bad_ideas_args - AssertionError: Ignor... 97s ========== 17 failed, 118 passed, 11 skipped, 2 deselected in 17.50s ===========
 97s autopkgtest [02:51:13]: test run-tests: -----------------------]

Reply via email to