Bug 2385841 - podman-compose rpm is failing to require core dependency python-dotenv
Summary: podman-compose rpm is failing to require core dependency python-dotenv
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: podman-compose
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-31 19:55 UTC by Sam Batschelet
Modified: 2025-08-11 17:15 UTC (History)
2 users (show)

Fixed In Version: podman-compose-1.5.0-2.el9
Clone Of:
Environment:
Last Closed: 2025-08-11 17:15:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sam Batschelet 2025-07-31 19:55:31 UTC
Description of problem:

When installing podman-compose via the RPM from EPEL, the required runtime dependency python-dotenv is not installed automatically, causing podman-compose to fail at runtime unless the user manually installs it. This is a regression.

Version-Release number of selected component (if applicable):

podman-compose-1.5.0-1.el9

How reproducible:
100%

Steps to Reproduce:
1. sudo dnf install podman-compose
2. create minimal podman-compose.yaml

```
version: "3.9"
services:
  test:
    image: nginx:alpine
```
3. run podman-compose up

Actual results:

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 --help: exit status 1


Expected results:

rpm requires core deps and runs as expected

Additional info:

This issue affects usability for users expecting podman-compose to function after RPM installation, and may cause confusion and additional bug reports.

Comment 1 Fedora Update System 2025-08-01 17:10:04 UTC
FEDORA-EPEL-2025-d458fcf581 (podman-compose-1.5.0-2.el9) has been submitted as an update to Fedora EPEL 9.
https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-d458fcf581

Comment 2 Fedora Update System 2025-08-03 01:04:06 UTC
FEDORA-EPEL-2025-d458fcf581 has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2025-d458fcf581

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2025-08-11 17:15:27 UTC
FEDORA-EPEL-2025-d458fcf581 (podman-compose-1.5.0-2.el9) has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.