-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Using vlttng @ 3d7d48a
In python3 >= 3.9 and python3< 3.12, importlib.resources.files() takes a required parameter package. C.f. https://docs.python.org/3.11/library/importlib.resources.html
importlib.resources.files() was introduce in python 3.9, C.f. https://docs.python.org/3.9/library/importlib.html
# vlttng-quick
Traceback (most recent call last):
File "/usr/local/bin/vlttng-quick", line 8, in <module>
sys.exit(run())
^^^^^
File "/usr/local/lib/python3.11/dist-packages/vlttng/vlttng_quick_cli.py", line 649, in run
wiz = _Wizard()
^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/vlttng/vlttng_quick_cli.py", line 149, in __init__
for res in (importlib.resources.files() / vlttng._PROFILES_DIRNAME).iterdir():
^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: files() missing 1 required positional argument: 'package'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels