Skip to content

Commit

Permalink
Fixed python_version for Python >= 3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo13 authored and sdispater committed Aug 16, 2021
1 parent 716ee92 commit d5e3e31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5e3e31

Please sign in to comment.