briggySmalls/cookiecutter-pypackage

Restrict python version

briggySmalls opened this issue · 1 comments

poetry add can fail because python version not restricted tightly enough.

python = "*" is not useful. Better to do something like python = "^3.5"?

Seems to be related to a bug here: python-poetry/poetry#655

i.e. this was an issue on my own system because I had multiple python versions managed by pyenv, and other filth. Now I've edited the shebang in ~/.poetry/bin/poetry to drop the python3 in favour of python it's all working neatly again.