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 python-pip as package dependency for archlinux #7041

Merged
merged 1 commit into from
Oct 19, 2019

Conversation

netcrop
Copy link
Contributor

@netcrop netcrop commented Oct 15, 2019

Description

Due to "pip3 install" failed in script linux_install.sh. python-pip has been added as package dependency for archlinux.

Types of Changes

  • Core
  • Bugfix
  • New feature
  • Enhancement/optimization
  • Keyboard (addition or update)
  • Keymap/layout/userspace (addition or update)
  • Documentation

Issues Fixed or Closed by This PR

#7040
*

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • I have tested the changes and verified that they work and don't break anything (as well as I can manage).

util/linux_install.sh Outdated Show resolved Hide resolved
@fauxpark fauxpark added the bug label Oct 15, 2019
@fauxpark fauxpark requested a review from a team October 15, 2019 13:47
Copy link

@rishav142k rishav142k left a comment

Choose a reason for hiding this comment

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

Doing a sudo pip is not recommended and is considered a bad practice. It is a lot security risk to do so as it gives root privileges while PyPi installer packages.One can use sudo with apt but not with pip. sudo pip overwrites python content provided by our OS vendor.

@netcrop
Copy link
Contributor Author

netcrop commented Oct 16, 2019

It turns out all the python requirements already are included in archlinux official repositories. "pacman -S --needed python-appdirs python-argcomplete python-colorama" will solve the issue for archlinux.

@drashna drashna requested a review from a team October 16, 2019 18:51
util/linux_install.sh Outdated Show resolved Hide resolved
@fauxpark fauxpark requested a review from skullydazed October 16, 2019 21:44
@netcrop
Copy link
Contributor Author

netcrop commented Oct 18, 2019

@fauxpark , I understand your point now. and using pip install --user as requirements manager for python in install_linux.sh.

@drashna drashna merged commit 5c1b7fb into qmk:master Oct 19, 2019
@netcrop netcrop deleted the python-pip branch October 19, 2019 04:51
drashna pushed a commit to zsa/qmk_firmware that referenced this pull request Oct 31, 2019
fdidron pushed a commit to zsa/qmk_firmware that referenced this pull request Nov 4, 2019
ripxorip pushed a commit to ripxorip/qmk_firmware that referenced this pull request Dec 3, 2019
drashna pushed a commit to zsa/qmk_firmware that referenced this pull request Dec 6, 2019
HokieGeek pushed a commit to HokieGeek/qmk_firmware that referenced this pull request Feb 21, 2020
BorisTestov pushed a commit to BorisTestov/qmk_firmware that referenced this pull request May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants