From c5e0ed8069c3519e4faec457803b28b6cbce674f Mon Sep 17 00:00:00 2001 From: Panchdev Singh Chauhan Date: Sun, 24 Mar 2024 07:46:38 +0530 Subject: [PATCH 1/2] fix issue with reinstalll --- nrobo/cli/install/__init__.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nrobo/cli/install/__init__.py b/nrobo/cli/install/__init__.py index 148953b..009003a 100644 --- a/nrobo/cli/install/__init__.py +++ b/nrobo/cli/install/__init__.py @@ -98,9 +98,12 @@ def transfer_files_to_host_project() -> None: if host_version <= stop_auto_silent_update_version: # Re-install pass - elif missing_user_files_on_production(): - pass else: + if not (NP.EXEC_DIR / NP.REQUIREMENTS_TXT_FILE).exists(): + """Create if not exist""" + copy_file(NP.NROBO_DIR / NP.FRAMEWORK / NP.REQUIREMENTS_TXT_FILE, + NP.EXEC_DIR / NP.REQUIREMENTS_TXT_FILE) + return # Return from installation if nRoBo is already installed on HOST system! SMART! RIGHT! :) # nRoBo was not found on HOST machine. From f592c998d3a33bcb84ad25695bb0314ff7b440a2 Mon Sep 17 00:00:00 2001 From: Panchdev Singh Chauhan Date: Sun, 24 Mar 2024 07:57:19 +0530 Subject: [PATCH 2/2] fix issue with update --- CHANGELOG.md | 6 ++++++ nrobo/__init__.py | 2 +- pyproject.toml | 2 +- versions/prod.yaml | 2 +- versions/test.yaml | 2 +- 5 files changed, 10 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0380bda..02ea046 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ [//]: <> (The format is based on Keep a Changelog keepachangelog.com/) [//]: <> (and this project adheres to Semantic Versioning semver.org/) +### [2024.35.0] - On 2024.03.24 + +#### Fixed +- Issue in update + + ### [2024.34.0] - On 2024.03.24 #### Added diff --git a/nrobo/__init__.py b/nrobo/__init__.py index 6c12869..52b57b2 100644 --- a/nrobo/__init__.py +++ b/nrobo/__init__.py @@ -15,7 +15,7 @@ @email: erpanchdev@gmail.com """ -__version__ = '2024.34.0' +__version__ = '2024.35.0' # install rich library import os diff --git a/pyproject.toml b/pyproject.toml index 3ee6af2..d571223 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ build-backend = "setuptools.build_meta" # Project details [project] name = "nrobo" -version = "2024.34.0" +version = "2024.35.0" authors = [{name="Panchdev Singh Chauhan", email="erpanchdev@gmail.com"}] maintainers = [{name="Panchdev Singh Chauhan", email="erpanchdev@gmail.com"}] description = "Powerful! Yet, Easy to USE! Automated Testing Framework" diff --git a/versions/prod.yaml b/versions/prod.yaml index 6660917..c5a659c 100644 --- a/versions/prod.yaml +++ b/versions/prod.yaml @@ -1 +1 @@ -version: 2024.34.0 +version: 2024.35.0 diff --git a/versions/test.yaml b/versions/test.yaml index 6660917..c5a659c 100644 --- a/versions/test.yaml +++ b/versions/test.yaml @@ -1 +1 @@ -version: 2024.34.0 +version: 2024.35.0