Source: pytest-flask
Version: 0.15.1-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20230925 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYTHONPATH=/<<PKGBUILDDIR>> PYBUILD_SYSTEM=custom
> PYBUILD_TEST_ARGS="{interpreter} -m pytest -x -v tests" dh_auto_test
> I: pybuild base:291: python3.11 -m pytest -x -v tests
> ============================= test session starts
> ==============================
> platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 --
> /usr/bin/python3.11
> cachedir: .pytest_cache
> rootdir: /<<PKGBUILDDIR>>
> configfile: tox.ini
> collecting ... collected 30 items
>
> tests/test_fixtures.py::TestFixtures::test_config_access ERROR [
> 3%]
>
> ==================================== ERRORS
> ====================================
> ______________ ERROR at setup of TestFixtures.test_config_access
> _______________
> file /<<PKGBUILDDIR>>/tests/test_fixtures.py, line 10
> def test_config_access(self, config):
> E fixture 'config' not found
> > available fixtures: LineMatcher, _config_for_test, _pytest,
> > _sys_snapshot, app, appdir, cache, capfd, capfdbinary, caplog, capsys,
> > capsysbinary, doctest_namespace, linecomp, monkeypatch, pytestconfig,
> > pytester, record_property, record_testsuite_property, record_xml_attribute,
> > recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
> > use 'pytest --fixtures [testpath]' for help on them.
>
> /<<PKGBUILDDIR>>/tests/test_fixtures.py:10
> =============================== warnings summary
> ===============================
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: pep8ignore
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> ../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373
> /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1373:
> PytestConfigWarning: Unknown config option: pep8maxlinelength
>
> self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
>
> tests/test_live_server.py:41
> /<<PKGBUILDDIR>>/tests/test_live_server.py:41: PytestUnknownMarkWarning:
> Unknown pytest.mark.options - is this a typo? You can register custom marks
> to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/how-to/mark.html
> @pytest.mark.options(server_name='example.com:5000')
>
> tests/test_markers.py:17
> /<<PKGBUILDDIR>>/tests/test_markers.py:17: PytestUnknownMarkWarning:
> Unknown pytest.mark.options - is this a typo? You can register custom marks
> to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/how-to/mark.html
> @pytest.mark.options(debug=False)
>
> tests/test_markers.py:21
> /<<PKGBUILDDIR>>/tests/test_markers.py:21: PytestUnknownMarkWarning:
> Unknown pytest.mark.options - is this a typo? You can register custom marks
> to avoid this warning - for details, see
> https://docs.pytest.org/en/stable/how-to/mark.html
> @pytest.mark.options(foo=42)
>
> -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
> =========================== short test summary info
> ============================
> ERROR tests/test_fixtures.py::TestFixtures::test_config_access
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> ========================= 5 warnings, 1 error in 0.04s
> =========================
> E: pybuild pybuild:395: test: plugin custom failed with: exit code=1:
> python3.11 -m pytest -x -v tests
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2023/09/25/pytest-flask_0.15.1-4_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.