[Bug 1980041] Review Request: python-xds-protos - ProtoBuf generated Python files for xDS protos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Major Hayden 🤠 <mhayden@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |mhayden@xxxxxxxxxx
              Flags|                            |fedora-review?
                   |                            |needinfo?(code@musicinmybra
                   |                            |in.net)



--- Comment #8 from Major Hayden 🤠 <mhayden@xxxxxxxxxx> ---
Does this package have directory conflicts with the existing
python3-opencensus-proto? (That's one I maintain and I am happy to transfer it
to you if you wish.) 😉

It failed when I tried to build it on rawhide in COPR:

 
https://copr.fedorainfracloud.org/coprs/mhayden/review-python-xds-proto/build/2347099/

+ /usr/bin/python3 generated_file_import_test.py
Traceback (most recent call last):
  File
"/builddir/build/BUILD/grpc-1.39.0/tools/distrib/python/xds_protos/generated_file_import_test.py",
line 179, in <module>
    from envoy.extensions.rate_limit_descriptors.expr.v3 import expr_pb2
  File
"/builddir/build/BUILD/grpc-1.39.0/tools/distrib/python/xds_protos/envoy/extensions/rate_limit_descriptors/expr/v3/expr_pb2.py",
line 14, in <module>
    from google.api.expr.v1alpha1 import syntax_pb2 as
google_dot_api_dot_expr_dot_v1alpha1_dot_syntax__pb2
ModuleNotFoundError: No module named 'google.api.expr'
error: Bad exit status from /var/tmp/rpm-tmp.2hhpnJ (%check)
    Bad exit status from /var/tmp/rpm-tmp.2hhpnJ (%check)


Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated
[ ] = Manual review needed


Issues:
=======
- Dist tag is present.


===== 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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "*No copyright* Apache License 2.0", "Unknown or generated",
     "BSD (3 clause)", "Apache License 2.0". 581 files have unknown
     license. Detailed output of licensecheck in /1980041-python-xds-
     protos/licensecheck.txt
[?]: Package does not own files or directories owned by other packages.
     Note: Dirs in package are owned also by: /usr/lib/python3.10/site-
     packages/opencensus(python3-opencensus-proto, python3-opencensus),
     /usr/lib/python3.10/site-packages/opencensus/proto(python3-opencensus-
     proto), /usr/lib/python3.10/site-
     packages/opencensus/proto/agent(python3-opencensus-proto),
     /usr/lib/python3.10/site-
     packages/opencensus/proto/metrics(python3-opencensus-proto),
     /usr/lib/python3.10/site-
     packages/opencensus/proto/resource(python3-opencensus-proto),
     /usr/lib/python3.10/site-
     packages/opencensus/proto/stats(python3-opencensus-proto),
     /usr/lib/python3.10/site-
     packages/opencensus/proto/trace(python3-opencensus-proto)
[x]: Package contains no bundled libraries without FPC exception.
[x]: Changelog in prescribed format.
[x]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[-]: 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.
[?]: Package does not generate any conflict.
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Requires correct, justified where necessary.
[x]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[x]: Package is not known to require an ExcludeArch tag.
[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]: Package requires other packages for directories it uses.
[x]: Package must own all directories that it creates.
[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]: 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]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 0 bytes in 0 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Python eggs must not download any dependencies during the build
     process.
[x]: 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:
[x]: 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).
[x]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[?]: Package should compile and build into binary rpms on all supported
     architectures.
[?]: %check is present and all tests pass.
[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
-------
Cannot parse rpmlint output:


Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://github.com/census-instrumentation/opencensus-proto/archive/4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89/opencensus-proto-4aa53e15cbf1a47bc9087e6cfdca214c1eea4e89.tar.gz
:
  CHECKSUM(SHA256) this package     :
27b7982d3ab3a0a66e09d997bbb373e1c83a48abad6da09bbc866428f443a727
  CHECKSUM(SHA256) upstream package :
27b7982d3ab3a0a66e09d997bbb373e1c83a48abad6da09bbc866428f443a727
https://github.com/envoyproxy/protoc-gen-validate/archive/872b28c457822ed9c2a5405da3c33f386ac0e86f/protoc-gen-validate-872b28c457822ed9c2a5405da3c33f386ac0e86f.tar.gz
:
  CHECKSUM(SHA256) this package     :
388ea2261bc1d2c6ef6ec01bfaa3aec451aedb245e23514033ccc9b5cc10c4ab
  CHECKSUM(SHA256) upstream package :
388ea2261bc1d2c6ef6ec01bfaa3aec451aedb245e23514033ccc9b5cc10c4ab
https://github.com/googleapis/googleapis/archive/82944da21578a53b74e547774cf62ed31a05b841/googleapis-82944da21578a53b74e547774cf62ed31a05b841.tar.gz
:
  CHECKSUM(SHA256) this package     :
a45019af4d3290f02eaeb1ce10990166978c807cb33a9692141a076ba46d1405
  CHECKSUM(SHA256) upstream package :
a45019af4d3290f02eaeb1ce10990166978c807cb33a9692141a076ba46d1405
https://github.com/cncf/udpa/archive/cc1b757b3eddccaaaf0743cbb107742bb7e3ee4f/udpa-cc1b757b3eddccaaaf0743cbb107742bb7e3ee4f.tar.gz
:
  CHECKSUM(SHA256) this package     :
822a007cf155855d0c08a2e753a39e222e5816b904436196244066a818a8a230
  CHECKSUM(SHA256) upstream package :
822a007cf155855d0c08a2e753a39e222e5816b904436196244066a818a8a230
https://github.com/envoyproxy/data-plane-api/archive/18b54850c9b7ba29a4ab67cbd7ed7eab7b0bbdb2/data-plane-api-18b54850c9b7ba29a4ab67cbd7ed7eab7b0bbdb2.tar.gz
:
  CHECKSUM(SHA256) this package     :
4423bef0ab15053dca0f723cbdaf4b48ab145e9d8158f02e33028c66fb1d20e0
  CHECKSUM(SHA256) upstream package :
4423bef0ab15053dca0f723cbdaf4b48ab145e9d8158f02e33028c66fb1d20e0
https://github.com/grpc/grpc/archive/v1.39.0/grpc-1.39.0.tar.gz :
  CHECKSUM(SHA256) this package     :
b16992aa1c949c10d5d5ce2a62f9d99fa7de77da2943e643fb66dcaf075826d6
  CHECKSUM(SHA256) upstream package :
b16992aa1c949c10d5d5ce2a62f9d99fa7de77da2943e643fb66dcaf075826d6


Requires
--------
python3-xds-protos (rpmlib, GLIBC filtered):
    python(abi)
    python3.10dist(grpcio)
    python3.10dist(protobuf)
    python3dist(googleapis-common-protos)
    python3dist(opencensus-proto)



Provides
--------
python3-xds-protos:
    python-xds-protos
    python3-xds-protos
    python3.10-xds-protos
    python3.10dist(xds-protos)
    python3dist(xds-protos)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1980041
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api, Python
Disabled plugins: Ocaml, C/C++, SugarActivity, Java, Perl, Haskell, PHP, fonts,
R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH


-- 
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
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux