Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support to bionic 18.04 #88

Closed
guimaluf opened this issue Nov 8, 2023 · 0 comments · Fixed by #105
Closed

Remove support to bionic 18.04 #88

guimaluf opened this issue Nov 8, 2023 · 0 comments · Fixed by #105
Labels
bug Something isn't working
Milestone

Comments

@guimaluf
Copy link

guimaluf commented Nov 8, 2023

The current charm page says hardware-observer is supported in Bionic 18.04, but it is not due the lack of python3.8 support for ops python library.

unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install Traceback (most recent call last):
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install   File "./src/charm.py", line 10, in <module>
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install     import ops
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install   File "/var/lib/juju/agents/unit-hardware-observer-31/charm/venv/ops/__init__.py", line 171, in <module>
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install     from . import pebble  # type: ignore # noqa: F401
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install   File "/var/lib/juju/agents/unit-hardware-observer-31/charm/venv/ops/pebble.py", line 44, in <module>
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install     from typing import (
unit-hardware-observer-31: 12:33:25 WARNING unit.hardware-observer/31.install ImportError: cannot import name 'Literal'
unit-hardware-observer-31: 12:33:25 ERROR juju.worker.uniter.operation hook "install" (via hook dispatching script: dispatch) failed: exit status 1
@Pjack Pjack added the bug Something isn't working label Nov 9, 2023
@Pjack Pjack added this to the 23.10.1 milestone Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants