Bug 2491615
| Summary: | Review Request: python-anthropic - The official Python library for the anthropic API | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chenxiong Qi <qcxhome> |
| Component: | Package Review | Assignee: | Peter Lemenkov <lemenkov> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | lemenkov, package-review |
| Target Milestone: | --- | Flags: | lemenkov:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | --- | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-07-12 11:48:38 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Chenxiong Qi
2026-06-23 02:42:13 UTC
I'll review it. I can't find any issues so here is my formal
Package Review
==============
Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed
===== MUST items =====
Generic:
[x]: Package is licensed with an open-source compatible license and meets
other legal requirements as defined in the legal section of Packaging
Guidelines.
[x]: License field in the package spec file matches the actual license (MIT).
[x]: Package owns all directories that it creates.
[x]: Package contains no bundled libraries.
[x]: Sources contain only permissible code or content.
[-]: Package does not contain desktop file (not a GUI application).
[-]: Package doesn't have any separate development files.
[x]: Package uses nothing in %doc for runtime.
[x]: Package consistently uses macros (instead of hard-coded directory
names).
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: The package is not a rename of another package.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package does not contains a systemd file(s).
[x]: Package is not known to require an ExcludeArch tag.
[-]: No large documentation files.
[x]: Package complies to the Packaging Guidelines
[x]: Package successfully compiles and builds into binary rpms on at least
one supported primary architecture.
[x]: Package installs properly.
[x]: Rpmlint is run on all rpms the build produces.
Note: There are rpmlint messages (see attachment).
[x]: If (and only if) the source package includes the text of the
license(s) in its own file, then that file, containing the text of the
license(s) for the package is included in %license.
[x]: The License field must be a valid SPDX expression.
[x]: Package requires other packages for directories it uses.
[x]: Package does not own files or directories owned by other packages.
[x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
beginning of %install.
[x]: Macros in Summary, %description expandable at SRPM build time.
[x]: Dist tag is present.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Package must not depend on deprecated() packages.
[x]: Package use %makeinstall only when make install DESTDIR=... doesn't
work.
[x]: Package is named using only allowed ASCII characters.
[x]: Package does not use a name that already exists.
[x]: Package is not relocatable.
[x]: Sources used to build the package match the upstream source, as
provided in the spec URL.
[x]: Spec file name must match the spec package %{name}, in the format
%{name}.spec.
[x]: File names are valid UTF-8.
[x]: Packages must not store files under /srv, /opt or /usr/local
Python:
[-]: No python eggs.
[-]: A package which is used by another package via an egg interface should
provide egg info.
[x]: Package meets the Packaging Guidelines::Python
[x]: Package contains BR: python2-devel or python3-devel
[x]: Packages MUST NOT have dependencies (either build-time or runtime) on
packages named with the unversioned python- prefix unless no properly
versioned package exists. Dependencies on Python packages instead MUST
use names beginning with python2- or python3- as appropriate.
[x]: Python packages must not contain %{pythonX_site(lib|arch)}/* in %files
[x]: Binary eggs must be removed in %prep
===== SHOULD items =====
Generic:
[-]: If the source package does not include license text(s) as a separate
file from upstream, the packager SHOULD query upstream to include it.
[x]: Final provides and requires are sane (see attachments).
[-]: I did not test if the package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
justified.
[-]: Sources weren't verified with gpgverify first in %prep. Upstream does
not publish signatures.
[-]: I did not test if the package compiles and builds into binary rpms
on all supported architectures. It is noarch anyway.
[x]: %check is present and all tests pass (only imports).
[x]: Packages should try to preserve timestamps of original installed
files.
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
$RPM_BUILD_ROOT)
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[x]: Sources can be downloaded from URI in Source: tag
[x]: SourceX is a working URL.
[x]: Spec use %global instead of %define unless justified.
===== EXTRA items =====
Generic:
[x]: Rpmlint is run on all installed packages.
Note: There are rpmlint messages (see attachment).
[x]: Spec file according to URL is the same as in SRPM.
Rpmlint
-------
Checking: python3-anthropic-0.87.0-1.fc45.noarch.rpm
python-anthropic-0.87.0-1.fc45.src.rpm
============================ rpmlint session starts ============================
rpmlint: 2.8.0
configuration:
/usr/lib/python3.14/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
rpmlintrc: [PosixPath('/tmp/tmppvs99ugp')]
checks: 32, packages: 2
python3-anthropic.noarch: W: hidden-file-or-dir /usr/lib/python3.15/site-packages/anthropic/lib/.keep
python3-anthropic.noarch: W: hidden-file-or-dir /usr/share/doc/python3-anthropic/examples/.keep
^^^ minor, consider just removing these. Not a blocker.
python3-anthropic.noarch: E: env-script-interpreter /usr/share/doc/python3-anthropic/examples/messages_stream.py /usr/bin/env -S rye run python
^^^ Examples. Survivable.
python-anthropic.src: E: description-line-too-long The Claude SDK for Python provides access to the Claude API from Python applications.
python3-anthropic.noarch: E: description-line-too-long The Claude SDK for Python provides access to the Claude API from Python applications.
2 packages and 0 specfiles checked; 3 errors, 2 warnings, 15 filtered, 3 badness; has taken 0.9 s
^^^ Maybe shorten it a little? Not a blocker.
Rpmlint (installed packages)
----------------------------
============================ rpmlint session starts ============================
rpmlint: 2.9.0
configuration:
/usr/lib/python3.15/site-packages/rpmlint/configdefaults.toml
/etc/xdg/rpmlint/fedora-spdx-licenses.toml
/etc/xdg/rpmlint/fedora.toml
/etc/xdg/rpmlint/scoring.toml
/etc/xdg/rpmlint/users-groups.toml
/etc/xdg/rpmlint/warn-on-functions.toml
checks: 32, packages: 1
python3-anthropic.noarch: W: hidden-file-or-dir /usr/lib/python3.15/site-packages/anthropic/lib/.keep
python3-anthropic.noarch: W: hidden-file-or-dir /usr/share/doc/python3-anthropic/examples/.keep
python3-anthropic.noarch: E: env-script-interpreter /usr/share/doc/python3-anthropic/examples/messages_stream.py /usr/bin/env -S rye run python
python3-anthropic.noarch: E: description-line-too-long The Claude SDK for Python provides access to the Claude API from Python applications.
1 packages and 0 specfiles checked; 2 errors, 2 warnings, 11 filtered, 2 badness; has taken 0.5 s
Source checksums
----------------
https://files.pythonhosted.org/packages/source/a/anthropic/anthropic-0.87.0.tar.gz :
CHECKSUM(SHA256) this package : 098fef3753cdd3c0daa86f95efb9c8d03a798d45c5170329525bb4653f6702d0
CHECKSUM(SHA256) upstream package : 098fef3753cdd3c0daa86f95efb9c8d03a798d45c5170329525bb4653f6702d0
Requires
--------
python3-anthropic (rpmlib, GLIBC filtered):
(python3.15dist(anyio) < 5~~ with python3.15dist(anyio) >= 3.5)
(python3.15dist(distro) < 2~~ with python3.15dist(distro) >= 1.7)
(python3.15dist(docstring-parser) < 1~~ with python3.15dist(docstring-parser) >= 0.15)
(python3.15dist(httpx) < 1~~ with python3.15dist(httpx) >= 0.25)
(python3.15dist(jiter) < 1~~ with python3.15dist(jiter) >= 0.4)
(python3.15dist(pydantic) < 3~~ with python3.15dist(pydantic) >= 1.9)
(python3.15dist(typing-extensions) < 5~~ with python3.15dist(typing-extensions) >= 4.14)
python(abi)
python3.15dist(sniffio)
Provides
--------
python3-anthropic:
python-anthropic
python3-anthropic
python3.15-anthropic
python3.15dist(anthropic)
python3dist(anthropic)
Generated by fedora-review 0.11.0 (05c5b26) last change: 2025-11-29
Command line :/usr/bin/fedora-review -b 2491615
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, Generic, Python
Disabled plugins: Ocaml, Perl, Java, PHP, Haskell, fonts, R, SugarActivity, C/C++
Disabled flags: EXARCH, EPEL6, EPEL7, DISTTAG, BATCH
This package is
================
=== APPROVED ===
================
The Pagure repository was created at https://src.fedoraproject.org/rpms/python-anthropic Monitoring: Wasn't able to create project in Anitya. You can create it manually on: `https://release-monitoring.org` @qcxhome are you going to build it for other branches or just for Rawhide? Hi Peter, I currently don't have plan to build it for other branches, since I'm just building hermes-agent for rawhide. Do you want to use python-anthropic in other branches for now? (In reply to Chenxiong Qi from comment #5) > Hi Peter, I currently don't have plan to build it for other branches, since > I'm just building hermes-agent for rawhide. Do you want to use > python-anthropic in other branches for now? Nope. I do not plan to use it in any other branches. I just wanted to get the status of this ticket. Since you do not plan to build it in any other branches and build is available for Rawhide I believe its safe to close this ticket as RAWHIDE. |