python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
30.59k stars 2.24k forks source link

Py3.10 #3187

Closed dimaqq closed 3 years ago

dimaqq commented 3 years ago

Python-3.10.0a1 is available, it would be awesome to be able to use it.

Today I can work around like so:

pushd ~/.poetry/lib/poetry/_vendor/
ln -s py3.9 py3.10

IIRC from 3.9, following needs to be done:

abn commented 3 years ago

@dimaqq you can install poetry via pipx or plain old pip to use under python 3.10. However, note that the current "supported" python versions for discovery does not include 3.10. However, you can manually activate an environment for your project.

dimaqq commented 3 years ago

Oh yes, I did use poetry env use 3.10 for an existing project. Simple projects (few deps) work just fine with the work-around. Today, complex projects are likely to not work due to some dep stumbling on BPO-40747

HacKanCuBa commented 3 years ago

Note that pip install poetry under Python 3.10rc (alpine) fails compiling msgpack and cyptography, but I guess it's an issue for those packages. I just leave this here in case someone else arrives here like me.

Note 2: On 3.10rc debian slim both packages fail to build but poetry gets installed somehow

Note 3: It's all a python 3.10 bug where wheels can't be built, thus alpine won't work until that is solved.

github-actions[bot] commented 4 months ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.