diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 96e83501bf3db923e6cce4b68b29438023c9f34b..5d9eba76b5b073ae8e67636f00e3ac6ab0dabd17 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: python:3.7-slim-buster
+image: python:3.8-slim-buster
 
 stages:
   - build
diff --git a/bitia/__main__.py b/bitia/__main__.py
index f2ff06d5c59493bd39616e9f083e3df36052b33f..dbe90068cee97e76bde64fbd67a2a8c522178252 100644
--- a/bitia/__main__.py
+++ b/bitia/__main__.py
@@ -135,8 +135,7 @@ def run_pipeline(user_input: str, server: str = "https://public.bitia.link"):
     Prepare the user directory to send to the server. User can also provide link
     to the pipeline to run.
     """
-    path = Path(user_input)
-    if path.exists():
+    if (path := Path(user_input)).exists():
         if path.is_dir():
             pipeline_zip = prepare_archive(path)
         elif path.is_file() and path.suffix.lower() == ".zip":
@@ -151,7 +150,7 @@ def run_pipeline(user_input: str, server: str = "https://public.bitia.link"):
     else:
         # generate a temporary pipeline and submit.
         pipeline_zip = create_pipeline_from_command(user_input)
-        logger.info(f"Created pipeline in {pipeline_zip}")
+        logging.info(f"Created pipeline in {pipeline_zip}")
     submit_job(pipeline_zip, server)
 
 
diff --git a/pyproject.toml b/pyproject.toml
index 16ed781daa6703fa1f12e2338975a13eeee6f495..7bda3dd5057e80e49618d51a24a4951788d20d33 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -6,7 +6,7 @@ authors = ["Dilawar Singh <dilawar@subcom.tech>"]
 readme = "README.md"
 
 [tool.poetry.dependencies]
-python = ">=3.7.2,<4.0"
+python = ">=3.8,<4.0"
 requests = "^2.28.1"
 typer = "^0.6.1"
 rich = "^12.5.1"