Skip to content

Commit

Permalink
Merge pull request #4387 from python-poetry/1.1-fix-marker-environmen…
Browse files Browse the repository at this point in the history
…t-for-python-3-10

[1.1] Fixed python_version for Python >= 3.10
  • Loading branch information
sdispater committed Aug 16, 2021
2 parents 716ee92 + d5e3e31 commit 84eed29
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 84eed29

Please sign in to comment.