-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add more information about the usage of Poetry and merge conflict resolution in the lockfile of Poetry to README.md
#5633
Conversation
…olution in the lockfile of Poetry to `README.md`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Learned some new and useful things from this 👍
Btw, I found that poetry update --lock <dependency name>
doesn't update everything but just the changed ones. This avoids having a ton of changes in the lockfile when only changing one dependency.
README.md
Outdated
The official guide suggests to use [pyenv](https://github.com/pyenv/pyenv) or any other similar tool | ||
to easily switch between Python versions. This is how it can be done: | ||
|
||
```bash | ||
pyenv install 3.7.6 | ||
pyenv local 3.7.6 # Activate Python 3.7.6 for the current project | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does it really make sense to bring up pyenv
here? Most people will just have one Python version installed anyway
09cccd8
to
58b261e
Compare
Proposed changes:
README.md
with some information about how to use poetry with virtual environments (based on feedback from those who struggled with it) and how to resolve merge conflicts inpoetry.lock
Status (please check what you already did):