funkwerk / compose_format

format docker compose files using recipes from best practices
MIT License
45 stars 19 forks source link

Round Trip Dumper Error #12

Open jessequinn opened 4 years ago

jessequinn commented 4 years ago

updates alpine to 3.11 with 3.8.1 python used different install method for python packages in Dockerfile fixes round trip dumper error added .editorconfig for better practice modified .gitignore to include venv and .idea added target to BUILD_ORDER

jessequinn commented 4 years ago

this builds fine on hub.docker.com.

jessequinn commented 4 years ago

clearly an issue with your CI/CD.

tchia04 commented 9 months ago

Getting the same error

❯ cat compose-git-include.yml  | docker run -i --platform linux/amd64 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'