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
While we currently use Python 3.10.10, this isn't a problem. However, it would be nice to "future-proof" drunc. E.g., drunc runs into problems when Python 3.11.7 is used. If I try running the minimal_system_quick_test.py in a special test area which uses Python 3.11.7, NFDT_DEV_250113_A9, then I get this error message:
│ 95 │ else: │
│ 96 │ │ ## Check if the file is in the list of packaged configurations │
│ 97 │ │ from importlib.resources import path │
│ ❱ 98 │ │ packaged_configurations = os.listdir(path('drunc.data.process_manager', '')) │
│ 99 │ │ if process_manager_conf_filename in packaged_configurations: │
│ 100 │ │ │ process_manager_conf_filename = 'file://' + str(path('drunc.data.process_man │
│ 101 │ │ else: │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
TypeError: listdir: path should be string, bytes, os.PathLike, integer or None, not
_GeneratorContextManager
Exiting...
n.b. To recreate this, in the work area described you'll also need to locally pip installintegrationtest from the head of its develop branch so it includes Eric's fix from DUNE-DAQ/integrationtest#98 .
The text was updated successfully, but these errors were encountered:
While we currently use Python 3.10.10, this isn't a problem. However, it would be nice to "future-proof"
drunc
. E.g.,drunc
runs into problems when Python 3.11.7 is used. If I try running theminimal_system_quick_test.py
in a special test area which uses Python 3.11.7,NFDT_DEV_250113_A9
, then I get this error message:n.b. To recreate this, in the work area described you'll also need to locally
pip install
integrationtest
from the head of its develop branch so it includes Eric's fix from DUNE-DAQ/integrationtest#98 .The text was updated successfully, but these errors were encountered: