When bumping my python version from 3.7 to 3.8 in poetry, reinstalling all the dependencies fail with a version of the following:
ERROR: No matching distribution found for...
The distribution for that version is available at pypa, and is often the most recent version.
Simply removing the offending package doesn't fix the issue, as poetry will likely fail with other packages. After some investigation, it appears that somehow poetry isn't using pip3 to install underneath, but is instead using pip2.7.
Indeed this is supported by a deprecation alert, and the error is always reproducible if I attempt to install the same version with pip (globally or otherwise) and not pip3.
This issue is frustrating and deleting the venv alone doesn't seem to help. How can I resolve this dependency issue that shouldn't exist in the first place?