Skip to content
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

Python migration towards pth instead of PATHs #3874

Merged
merged 4 commits into from Mar 23, 2018

Conversation

davidlange6
Copy link
Contributor

Created a pth file with all cmssw python dependencies to reduce use of python envvars.

This required to stop using eggs, affecting only numpy and sqlalchemy builds. I changed those to use pip to build from source, making things a bit more consistent with the rest.

setting PYTHON27PATH ....cmssw-tool-conf//lib/python2.7/site-packages is now sufficient for all of the py2* tools (hooray). However, I did not yet enable that functionality. This would be the next step (purely a change of tool files, where a bunch of lines would be removed and one line added to the cmssw tool file)

The tensorflow changes were due to a missing setup tools dependency that they were previously picking up from py2-numpy.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Mar 23, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/27079/console

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @davidlange6 (David Lange) for branch IB/CMSSW_10_1_X/gcc630.

@cmsbuild, @smuzaffar, @gudrutis, @mrodozov can you please review it and eventually sign? Thanks.
You can sign-off by replying to this message having '+1' in the first line of your reply.
You can reject by replying to this message having '-1' in the first line of your reply.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3874/27079/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 29
  • DQMHistoTests: Total histograms compared: 2498300
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2498123
  • DQMHistoTests: Total skipped: 176
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.930000000109 KiB( 22 files compared)
  • Checked 118 log files, 9 edm output root files, 29 DQM output files

@davidlange6
Copy link
Contributor Author

davidlange6 commented Mar 23, 2018 via email

@cmsbuild cmsbuild merged commit 36afd25 into cms-sw:IB/CMSSW_10_1_X/gcc630 Mar 23, 2018
py27List=`echo ${PYTHON27PATH} | tr ':' '\n'`

mkdir -p %{i}/${PYTHON_LIB_SITE_PACKAGES}
touch %{i}/${PYTHON_LIB_SITE_PACKAGES}/tool-deps.pth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@davidlange6 , we also need to relocate this file in %post otherwise it will have build paths instead of install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants