https://bugzilla.redhat.com/show_bug.cgi?id=2539211



--- Comment #6 from Peter Robinson <[email protected]> ---
(In reply to Javier Martinez Canillas from comment #5)
> I've run fedora-review and the following is the report (NOTE: it failed to
> build in rawhide so I did a `fedora-review -b 2539211 -m fedora-45-x86_64`).

Yes, I believe that's due to pytorch bumps/moving targets, will work out the
matching revs when I push and coord the diff vers for different releases at
that point.

> Issues:
> =======
> - [!] License field is BSD-3-Clause. But sources contain Apache-2.0
>   (base64.h, tiktoken.cpp) and MIT (third-party/llama.cpp-unicode/).
>   License tag should be: BSD-3-Clause AND Apache-2.0 AND MIT
> - [!] Header files (.h) installed inside the main python3-pytorch-tokenizers
>   package under site-packages/pytorch_tokenizers/include/. These should be
>   excluded from the wheel or moved to the -devel subpackage, unless they are
>   needed at runtime.
> - [!] Static libraries in python3-pytorch-tokenizers-devel but package
>   does not Provides: python3-pytorch-tokenizers-devel-static.
> - [!] Missing versioned dependency: python3-pytorch-tokenizers-devel should
>   have Requires: python3-pytorch-tokenizers%{?_isa} = %{version}-%{release}
> - [!] /usr/include/pytorch is not owned by any existing package. The -devel
>   subpackage should own it.
> - [!] %define with_tests 1 should be %global with_tests 1

All of those are addressed.

> - [?] third-party/llama.cpp-unicode/ is present in the source. If these files
>   are bundled, a Provides: bundled(llama-cpp-unicode) is needed.

It includes in the build a couple of headers (`unicode.h` and `unicode-data.h`)
that are included from the upstream llama.cpp project, so it's not bundled
per-se but I can add that provides if necessary (it wasn't clear to me as it's
not a bundled library).

SPEC: https://pbrobinson.fedorapeople.org/python-pytorch-tokenizers.spec
SRPM:
https://pbrobinson.fedorapeople.org/python-pytorch-tokenizers-1.4.1-4.fc44.src.rpm

koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=151582430


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2539211

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202539211%23c6

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to