Package: python-fakeredis Version: 1.4.3-1 Severity: normal Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu groovy ubuntu-patch
The package python-fakeredis is failing it's autopkgtests in Ubuntu as can be seen here: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-groovy/groovy/amd64/p/python-fakeredis/20200907_120238_a7fd0@/log.gz The failure is: ==================================== ERRORS ==================================== _________________ ERROR at setup of test_time[FakeStrictRedis] _________________ file /tmp/autopkgtest.czefjb/build.rUT/src/test/test_fakeredis.py, line 3361 @fake_only def test_time(r, mocker): E fixture 'mocker' not found > available fixtures: cache, capfd, capfdbinary, caplog, capsys, > capsysbinary, cov, create_redis, doctest_namespace, fake_server, > is_redis_running, monkeypatch, no_cover, pytestconfig, r, > record_property, record_testsuite_property, > record_xml_attribute, recwarn, tmp_path, tmp_path_factory, > tmpdir, tmpdir_factory > use 'pytest --fixtures [testpath]' for help on them. /tmp/autopkgtest.czefjb/build.rUT/src/test/test_fakeredis.py:3361 This is because while a dependency was added to debian/control for python3-pytest-mock it was not added to debian/tests/control. Attached is a debdiff which fixes the issue. -- Brian Murray @ubuntu.com
diff -Nru python-fakeredis-1.4.3/debian/changelog python-fakeredis-1.4.3/debian/changelog --- python-fakeredis-1.4.3/debian/changelog 2020-08-20 00:30:29.000000000 -0700 +++ python-fakeredis-1.4.3/debian/changelog 2020-10-09 12:25:46.000000000 -0700 @@ -1,3 +1,9 @@ +python-fakeredis (1.4.3-2) unstable; urgency=medium + + * debian/tests/control: add python3-pytest-mock. + + -- Brian Murray <br...@ubuntu.com> Fri, 09 Oct 2020 12:25:46 -0700 + python-fakeredis (1.4.3-1) unstable; urgency=medium * New upstream release. diff -Nru python-fakeredis-1.4.3/debian/tests/control python-fakeredis-1.4.3/debian/tests/control --- python-fakeredis-1.4.3/debian/tests/control 2020-06-15 23:34:45.000000000 -0700 +++ python-fakeredis-1.4.3/debian/tests/control 2020-10-09 12:25:44.000000000 -0700 @@ -8,6 +8,7 @@ python3-lupa, python3-pytest (>= 4.6.4), python3-pytest (<< 5.0), python3-pytest-cov (>= 2.7.1), python3-pytest-cov (<< 3.0), + python3-pytest-mock, python3-redis, python3-setuptools, python3-six,