Re: python packaging assistance sought for xgboost

2023-12-18 Thread Miro Hrončok
On 12. 12. 23 7:56, Nathan Scott wrote: Thanks Miro - that size pointer was helpful. Indeed, the only thing in the wheel are 3 metadata files. Things seem to be OK up to this point in the upstream hatchling build:

Re: python packaging assistance sought for xgboost

2023-12-11 Thread Nathan Scott
Thanks Miro - that size pointer was helpful. Indeed, the only thing in the wheel are 3 metadata files. Things seem to be OK up to this point in the upstream hatchling build: https://github.com/dmlc/xgboost/blob/43897b829680d241491abe1ecd46b2ba9d338967/python-package/packager/pep517.py#L86 ...

Re: python packaging assistance sought for xgboost

2023-12-11 Thread Miro Hrončok
On 10. 12. 23 23:05, Nathan Scott wrote: Thanks for the assistance Miro. I've uploaded a local build log here: https://nathans.fedorapeople.org/xgboost/build.log AFAICS the python parts of the %install step seemed to have worked, but based on Sandro's pointer I can see many files are

Re: python packaging assistance sought for xgboost

2023-12-10 Thread Nathan Scott
Thanks for the assistance Miro. I've uploaded a local build log here: https://nathans.fedorapeople.org/xgboost/build.log AFAICS the python parts of the %install step seemed to have worked, but based on Sandro's pointer I can see many files are missing. cheers. -- Nathan --

Re: python packaging assistance sought for xgboost

2023-12-10 Thread Nathan Scott
Thanks for the assistance Sandro! What I see is ... BUILDROOT/xgboost-2.0.2-1.fc39.aarch64/usr/[...] <- all manner of files from the C++ build/install, then ... BUILDROOT/xgboost-2.0.2-1.fc39.aarch64/usr/lib BUILDROOT/xgboost-2.0.2-1.fc39.aarch64/usr/lib/python3.12

Re: python packaging assistance sought for xgboost

2023-12-10 Thread Miro Hrončok
On 08. 12. 23 7:22, Nathan Scott wrote: Hi all, I've recently been packaging xgboost for Fedora. It's a C++ project using cmake, with a python module on the side (all in one source tarball): https://nathans.fedorapeople.org/xgboost/ The dependent dmlc-core package is here:

Re: python packaging assistance sought for xgboost

2023-12-08 Thread Sandro
On 08-12-2023 07:22, Nathan Scott wrote: ValueError: Globs did not match any module: xgboost This sounds like the module is not installed where you think it is. In other words %{pyproject_files} would be empty because the glob (xgboost) after %pyproject_save_files doesn't match anything.

python packaging assistance sought for xgboost

2023-12-07 Thread Nathan Scott
Hi all, I've recently been packaging xgboost for Fedora. It's a C++ project using cmake, with a python module on the side (all in one source tarball): https://nathans.fedorapeople.org/xgboost/ The dependent dmlc-core package is here: https://nathans.fedorapeople.org/dmlc-core/ Everything is