Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

daemon-base: add copr repo for python3-scikit-learn packages - #1821

Merged
dsavineau merged 1 commit into
ceph:masterfrom
tchaikov:add-python-scikit-learn-repo
Mar 11, 2021
Merged

dsavineau merged 1 commit into
ceph:masterfrom
tchaikov:add-python-scikit-learn-repo

Conversation

@tchaikov

Copy link
Copy Markdown
Contributor

the mgr failure prediction module needs this, and there is no package
packaged for CentOS8 or EPEL8.

see also https://bugzilla.redhat.com/show_bug.cgi?id=1844636

Signed-off-by: Kefu Chai [email protected]

Description of your changes:

Which issue is resolved by this Pull Request:
Resolves #

Checklist:

  • Documentation has been updated, if necessary.
  • Pending release notes updated with breaking and/or notable changes, if necessary.

@tchaikov
tchaikov requested review from dsavineau and liewegas March 11, 2021 08:31
@tchaikov
tchaikov force-pushed the add-python-scikit-learn-repo branch 2 times, most recently from 40b679b to 5518159 Compare March 11, 2021 08:35
@yaarith

yaarith commented Mar 11, 2021

Copy link
Copy Markdown

@tchaikov awesome, thanks!

I'm a bit confused, I see we install dnf-plugins-core with:

yum install -y dnf-plugins-core ; \

then enable the repo with:

yum copr enable -y tchaikov/python-scikit-learn ; \

but I don't see where the installation of the sklearn package itself is; not sure if I miss anything.

@dsavineau dsavineau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We need to handle this for CentOS 8 only otherwise all CentOS 7 build (like Nautilus) will fail.

You can replicate what we did with ktdreyer's copr repository [1] for smartmontools package.

[1] aa644a5

@tchaikov
tchaikov force-pushed the add-python-scikit-learn-repo branch 2 times, most recently from 80eb90d to 6a84b98 Compare March 11, 2021 16:14
@tchaikov

Copy link
Copy Markdown
Contributor Author

@dsavineau updated as suggested.

@dsavineau dsavineau left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

sorry I didn't pay attention to this earlier but I think this block should be outside the CEPH_VERSION =~ master|pacific condition as we want this for all releases based on CentOS 8 like Octopus (if I'm right).

@dsavineau dsavineau added backport-stable-5.0 Backports for stable Octopus branch backport-stable-6.0 Backports for stable Pacific branch feature labels Mar 11, 2021
* add copr repo for python3-scikit-learn packages
* install python3-scikit-learn package

the mgr failure prediction module needs this, and there is no package
packaged for CentOS8 or EPEL8.

Related BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1844636

Signed-off-by: Kefu Chai <[email protected]>
@tchaikov
tchaikov force-pushed the add-python-scikit-learn-repo branch from 6a84b98 to c7e83d6 Compare March 11, 2021 16:40
@tchaikov

Copy link
Copy Markdown
Contributor Author

@dsavineau thanks. could you take another look?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

backport-stable-5.0 Backports for stable Octopus branch backport-stable-6.0 Backports for stable Pacific branch feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants