Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

fix: Use correct Python version for virtualenv #974

Merged
merged 1 commit into from
Sep 14, 2021

Conversation

l0b0
Copy link
Contributor

@l0b0 l0b0 commented Sep 14, 2021

Poetry by default just uses the system Python, even if that is not
supported by the version specifier in pyproject.toml. Poetry prints

The currently activated Python version 3.9.7 is not supported by the
project (3.8.10).
Trying to find and use a compatible version.
Using python3 (3.8.10)

This message is misleading - it still uses the system Python! See
python-poetry/poetry#655 for details.

Reference

Code review checklist

Poetry by default just uses the system Python, even if that is not
supported by the version specifier in pyproject.toml. Poetry prints

> The currently activated Python version 3.9.7 is not supported by the
> project (3.8.10).
> Trying to find and use a compatible version.
> Using python3 (3.8.10)

This message is misleading - it still uses the system Python! See
<python-poetry/poetry#655> for details.
@l0b0 l0b0 added the automerge label Sep 14, 2021
@l0b0 l0b0 requested a review from MitchellPaff September 14, 2021 21:39
@kodiakhq kodiakhq bot merged commit 641664e into master Sep 14, 2021
@kodiakhq kodiakhq bot deleted the fix/use-correct-python-version-for-virtualenv branch September 14, 2021 22:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants