Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687460 - app-emulation/docker-compose-1.24.0 with dev-python/pyyaml-5.1 : [TEST] E RuntimeError: Unsafe load() call disabled by Gentoo. See bug #659348
Summary: app-emulation/docker-compose-1.24.0 with dev-python/pyyaml-5.1 : [TEST] E Run...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Sebastian Pipping
URL: https://github.com/docker/compose/pul...
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2019-06-05 17:03 UTC by Toralf Förster
Modified: 2019-07-07 14:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.34 KB, text/plain)
2019-06-05 17:03 UTC, Toralf Förster
Details
app-emulation:docker-compose-1.24.0:20190605-123446.log (app-emulation:docker-compose-1.24.0:20190605-123446.log,52.72 KB, text/plain)
2019-06-05 17:04 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,1.63 KB, text/plain)
2019-06-05 17:04 UTC, Toralf Förster
Details
environment (environment,113.88 KB, text/plain)
2019-06-05 17:04 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.90 KB, application/x-bzip)
2019-06-05 17:04 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.68 KB, application/x-bzip)
2019-06-05 17:04 UTC, Toralf Förster
Details
tests.tbz2 (tests.tbz2,76.79 KB, application/x-bzip)
2019-06-05 17:04 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-06-05 17:03:56 UTC
/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"
Comment 1 Toralf Förster gentoo-dev 2019-06-05 17:03:59 UTC
Created attachment 578926 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-05 17:04:02 UTC
Created attachment 578928 [details]
app-emulation:docker-compose-1.24.0:20190605-123446.log
Comment 3 Toralf Förster gentoo-dev 2019-06-05 17:04:05 UTC
Created attachment 578930 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-06-05 17:04:07 UTC
Created attachment 578932 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-06-05 17:04:10 UTC
Created attachment 578934 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-05 17:04:13 UTC
Created attachment 578936 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-06-05 17:04:16 UTC
Created attachment 578938 [details]
tests.tbz2
Comment 8 Sebastian Pipping gentoo-dev 2019-06-08 23:08:52 UTC
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.
Comment 9 Sebastian Pipping gentoo-dev 2019-06-08 23:10:19 UTC
PS: There is more to get the test suite to green, even after this:

E   RemovedInPytest4Warning: pytest/tmpdir_factory.ensuretemp is deprecated,
Comment 10 Larry the Git Cow gentoo-dev 2019-07-07 14:22:55 UTC
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(+)