diff --git a/poetry/utils/env.py b/poetry/utils/env.py index b13ec91270c..a4ccce5c819 100644 --- a/poetry/utils/env.py +++ b/poetry/utils/env.py @@ -102,7 +102,7 @@ def _version_nodot(version): "platform_version": platform.version(), "python_full_version": platform.python_version(), "platform_python_implementation": platform.python_implementation(), - "python_version": platform.python_version()[:3], + "python_version": ".".join(platform.python_version_tuple()[:2]), "sys_platform": sys.platform, "version_info": tuple(sys.version_info), # Extra information