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

Check if any packages are available before calling pip install #4

Merged
merged 5 commits into from
Mar 2, 2020

Conversation

smac89
Copy link
Contributor

@smac89 smac89 commented Mar 1, 2020

Fix error when no packages are available for update

Fix error when no packages are available for update
Remove extra space
bin/pyenv-pip-update Outdated Show resolved Hide resolved
@smac89 smac89 changed the title Update pyenv-pip-update Check if any packages are available before calling pip install Mar 1, 2020
Copy link
Owner

@massongit massongit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@smac89 Is your development complete?
I will merge this PR if your development is complete.

@smac89
Copy link
Contributor Author

smac89 commented Mar 2, 2020

I was thinking to add a check for system python, and avoid updating using pip because most of the time those require root permissions. Maybe instead, just print the command needed and exit, or attempt to update using sudo. What do you think?

Apart from that, this is good to merge 🚢.

@massongit
Copy link
Owner

massongit commented Mar 2, 2020

I think that it is better to just print the command needed if the system python needs upgrade packages.
Because I think that many people don't want to update packages in system python.

@massongit
Copy link
Owner

massongit commented Mar 2, 2020

I created a issue: #5

@massongit
Copy link
Owner

I merge it.

@massongit massongit merged commit d3606ca into massongit:master Mar 2, 2020
@smac89 smac89 deleted the patch-1 branch March 2, 2020 20:25
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.

None yet

2 participants