Fix rocprof-compute TUI build err with python 39 (#303)
* Upgrade min python version from 3.8 to 3.9 * Set min version for textual-fspicker for TUI support * Update workflows to use python 3.9 instead of 3.8 * fix formatting * fix bug --------- Co-authored-by: Vignesh Edithal <Vignesh.Edithal@amd.com>
This commit is contained in:
1 parent
a433e6f48d
commit
2c59a82fe1
8 files changed
+13
-14
No files matched your search
@@ -42,9 +42,10 @@ import tempfile
|
||||
import threading
|
||||
import time
|
||||
import uuid
|
||||
from collections.abc import Generator
|
||||
from contextlib import contextmanager
|
||||
from pathlib import Path
|
||||
from typing import Any, Dict, Generator, Optional, Union, cast
|
||||
from typing import Any, Optional, Union, cast
|
||||
|
||||
import pandas as pd
|
||||
import yaml
|
||||
@@ -767,7 +768,7 @@ def run_prof(
|
||||
if is_mode_live_attach:
|
||||
|
||||
@contextmanager
|
||||
def temporary_env(env_vars: Dict[str, str]) -> Generator[None, None, None]:
|
||||
def temporary_env(env_vars: dict[str, str]) -> Generator[None, None, None]:
|
||||
"""
|
||||
Temporarily change the environment variable of this application.
|
||||
"""
|
||||
|
||||
Reference in new issue
Block a user