# Doing Github PR merges from the command line and fixing Pipenv files

- Link: https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/
- Published: 2022-04-22T11:42:45-07:00
- Author: rich

OK, so the good thing is that GitHub generates all kinds of updates on Python packages
which are pretty low level. For instance, it will look at PIpfile.lock and tell 
you for instance that Pillow needs to be at least version 9.0.1 or that a notebook
needs to be at least version 6.4.3.

## Doing a command line merge of a pull request

You can use the web interface, but I really like just typing instead of doing that,
so with the GitHub command-line interface you get with `brew install gh`, and then
you can do some pretty neat stuff:

 1. [gh pr list](https://github.com/cli/cli/issues/3514). This command gives you a 
    list of PR
 2. gh pr merge 4. This basically says merge pr request [#4](https://tongfamily.com/tag/4/)
    into the current branch and answer a bunch of question.

## Dealing with this when you are running PIpenv

The problem of course is that the Pipenv.lock file is too low level to do this, 
if you are using a Pipenv file, then you need to add an entry like `notebook = "
>=6.0.4"`

If you are using a command-line that is `pipenv install 'notebook>=6.04'`

### Share this:

 * [  Mastodon ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=mastodon)
 * [  LinkedIn ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=linkedin)
 * [  Facebook ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=facebook)
 * [  WhatsApp ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=jetpack-whatsapp)
 * [  Email ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?subject=%5BShared%20Post%5D%20Doing%20Github%20PR%20merges%20from%20the%20command%20line%20and%20fixing%20Pipenv%20files&body=https%3A%2F%2Ftongfamily.com%2F2022%2F04%2F22%2Fdoing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files%2F&share=email)
 * [More](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/#)

 * [  Telegram ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=telegram)
 * [  Print ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/#print?share=print)
 * [  Pinterest ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=pinterest)
 * [  Tumblr ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=tumblr)
 * [  X ](https://tongfamily.com/2022/04/22/doing-github-pr-merges-from-the-command-line-and-fixing-pipenv-files/?share=twitter)

### Like this:

Like Loading…
