-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
1.2.0rc1 - poetry env
- Current Python version conflict with pre-existing virtualenv
#6222
Comments
Here's the full stacktrack:
|
surely a duplicate of the issues that you already identified as being the same |
Perhaps, but crucially, I'm not using If you wish, I can merge this into 6141, if that lessens the maintenance burden for you kind folks. |
I've no interest in investigating this one, its existence is no burden on me. I'm simply noting that it's surely a duplicate of the issues you already identified as being the same. |
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. |
-vvv
option).Possibly related:
Issue
Apologies in advance if this is a PEBCAK, but I'm following the docs as closely as possible and it's not conforming with my expectations, so I think there is a mismatch somewhere. I've been experimenting with the 1.2 rc because I'm super excited for it, and running into some friction. I'm interested in running poetry-version-plugin
I've just installed poetry 1.2.0rc1 via https://install.python-poetry.org (md5sum
6687215717deb5c6d8b86bbca2c043d8
)I've then activated my virtual environment (I have
virtualenvs.create=false
and like to manage my own venvs). Now, I presume I should be able to runpoetry self add poetry-version-plugin
orpoetry self show plugins
and see existing plugins as a baseline (should see none). But instead I seeMismatch with what
poetry env info
shows:Python 3.9.12 is my "system" python, managed by homebrew, but I manage all my python versions manually using
pyenv
andvirtualenv
. I want my poetry installation completely decoupled from the virtualenvs, but maybe that is not possible with the plugins, and/or with virtualenvs.create=false? I tried settingvirtualenvs.create true
but I get the same error.If I completely deactivate, and then run it, the command succeeds, but in doing so it creates a 3.9 environment, which I don't want.
As soon as I activate my normal env, and run
poetry self show
, it barfs.Seems alright if I do everything "by the book" and use fully Poetry-managed virtualenvs, but I'd really like to keep my existing workflow with external virtualenvs.
The text was updated successfully, but these errors were encountered: