Skip to content

ImportError: cannot import name 'RoundTripDumper' with image #10

Description

@vortex852456

I tried the image but it doesn't work. See following history (shell from host-system):

root@localhost: cat docker-compose.yml | docker run -i funkwerk/compose_format
Traceback (most recent call last):
  File "/bin/compose_format", line 2, in <module>
    from compose_format import ComposeFormat
  File "/usr/lib/python3.5/site-packages/compose_format/__init__.py", line 1, in <module>
    from ruamel.yaml import RoundTripDumper, RoundTripLoader, dump, load
ImportError: cannot import name 'RoundTripDumper'
root@localhost:/var/docker/source/main# docker --version
Docker version 19.03.2, build 6a30dfc

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions