/usr/lib64/python2.7/site-packages/yaml/__init__.py:109: in load raise RuntimeError("Unsafe load() call disabled by Gentoo. See bug #659348") E RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348 _______________________ HealthcheckTest.test_healthcheck _______________________ tests/unit/config/config_test.py:4995: in test_healthcheck serialized_config = yaml.load(serialize_config(config_dict)) ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-no-multilib-hardened_test_20190531-231953 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.3.1 [3] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) Available Rust versions: [1] rust-1.35.0 * emerge -qpvO app-emulation/docker-compose [ebuild N ] app-emulation/docker-compose-1.24.0 USE="test" PYTHON_TARGETS="python2_7 python3_6"
Created attachment 578926 [details] emerge-info.txt
Created attachment 578928 [details] app-emulation:docker-compose-1.24.0:20190605-123446.log
Created attachment 578930 [details] emerge-history.txt
Created attachment 578932 [details] environment
Created attachment 578934 [details] etc.portage.tbz2
Created attachment 578936 [details] temp.tbz2
Created attachment 578938 [details] tests.tbz2
I don't think the Gentoo change to pyyaml is very "cool" but what can I do. Should we add "test? ( <dev-python/pyyaml-5.1 )" to DEPEND? Non-test code does not seem to be affected. Applying part of https://github.com/docker/compose/pull/6623 downstream would also be an option.
PS: There is more to get the test suite to green, even after this: E RemovedInPytest4Warning: pytest/tmpdir_factory.ensuretemp is deprecated,
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9ab392c38a8a941c53bc3b15f62772eb5b2f39 commit 4e9ab392c38a8a941c53bc3b15f62772eb5b2f39 Author: Sebastian Pipping <sping@gentoo.org> AuthorDate: 2019-07-07 14:20:20 +0000 Commit: Sebastian Pipping <sping@gentoo.org> CommitDate: 2019-07-07 14:22:47 +0000 app-emulation/docker-compose: Tests need pyyaml <5.1 Closes: https://bugs.gentoo.org/687460 Signed-off-by: Sebastian Pipping <sping@gentoo.org> Package-Manager: Portage-2.3.67, Repoman-2.3.12 app-emulation/docker-compose/docker-compose-1.23.2-r1.ebuild | 1 + app-emulation/docker-compose/docker-compose-1.23.2.ebuild | 1 + app-emulation/docker-compose/docker-compose-1.24.0.ebuild | 1 + app-emulation/docker-compose/docker-compose-1.24.1.ebuild | 1 + 4 files changed, 4 insertions(+)