From 05bddbf006751c5c850dae73e4beba8d04b3ced1 Mon Sep 17 00:00:00 2001 From: Omry Yadan Date: Tue, 4 Jun 2024 17:53:43 +0800 Subject: [PATCH] minor changes to noxfile and circle config --- .circleci/config.yml | 3 ++- noxfile.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6355014cf..5cf84a36cc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,6 +98,7 @@ commands: key: -<< pipeline.parameters.cache_key_version >>-win-sys-{{ .Branch }}-<< parameters.py_version >> - run: name: Preparing environment - system + no_output_timeout: 20m command: | choco install -y --no-progress miniconda3 choco install -y --no-progress openssl openjdk11jre @@ -167,7 +168,7 @@ jobs: py_version: << parameters.py_version >> - run: name: Testing Hydra - no_output_timeout: 20m + no_output_timeout: 10m command: | $env:NOX_PYTHON_VERSIONS="<< parameters.py_version >>" $env:ConEmuDefaultCp=65001 diff --git a/noxfile.py b/noxfile.py index 30a27a1f1c..442356b1c0 100644 --- a/noxfile.py +++ b/noxfile.py @@ -87,13 +87,13 @@ def print_installed_package_version(session: Session, package_name: str) -> None pip_list: str = session.run("pip", "list", silent=True) for line in pip_list.split("\n"): if package_name in line: - print(f"Installed {package_name} version: {line}") + logger.info(f"Installed {package_name} version: {line}") def install_hydra(session: Session, cmd: List[str]) -> None: # needed for build session.install("read-version", silent=SILENT) - # clean install hydra + # clean-install hydra session.chdir(BASE) if USE_OMEGACONF_DEV_VERSION: session.install("--pre", "omegaconf", silent=SILENT)