From e605d4c4cbeab5b720a51cd14b37b7e7f4b3f66f Mon Sep 17 00:00:00 2001 From: foxfire52 Date: Sat, 26 Oct 2024 15:19:05 +0200 Subject: Remove patch version.py --- g4f/version.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'g4f') diff --git a/g4f/version.py b/g4f/version.py index aa9c50ce..eff72303 100644 --- a/g4f/version.py +++ b/g4f/version.py @@ -76,12 +76,10 @@ class VersionUtils: # Read from docker environment version = environ.get("G4F_VERSION") - version = "0.3.3.6" if version: return version - # Read from git repository - try: + # Read from git repository try: command = ["git", "describe", "--tags", "--abbrev=0"] return check_output(command, text=True, stderr=PIPE).strip() except CalledProcessError: -- cgit v1.2.3