Skip to content
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

Merged
merged 9 commits into from
Apr 21, 2020

Conversation

alwx
Copy link
Contributor

@alwx alwx commented Apr 15, 2020

Proposed changes:

  • Extend 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 in poetry.lock

Status (please check what you already did):

  • updated the changelog (please check changelog for instructions)

…olution in the lockfile of Poetry to `README.md`
@alwx alwx requested a review from wochinge April 15, 2020 12:20
Copy link
Contributor

@wochinge wochinge left a 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
Comment on lines 112 to 118
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
```
Copy link
Contributor

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

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@alwx alwx force-pushed the readme-poetry-update branch from 09cccd8 to 58b261e Compare April 20, 2020 11:14
@alwx alwx merged commit 0e6ab7b into master Apr 21, 2020
@tmbo tmbo deleted the readme-poetry-update branch May 1, 2020 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants