Source: sphinxcontrib-towncrier Version: 0.4.0a0-4 Tags: ftbfs upstream Justification: fails to build from source Control: block 1136347 by -1
When the ‘towncrier’ library is installed at upstream version “25.8.0” or
later, the ‘sphinxcontrib-towncrier’ test suite fails; the
‘tests/_towncrier_test.py::test_towncrier_config_section_missing’ test case
fails.
=====
____________________ test_towncrier_config_section_missing _____________________
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7fd4bc298fc0>
tmp_path =
PosixPath('/tmp/pytest-of-debci/pytest-0/test_towncrier_config_section_0')
def test_towncrier_config_section_missing(
monkeypatch: pytest.MonkeyPatch,
tmp_path: Path,
) -> None:
"""Test config file without Towncrier section raises an error."""
tmp_working_dir_path = tmp_path / 'working-directory'
tmp_working_dir_path.mkdir()
empty_config_file = Path('arbitrary-config.toml')
(tmp_working_dir_path / empty_config_file).touch()
monkeypatch.chdir(tmp_working_dir_path)
expected_error_msg = r'^No \[tool\.towncrier\] section\.$'
> with pytest.raises(TowncrierConfigError, match=expected_error_msg):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E Failed: DID NOT RAISE <class 'towncrier._settings.load.ConfigError'>
=====
You can see this failure in the “experimental” suite:
<URL:https://ci.debian.net/packages/s/sphinxcontrib-towncrier/unstable/amd64/71705956/>
The migration of ‘src:towncrier/25.8.0-1’ is blocked by this test suite
regression; I am marking this bug as blocking bug#1136347.
This test case failure is because the test case is incompatible with recent
changes in ‘towncrier’.
The upstream ‘sphinxcontrib-towncrier’ project has addressed this bug in
recently released version “0.5.0a0”, available at
<URL:https://pypi.org/project/sphinxcontrib-towncrier/0.5.0a0/>.
--
\ “During my service in the United States Congress, I took the |
`\ initiative in creating the Internet.” —Al Gore |
_o__) |
Ben Finney <[email protected]>
signature.asc
Description: PGP signature

