You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2022/02/01 01:20:43 UTC

[GitHub] [incubator-mxnet] josephevans opened a new pull request #20864: [v1.9.x] Update to Python 3.8 in CI containers

josephevans opened a new pull request #20864:
URL: https://github.com/apache/incubator-mxnet/pull/20864


   With Python 3.6, we started to get errors using the `get-pip.py` update script (as it only supports Python 3.7+.)
   
   This PR tests updating our CI pipeline to Python 3.8.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] bgawrych commented on pull request #20864: [v1.9.x] Fix pip installation in containers

Posted by GitBox <gi...@apache.org>.
bgawrych commented on pull request #20864:
URL: https://github.com/apache/incubator-mxnet/pull/20864#issuecomment-1029211818


   @josephevans can you port this change also to v1.x? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] mxnet-bot commented on pull request #20864: [v1.9.x] Update to Python 3.8 in CI containers

Posted by GitBox <gi...@apache.org>.
mxnet-bot commented on pull request #20864:
URL: https://github.com/apache/incubator-mxnet/pull/20864#issuecomment-1026385822


   Hey @josephevans , Thanks for submitting the PR 
   All tests are already queued to run once. If tests fail, you can trigger one or more tests again with the following commands: 
   - To trigger all jobs: @mxnet-bot run ci [all] 
   - To trigger specific jobs: @mxnet-bot run ci [job1, job2] 
   *** 
   **CI supported jobs**: [edge, website, unix-cpu, miscellaneous, unix-gpu, sanity, clang, windows-gpu, windows-cpu, centos-gpu, centos-cpu]
   *** 
   _Note_: 
    Only following 3 categories can trigger CI :PR Author, MXNet Committer, Jenkins Admin. 
   All CI tests must pass before the PR can be merged. 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] josephevans merged pull request #20864: [v1.9.x] Fix pip installation in containers

Posted by GitBox <gi...@apache.org>.
josephevans merged pull request #20864:
URL: https://github.com/apache/incubator-mxnet/pull/20864


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-mxnet] bgawrych commented on a change in pull request #20864: [v1.9.x] Fix pip installation in containers

Posted by GitBox <gi...@apache.org>.
bgawrych commented on a change in pull request #20864:
URL: https://github.com/apache/incubator-mxnet/pull/20864#discussion_r798797687



##########
File path: ci/docker/install/ubuntu_python.sh
##########
@@ -32,5 +32,5 @@ ln -sf /usr/bin/python3.7 /usr/local/bin/python3
 
 # the version of the pip shipped with ubuntu may be too lower, install a recent version here
 wget -nv https://bootstrap.pypa.io/get-pip.py
-python3 get-pip.py
+/usr/local/bin/python3 get-pip.py
 pip3 install -r /work/requirements

Review comment:
       ```suggestion
   /usr/local/bin/python3 -m pip install -r /work/requirements
   ```

##########
File path: ci/docker/install/centos7_python.sh
##########
@@ -27,7 +27,7 @@ yum -y install https://repo.ius.io/ius-release-el7.rpm
 yum -y install python36u
 
 # Install PIP
-curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
+curl "https://bootstrap.pypa.io/pip/3.6/get-pip.py" -o "get-pip.py"
 python3.6 get-pip.py
 # Restrict numpy version to < 1.19.0 due to https://github.com/apache/incubator-mxnet/issues/18600
 pip3 install nose pylint 'numpy>1.16.0,<1.19.0' nose-timer requests 'h5py<3' scipy==1.2.3

Review comment:
       ```suggestion
   python3.6 -m pip install nose pylint 'numpy>1.16.0,<1.19.0' nose-timer requests 'h5py<3' scipy==1.2.3
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@mxnet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org