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

pip package development #2797

Merged
merged 8 commits into from Feb 3, 2017

Conversation

davidlange6
Copy link
Contributor

allow pip package name to differ from rpm spec file name in case of special characters in the pip package name

add python stack for jupyter

I need to add a follow on commit that removes some now obsolete tool files and tools from cmssw tool conf before testing

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2017

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

@cmsbuild, @smuzaffar, @iahmad-khan, @davidlange6 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.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/cmsdist-test-pr/493/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 1, 2017

-1

Tested at: 3bd1a90

  • Build:

I found an error when building:

+ for f in '$(ls $SOURCE)'
+ '[' -e /build/cmsbld/jenkins-workarea/workspace/cmsdist-test-pr/testBuildDir/tmp/BUILDROOT/5c58d42c0d46539ecc3c484fb993d151/opt/cmssw/slc6_amd64_gcc530/external/py2-pippkgs/2.0/lib/python2.7/site-packages/entrypoints-0.2.2.dist-info ']'
+ echo '  Duplicate file found: entrypoints-0.2.2.dist-info'
Duplicate file found: entrypoints-0.2.2.dist-info
+ exit 1
error: Bad exit status from /build/cmsbld/jenkins-workarea/workspace/cmsdist-test-pr/testBuildDir/tmp/rpm-tmp.okmxGF (%install)


RPM build errors:
Bad exit status from /build/cmsbld/jenkins-workarea/workspace/cmsdist-test-pr/testBuildDir/tmp/rpm-tmp.okmxGF (%install)



You can see the results of the tests here:
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-2797/493/summary.html

@davidlange6
Copy link
Contributor Author

weird that I didn't see this locally..

@davidlange6
Copy link
Contributor Author

ok, now I can reproduce.. investigating.

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Pull request #2797 was updated.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/cmsdist-test-pr/494/console

@davidlange6
Copy link
Contributor Author

abort

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Jenkins tests are aborted.

@davidlange6
Copy link
Contributor Author

i fooled myself into thinking it worked locally - but not yet the case

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Pull request #2797 was updated.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/cmsdist-test-pr/495/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Comparison job queued.

@davidlange6
Copy link
Contributor Author

@smuzaffar - any issues you see?

%define my_name %(echo %n | cut -f2 -d-)
%endif

Copy link
Contributor

Choose a reason for hiding this comment

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

I would have done

%if "%{?pip_name:set}" != "set"
%define pip_name  %(echo %n | cut -d- -f2-5)
%endif

and use pip_name in the rest of the file (instead of my_name).

@davidlange6
Copy link
Contributor Author

davidlange6 commented Feb 2, 2017 via email

py2-pippkgs.spec Outdated
# https://github.com/jupyter/jupyter_core/issues/55
#backports is an example directory that can have multiple packages inside
if [ $f != "backports" && $f != "jupyter.py" ] ; then
echo " Duplicate file found: $f"
Copy link
Contributor

Choose a reason for hiding this comment

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

so there are multiple package providing jupyter.py? May be better to update one package to delete its jupyter.py after the build.

@davidlange6
Copy link
Contributor Author

davidlange6 commented Feb 2, 2017 via email

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

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

The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Pull request #2797 was updated.

@davidlange6
Copy link
Contributor Author

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/cmsdist-test-pr/496/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 2, 2017

Comparison job queued.

@davidlange6 davidlange6 merged commit 818d180 into cms-sw:IB/CMSSW_9_0_X/gcc530 Feb 3, 2017
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