Your message dated Sun, 03 Jan 2021 02:21:24 +0000
with message-id <[email protected]>
and subject line Bug#977055: fixed in apipkg 1.5-7
has caused the Debian Bug report #977055,
regarding apipkg FTBFS with pytest 6
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
977055: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977055
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: apipkg
Version: 1.5-5
Severity: important
User: [email protected]
Usertags: pytest-v6
Hi,
apipkg FTBFS with pytest 6 in unstable because it uses the
pytest.config global option, which as been removed:
https://docs.pytest.org/en/stable/deprecations.html#pytest-config-global
The top of the error log below has more details.
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apipkg/build/apipkg
> copying src/apipkg/version.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apipkg/build/apipkg
> copying src/apipkg/__init__.py ->
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_apipkg/build/apipkg
> debian/rules override_dh_auto_test
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="{interpreter} -m pytest -v -x"
> dh_auto_test
> I: pybuild base:232: python3.9 -m pytest -v -x
> ============================= test session starts
> ==============================
> platform linux -- Python 3.9.1, pytest-6.0.2, py-1.9.0, pluggy-0.13.0 --
> /usr/bin/python3.9
> cachedir: .pytest_cache
> apipkg full install version=1.5
> rootdir: /<<PKGBUILDDIR>>
> collecting ... collected 37 items
>
> test_apipkg.py::TestRealModule::test_realmodule ERROR [
> 2%]
>
> ==================================== ERRORS
> ====================================
> _______________ ERROR at setup of TestRealModule.test_realmodule
> _______________
>
> cls = <class 'test_apipkg.TestRealModule'>
>
> def setup_class(cls):
>> cls.tmpdir =
>> py.test.config._tmpdirhandler.getbasetemp().ensure('test_apipkg', dir=1)
>
> test_apipkg.py:16:
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> _
>
> self = <AliasModule 'py.test' for 'pytest'>, name = 'config'
>
> def __getattribute__(self, name):
> try:
>> return getattr(getmod(), name)
> E AttributeError: module 'pytest' has no attribute 'config'
>
> /usr/lib/python3/dist-packages/py/_vendored_packages/apipkg.py:195:
> AttributeError
> =========================== short test summary info
> ============================
> ERROR test_apipkg.py::TestRealModule::test_realmodule - AttributeError:
> modul...
> !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures
> !!!!!!!!!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.06s
> ===============================
> E: pybuild pybuild:353: test: plugin custom failed with: exit code=1:
> python3.9 -m pytest -v -x
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9
> returned exit code 13
> make[1]: *** [debian/rules:8: override_dh_auto_test] Error 25
> make: *** [debian/rules:5: binary] Error 2
> dpkg-buildpackage: error: debian/rules binary subprocess returned exit status
> 2
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
--- End Message ---
--- Begin Message ---
Source: apipkg
Source-Version: 1.5-7
Done: Scott Talbert <[email protected]>
We believe that the bug you reported is fixed in the latest version of
apipkg, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Scott Talbert <[email protected]> (supplier of updated apipkg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 02 Jan 2021 20:39:18 -0500
Source: apipkg
Architecture: source
Version: 1.5-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Scott Talbert <[email protected]>
Closes: 977055
Changes:
apipkg (1.5-7) unstable; urgency=medium
.
* Fix FTBFS with pytest 6 (Closes: #977055)
* Use extend-diff-ignore instead of clean for version.py file
* Update d/watch to version 4
Checksums-Sha1:
58adde05c36e5b15b821ee59cffe1588f51816ec 2110 apipkg_1.5-7.dsc
214490a6a3352baeab9e319a32c3a102dbdf17e2 7404 apipkg_1.5-7.debian.tar.xz
59a2ce73be39bde122b2b61ef9d370bb230378e0 6902 apipkg_1.5-7_amd64.buildinfo
Checksums-Sha256:
77523310237dff80d24d150777647c83f16404c06da667c71c9da30e019f2457 2110
apipkg_1.5-7.dsc
94ebc0fde59a42befd95582a589a83e7eefac07be42ffd14fa004b192db09467 7404
apipkg_1.5-7.debian.tar.xz
4c73b88b9b8f4ea52eff874250ee970900c064cfb343a41e0b5c171597f938f5 6902
apipkg_1.5-7_amd64.buildinfo
Files:
acf61b3cc6ed17a0fccdaa568d815e14 2110 python optional apipkg_1.5-7.dsc
e4ab48c51555806dd9ad2733c5115e8c 7404 python optional
apipkg_1.5-7.debian.tar.xz
9fbd6e18821d42caff5fa81b3869f18d 6902 python optional
apipkg_1.5-7_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAl/xIOMPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iiVKUP/1Kwe/Rz2JHeXdB8yphafoYp7Mc7cbOA6kpx
f2Ngx0ISGvMobxYv1wGzbOIj4Aj/9U0U1q8b3eBWan6s+Mn8NjlqoE8RuLNyaUkz
FGZJF/9jTd5h4IFh0uOZTnpmLW7N3EZGTePZooUyF41m98xi0UNSZpr3CmoTzJUj
omgI8rGiWvuFRf2bt9LFrKoONkP92lSt7vStI/oGmhcm2HmAY8fgZzV6/T8P0m0X
S8Y8H39j1KksXHNfs0ApHllB+pN4ZZ9NKvnsWARFeqrORPzfjf0l24I0vnGahDy1
hJSfKEpPvheCnfgchLL8dCnwVMtIWEDrQy/fU0mYl0mBIo99ZmiBgurQWesbwO8T
28bcib65FyF2X/7izoWSoVxc5XpShYx2EDhGGJOen+ltrJUkmKqxU9lCskFgdkOw
Mr+9Ps3RfEt0Ewm77DPyeJs4mK32MI5XdHEo4OTVIZjOOjcCiGqEDY4GgladVnvy
03knHKxZE2hJYtqL6+zI+Qup1EbnD284KO1x4kuRboHQghbF2vrYoxuDEOrKu+ib
1uummymOl+poHwppOWTOYC1VRljAwdBCyC1N5dBuSoBxDCVtFcVWM0FYHAkj69nN
aA1PMHv3AgyXaRlCfwQ1iUpjiucxZGhwdIWzS4DLKwRsVOD6NzSC3Dz1FtlBK+aO
6TwarwlB
=EfaL
-----END PGP SIGNATURE-----
--- End Message ---