asdf-community / asdf-poetry

Poetry plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
74 stars 15 forks source link

conditionally install with old installer #11

Closed crflynn closed 3 years ago

crflynn commented 3 years ago

Since the new installer breaks the expected behavior with asdf, we use the old installer (until it's deleted) for versions of poetry prior to 1.2.0. For versions after 1.2.0 we use the new installer, since the old installer won't work with newer versions.

Workaround for https://github.com/asdf-community/asdf-poetry/issues/10 on versions prior to 1.2, due to https://github.com/python-poetry/poetry/issues/4199

crflynn commented 3 years ago

~blocked by https://github.com/Homebrew/linuxbrew-core/issues/24136~

smorimoto commented 3 years ago

Ideally, you shouldn't even use the sort command, but honestly, I don't think we need to be that strict these days...