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

[DEV] Fix deprecated np.bool issue from numpy==1.24.0 #1455

Merged
merged 9 commits into from
Dec 23, 2022
Prev Previous commit
Next Next commit
Fix missing part
Signed-off-by: Songki Choi <songki.choi@intel.com>
  • Loading branch information
Songki Choi committed Dec 21, 2022
commit 677e50284d1c5311826422ba610688e3845cb73e
9 changes: 2 additions & 7 deletions ote_cli/ote_cli/utils/tests.py
Original file line number Diff line number Diff line change
@@ -36,13 +36,8 @@ def get_some_vars(template, root):
def create_venv(algo_backend_dir, work_dir):
venv_dir = f"{work_dir}/venv"
if not os.path.exists(venv_dir):
assert run([f"./{algo_backend_dir}/init_venv.sh", venv_dir]).returncode == 0
assert (
run(
[f"{work_dir}/venv/bin/python", "-m", "pip", "install", "-e", "ote_cli"]
).returncode
== 0
)
check_run([f"./{algo_backend_dir}/init_venv.sh", venv_dir])
check_run([f"{work_dir}/venv/bin/python", "-m", "pip", "install", "-e", "ote_cli"])


def extract_export_vars(path):