This commit is contained in:
Miroslav Stampar
2025-11-10 09:40:19 +01:00
parent 619d53a9e5
commit f44aef3e41
3 changed files with 9 additions and 3 deletions

View File

@@ -347,6 +347,12 @@ def main():
logger.critical(errMsg)
raise SystemExit
elif all(_ in excMsg for _ in ("httpcore", "typing.", "AttributeError")):
errMsg = "please update the 'httpcore' package (>= 1.0.8) "
errMsg += "(Reference: 'https://github.com/encode/httpcore/discussions/995')"
logger.critical(errMsg)
raise SystemExit
elif "invalid maximum character passed to PyUnicode_New" in excMsg and re.search(r"\A3\.[34]", sys.version) is not None:
errMsg = "please upgrade the Python version (>= 3.5) "
errMsg += "(Reference: 'https://bugs.python.org/issue18183')"