Skip to content

Commit

Permalink
Merge pull request #4340 from apollo13/patch-2
Browse files Browse the repository at this point in the history
Fixed python_version for Python >= 3.10
  • Loading branch information
sdispater authored Aug 16, 2021
2 parents a1a5bce + 0632349 commit cd51129
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 @@ -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
Expand Down

0 comments on commit cd51129

Please sign in to comment.