podman-compose v1.5.0 broken dependency? (dotenv) #1280
Unanswered
kenosborn-rh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems as if podman-compose v.1.5.0 no longer installs dotenv (?), resulting in errors when attempting to:
podman compose start
Install podman-compose:
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \ dnf -y clean all && \ rm -rf /var/cache/dnf/* dnf -y install podman-compose && \ dnf -y clean all && \ rm -rf /var/cache/dnf/* && \ systemctl enable podman.service
Attempt to run podman compose start:
[root@rhel-util-01 ~]# podman compose start Traceback (most recent call last): File "/bin/podman-compose", line 5, in <module> from podman_compose import main File "/usr/lib/python3.9/site-packages/podman_compose.py", line 39, in <module> from dotenv import dotenv_values ModuleNotFoundError: No module named 'dotenv' Error: executing /bin/podman-compose start: exit status 1
Installing python-dotenv 'fixes' the issue:
dnf install -y python-dotenv
Was this some sort of regression in the latest podman-compose build?
Thank you!
EDIT: I suspect that this is an issue with the rpm in epel. When installing via a .whl file (from PyPy: https://pypi.org/project/podman-compose/) we observe that python-dotenv is getting installed:
dnf -y install git python3-pip && pip install podman-compose
Beta Was this translation helpful? Give feedback.
All reactions