You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue as closed #862. We try to run podman-compose with Python 3.6.8
Traceback (most recent call last):
File "/usr/local/bin/podman-compose", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 3504, in main
asyncio.run(async_main())
AttributeError: module 'asyncio' has no attribute 'run'
$ podman-compose version
Traceback (most recent call last):
File "/usr/local/bin/podman-compose", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 3504, in main
asyncio.run(async_main())
AttributeError: module 'asyncio' has no attribute 'run'
$ podman-compose up
Traceback (most recent call last):
File "/usr/local/bin/podman-compose", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.6/site-packages/podman_compose.py", line 3504, in main
asyncio.run(async_main())
AttributeError: module 'asyncio' has no attribute 'run'
Environment:
OS: RHEL 8X
podman version: 4.9.4-rhel
podman compose version:
$ pip show podman-compose
Name: podman-compose
Version: 1.2.0
Summary: A script to run docker-compose.yml using podman
More infos
We have RHEL8X systems that works well with Python 3.6.8 and
podman-compose version: 1.0.6
['podman', '--version', '']
using podman version: 4.6.1
podman-compose version 1.0.6
podman --version
podman version 4.6.1
exit code: 0
The text was updated successfully, but these errors were encountered:
Thanks for opening this bug. Python 3.6 is no longer supported on latest releases. The recommended solution is to use v1.0.6.
I'm not closing the issue because the current behavior is quite confusing. podman-compose should refuse to run and throw a descriptive error if the version of Python is too old.
p12tic
changed the title
AttributeError: module 'asyncio' has no attribute 'run'
podman-compose should throw a readable error on too old python
Jul 1, 2024
Describe the bug
Same issue as closed #862. We try to run podman-compose with Python 3.6.8
To Reproduce
On RHEL8X / Python 3.6.8
Expected behavior
Works...
Actual behavior
Got an error
Output
Environment:
More infos
We have RHEL8X systems that works well with Python 3.6.8 and
The text was updated successfully, but these errors were encountered: