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
build/ops: rpm: put mgr python build dependencies in make_check bcond #15940
Conversation
7ce8770
to
b3e54d8
Compare
Do we know of any other build dependencies that are only needed for "make check" and could be moved into the conditional? |
Fixes: http://tracker.ceph.com/issues/20425 Signed-off-by: Nathan Cutler <ncutler@suse.com> Signed-off-by: Tim Serong <tserong@suse.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
%if 0%{with make_check} | ||
%if 0%{?fedora} || 0%{?rhel} | ||
BuildRequires: python-cherrypy | ||
BuildRequires: python-werkzeug |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the dashboard ceph-mgr plugin depends on cherrypy at run-time, and the restful plugin depends on werkzeug.
so we need them unless they are packaged separately.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They're still there as runtime Requires, so that should be fine...?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just moves the build-time dependencies, the runtime dependencies are still in place. I would like to see a full jenkins builder job for this though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh, right! i missed that!
Pushed to Shaman: https://shaman.ceph.com/builds/ceph/wip-20425/ |
@b-ranto Shaman is green |
Fixes: http://tracker.ceph.com/issues/20425
Quoting from the tracker:
Note that this is RPM-only (at least for now) since the "make_check" bcond itself if RPM-only.