diff --git a/poetry/utils/env.py b/poetry/utils/env.py index 35493ec6f58..8d4c418fd82 100644 --- a/poetry/utils/env.py +++ b/poetry/utils/env.py @@ -109,7 +109,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