-
-
Notifications
You must be signed in to change notification settings - Fork 12.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot install plugins within poetry #171042
Comments
Unfortunately I suspect this won't work, at least not with any poetry plugin that wants to upgrade Homebrew's Python environment: allowing these kinds of resolution changes would allow anything that gets I believe there are two resolutions possible here:
|
I personally would prefer a way, that is managed by The second suggestion works for now, but feels wrong, as there is a |
You can make your own tap and maintain a package there. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Encountering the same issue :( |
Have you tried either of the resolutions suggested above? Relying with a "me too" comment on its own doesn't help us address the underlying problem. Keep in mind: Homebrew does not distribute Python with the expectation that arbitrary third-party packages can be loaded into Homebrewed Python's environment. If this is a capability that you need, you must use pip, pipx, or pyenv, depending on the layer of abstraction you need. For poetry, pipx with dependency injection is probably the simplest option, and seems to be recommended by poetry's maintainers. |
I do not expect you to "solve it", but I think developers like to have an idea of how many users are encountering an issue and how problematic it is for them. That alone is worth a "me too" post. You're of course free to do whatever you want with that information. But last time I checked this issue was not closed. And yes, refraining from installing poetry with homebrew sidesteps the problem. |
I was also experiencing this issue, in the end I just uninstalled poetry via brew and installed it outside of brew. Not worth the faff. Not a solution within brew unfortunately but it unblocked me from getting work done https://python-poetry.org/docs/#installing-with-the-official-installer |
I think this is currently non-actionable on Homebrew's side. Our recommendations to users who need Poetry plugins are:
|
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputVerification
brew doctor
output saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Install a plugin (poetry-dynamic-versioning) within poetry by
What happened (include all command output)?
Installation fails as
poetry
is trying to updatepycparser
which was installed bybrew
:What did you expect to happen?
Plugin is successfully installed.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: