-
Notifications
You must be signed in to change notification settings - Fork 423
#245 fixed different python versions #255
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
base: master
Are you sure you want to change the base?
Conversation
|
We refactored |
basilgello
left a comment
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.
Also need to replace sudo invocations with $SUDO
install.sh
Outdated
| GDB_PYTHON="${GDB_PYTHON/%$GDB_PYVER/}${GDB_PYVER}" | ||
|
|
||
| install_packages | ||
| install_packages $PYVER |
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.
This will throw a missing python-dev package on Debian bullseye and newer.
Keeping only next line L#143 is enough
install.sh
Outdated
| fi | ||
|
|
||
| install_packages | ||
| install_packages $PYVER |
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.
Same
7af2acd to
15046c8
Compare
| _PYVER=$1 | ||
| if echo $_PYVER|grep "3\."; then | ||
| sudo apt-get -y install libreadline6-dev python3-dev python3-setuptools python3-yaml python3-pip | ||
| else |
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.
sudo -> ${SUDO}
Since in containers there is no sudo typically installed.
| _PYVER=$1 | ||
| if echo $_PYVER|grep "3\."; then | ||
| sudo $CMD $PARAMS install readline-devel python3-devel python3-setuptools python3-yaml python3-pip | ||
| else |
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.
Same
basilgello
left a comment
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.
Please replace unconditional sudo invocations with ${SUDO}, too. For example, running Voltron in a rootless container is totally fine but there is no sudo nor anybother setuid executable installed.
|
Fixed |
|
@zcutlip ? |
See #245