Open pythoninthegrass opened 9 months ago
EDIT: Sorry - I meant to reply to the MacOS issue - apologies the link below may not help.
Hope the fix in this issue helps @pythoninthegrass: https://github.com/mise-plugins/mise-poetry/issues/9
It'll be slightly different paths for ASDF but I've literally just been dealing with this and came across the fix for mise.
Should note, the official installer script works as expected
$ curl -sSL https://install.python-poetry.org | python3 -
Retrieving Poetry metadata
# Welcome to Poetry!
This will download and install the latest version of Poetry,
a dependency and package manager for Python.
It will add the `poetry` command to Poetry's bin directory, located at:
/home/wpai/.local/bin
You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.
Installing Poetry (1.7.1): Done
Poetry (1.7.1) is installed now. Great!
You can test that everything is set up by executing:
`poetry --version`
And the version
$ poetry --version
Poetry (version 1.7.1)
Sorry - left a comment above - I replied to the wrong issue. Apologies for taking up your time 👍
EDIT: Sorry - I meant to reply to the MacOS issue - apologies the link below may not help.
Hope the fix in this issue helps @pythoninthegrass: mise-plugins#9
It'll be slightly different paths for ASDF but I've literally just been dealing with this and came across the fix for mise.
Haha no worries @mikecsmith! Appreciate the quick response regardless.
Really appreciate you all putting your work out in the open for OSS 🙏
Provide environment information
Ubuntu version
To Reproduce
Describe the Bug
The
~/.asdf/plugins/poetry/bin/install
script is not installingpoetry
due to a syntax error on line 60. Tried editing to get it to work, but it was a bigger lift than expected.Expected Behaviour
Should be able to run
asdf install poetry latest
and it finds the current release, installs, then adds toasdf
's shims.Don't have the same problem on my local dev box running macOS 14.2 (23C64) (M2 Pro).