cms-sw / cmssw

CMS Offline Software
http://cms-sw.github.io/
Apache License 2.0
1.07k stars 4.29k forks source link

in DEVEL build `python` shell command points to python2 executable #28009

Open Dr15Jones opened 5 years ago

Dr15Jones commented 5 years ago

in the DEVEL IB, e.g. CMSSW_11_0_DEVEL_X_2019-09-15-2300 the binary used for python,

[cdj@cmslpc41 src]$ which python /cvmfs/cms-ib.cern.ch/week0/slc7_amd64_gcc820/cms/cmssw/CMSSW_11_0_DEVEL_X_2019-09-15-2300/external/slc7_amd64_gcc820/bin/python

is [cdj@cmslpc41 src]$ python -V Python 2.7.15+

Eventhough that build has all the C++ supposed to be using python3.

This is why the unit tests for FWCore/PythonFramework are failing since they use python as the executable but the module was build to be used by python3.

cmsbuild commented 5 years ago

A new Issue was created by @Dr15Jones Chris Jones.

@davidlange6, @Dr15Jones, @smuzaffar, @fabiocos, @kpedro88 can you please review it and eventually sign/assign? Thanks.

cms-bot commands are listed here

Dr15Jones commented 5 years ago

@davidlange6 FYI

Dr15Jones commented 5 years ago

assign core

cmsbuild commented 5 years ago

New categories assigned: core

@Dr15Jones,@smuzaffar you have been requested to review this Pull request/Issue and eventually sign? Thanks

davidlange6 commented 5 years ago

is this a bug or a feature? Does anyone really change the meaning of 'which python' in distributions?

On Sep 16, 2019, at 9:40 PM, Chris Jones notifications@github.com wrote:

assign core

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.