--- python-language-server-0.36.2.orig/versioneer.py	2020-12-11 06:31:57.000000000 +0300
+++ python-language-server-0.36.2/versioneer.py	2021-02-21 11:21:09.718011600 +0300
@@ -1404,6 +1404,15 @@
 
     Returns dict with two keys: 'version' and 'full'.
     """
+    
+    override = os.getenv("VERSIONEER_OVERRIDE")
+    if override:
+        if verbose:
+            print(f"got version from environment variable (VERSIONEER_OVERRIDE={override})")
+        return {"version": override, "dirty": False, "error": None,
+                "full-revisionid": None,
+                "date": None}
+    
     if "versioneer" in sys.modules:
         # see the discussion in cmdclass.py:get_cmdclass()
         del sys.modules["versioneer"]
