kpuatamazon opened a new issue #19603:
URL: https://github.com/apache/incubator-mxnet/issues/19603


   ## Description
   
   lint is broken for v1.x due to a dependency conflict between six and 
astroid.  
   
   Example log: 
https://jenkins.mxnet-ci.amazon-ml.com/blue/rest/organizations/jenkins/pipelines/mxnet-validation/pipelines/sanity/branches/PR-19601/runs/2/nodes/39/steps/80/log/?start=0
   
   Relevant snippet:
   ```
   [2020-11-30T18:22:14.767Z] + pip3 install -r /work/requirements
   [2020-11-30T18:22:14.767Z] DEPRECATION: Python 3.5 reached the end 
of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 
is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 
2021. pip 21.0 will remove support for this functionality.
   [2020-11-30T18:22:17.272Z] Collecting astroid==2.3.3
   [2020-11-30T18:22:17.525Z]   Downloading astroid-2.3.3-py3-none-any.whl (205 
kB)
   [2020-11-30T18:22:17.525Z] 
   [2020-11-30T18:22:17.525Z] The conflict is caused by:
   [2020-11-30T18:22:17.525Z]     The user requested six==1.11.0
   [2020-11-30T18:22:17.525Z]     astroid 2.3.3 depends on six~=1.12
   [2020-11-30T18:22:17.525Z] 
   [2020-11-30T18:22:17.525Z] To fix this you could try to:
   [2020-11-30T18:22:17.525Z] 1. loosen the range of package versions you've 
specified
   [2020-11-30T18:22:17.525Z] 2. remove package versions to allow pip attempt 
to solve the dependency conflict
   [2020-11-30T18:22:17.525Z] 
   [2020-11-30T18:22:17.525Z] ERROR: Cannot install -r /work/requirements 
(line 31) and six==1.11.0 because these package versions have conflicting 
dependencies.
   [2020-11-30T18:22:17.525Z] ERROR: ResolutionImpossible: for help visit 
https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
   [2020-11-30T18:22:18.083Z] The command '/bin/sh -c 
/work/ubuntu_python.sh' returned a non-zero code: 1
   [2020-11-30T18:22:18.083Z] Traceback (most recent call last):
   [2020-11-30T18:22:18.083Z]   File "ci/build.py", line 456, in <module>
   [2020-11-30T18:22:18.083Z]     sys.exit(main())
   [2020-11-30T18:22:18.083Z]   File "ci/build.py", line 366, in main
   [2020-11-30T18:22:18.083Z]     cache_intermediate=args.cache_intermediate)
   [2020-11-30T18:22:18.083Z]   File "ci/build.py", line 114, in build_docker
   [2020-11-30T18:22:18.083Z]     run_cmd()
   [2020-11-30T18:22:18.083Z]   File 
"/home/jenkins_slave/workspace/sanity-lint/ci/util.py", line 84, in f_retry
   [2020-11-30T18:22:18.083Z]     return f(*args, **kwargs)
   [2020-11-30T18:22:18.083Z]   File "ci/build.py", line 112, in run_cmd
   [2020-11-30T18:22:18.083Z]     check_call(cmd)
   [2020-11-30T18:22:18.083Z]   File "/usr/lib/python3.6/subprocess.py", line 
311, in check_call
   [2020-11-30T18:22:18.083Z]     raise CalledProcessError(retcode, cmd)
   [2020-11-30T18:22:18.083Z] subprocess.CalledProcessError: Command 
'['docker', 'build', '-f', 'docker/Dockerfile.build.ubuntu_cpu', '--build-arg', 
'USER_ID=1001', '--build-arg', 'GROUP_ID=1001', '--cache-from', 
'mxnetci/build.ubuntu_cpu', '-t', 'mxnetci/build.ubuntu_cpu', 'docker']' 
returned non-zero exit status 1.
   script returned exit code 1
   ```
   
   This is causing `sanity` to fail for #19601 (v1.x) but pass for #19602 
(master)
   
   cc @szha 


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to