Migrate minio-py to use latest release 2.2.4#80
Conversation
90b3f1f to
37d6a2e
Compare
| } | ||
|
|
||
| installFunctionalTest() { | ||
| curl https://raw.githubusercontent.com/minio/minio-py/${MINIO_PY_SDK_VERSION}/tests/functional/tests.py > /usr/bin/minio-py-functional |
There was a problem hiding this comment.
Instead of curl is it a good idea to pull from a specific GitHub tag (release) so we don't get to the issue of having inconsistent tests and SDKs version.
There was a problem hiding this comment.
That is what its doing its picking from the tag. @nitisht
nitisht
left a comment
There was a problem hiding this comment.
LGTM overall, just one comment.
|
3933a1e to
49de03e
Compare
| install() { | ||
| apt-get install -yq python3 | ||
| apt-get install -yq python3-pip | ||
| update-alternatives --install /usr/bin/python python /usr/bin/python3.5 1 |
There was a problem hiding this comment.
Can you add a comment why this is needed ? not able to guess (is this because there is python 2 by default in ubuntu installation ?)
There was a problem hiding this comment.
No because there is no /usr/bin/python and its needed for pretty much all python applications. Also the functional tests which we download /usr/bin/env python would fail without this.
I don't know if this needs a comment.
There was a problem hiding this comment.
oh you mean python3 won't create /usr/bin/python symlink, I think you need to add a comment for this, this is not clear from the first glance.
There was a problem hiding this comment.
Yep it doesn't create.
vadmeste
left a comment
There was a problem hiding this comment.
LGTM (one comment needed otherwise)
|
Are all the comments addressed? |
One comment adding what @vadmeste asked.. one minute. |
Also fix unicode support for PYTHON by adding LANG env. docker-library/python@dbe3e24
No description provided.