Spec URL: http://fedorapeople.org/~pbrady/python-taskflow.spec SRPM URL: http://fedorapeople.org/~pbrady/python-taskflow-0.1.2-1.fc20.src.rpm Description: A library to do [jobs, tasks, flows] in a HA manner using different backends to be used with OpenStack projects. Fedora Account System Username: pbrady
This should also build a python3 package?
Well not on epel7 at least. We can add that later when required
Pádraig, you can not review your own packages. The review-? flag should only be raised by the reviewer.
Issues, I currently see: - missing tests - requirements listed upstream: # Packages needed for using this library. pbr>=0.5.21,<1.0 anyjson>=0.3.3 iso8601>=0.1.8 # Python 2->3 compatibility library. six>=1.4.1 # Very nice graph library networkx>=1.8 Babel>=1.3 # Used for backend storage engine loading. stevedore>=0.12 # Backport for concurrent.futures which exists in 3.2+ futures>=2.1.3 I can not find those in the package - python3 support missing, as I think we should do this right from the beginning - please adjust to meet the guidelines: https://fedoraproject.org/wiki/Packaging:Python ( __python-> __python2, etc.)
Spec URL: http://fedorapeople.org/~pbrady/python-taskflow.spec SRPM URL: http://fedorapeople.org/~pbrady/python-taskflow-0.1.2-2.fc20.src.rpm
Re. python3 support - it's nice to have, but not required. Upstream does declare py3 is supported https://pypi.python.org/pypi/taskflow/0.1.2 but currently only user is openstack-cinder which is py2, for now.
This needs to be fixed: [-]: Package does not own files or directories owned by other packages. Note: Dirs in package are owned also by: /usr/lib/python2.7/site-packages (python-libs) -%{python_sitelib} +%{python_sitelib}/%{pypi_name} +%{python_sitelib}/%{pypi_name}-%{version}-py?.?.egg-info
Spec URL: http://fedorapeople.org/~pbrady/python-taskflow.spec SRPM URL: http://fedorapeople.org/~pbrady/python-taskflow-0.1.2-3.fc20.src.rpm
Sorry Pádraig, fedora-review didn't show me this in the previous run, dunno why. Should be an easy fix: Issues: ======= - Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 1423360 bytes in 82 files. See: http://fedoraproject.org/wiki/Packaging/Guidelines#PackageDocumentation
Seems like a bug in fedora-review or something as here docs are only 262729 (67K compressed). Anyway I'll split out just in case
Spec URL: http://fedorapeople.org/~pbrady/python-taskflow.spec SRPM URL: http://fedorapeople.org/~pbrady/python-taskflow-0.1.2-4.fc20.src.rpm
APPROVED Some nits below, along with full review report. > Seems like a bug in fedora-review or something as here docs are only 262729 > (67K compressed). Seems f20/f21 buildroot difference, did you have any exceptions from Sphinx during the build? 1,5M rpms-unpacked/python-taskflow-doc-0.1.2-4.fc21.noarch.rpm/usr/share/doc/python-taskflow-doc/html/ Nice-to-haves (not review blockers) * requires.txt in python RPM is best to be avoided, let RPM resolve deps ./usr/lib/python2.7/site-packages/taskflow-0.1.2-py2.7.egg-info/requires.txt * tests not needed for runtime (if really want, ship in -test subpkg?) ./usr/lib/python2.7/site-packages/taskflow/tests * but run them during build in %check SHOULD [!]: %check is present and all tests pass. [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated ===== 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. [x]: License file installed when any subpackage combination is installed. [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 [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. [-]: 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]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of 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 %doc. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package does not own files or directories owned by other packages. [x]: All build dependencies are listed in BuildRequires, except for any that are listed in the exceptions section of Packaging Guidelines. [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 use %makeinstall only when make install' ' DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package do not use a name that already exist [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: [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]: 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). [-]: Fully versioned dependency in subpackages if applicable. [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: 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]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [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]: Dist tag is present (not strictly required in GL). [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [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: No rpmlint messages. [x]: Spec file according to URL is the same as in SRPM. Rpmlint ------- Checking: python-taskflow-0.1.2-4.fc21.noarch.rpm python-taskflow-doc-0.1.2-4.fc21.noarch.rpm python-taskflow-0.1.2-4.fc21.src.rpm python-taskflow.src: W: spelling-error %description -l en_US backends -> back ends, back-ends, backhands 3 packages and 0 specfiles checked; 0 errors, 1 warnings. Rpmlint (installed packages) ---------------------------- # rpmlint python-taskflow python-taskflow-doc 2 packages and 0 specfiles checked; 0 errors, 0 warnings. # echo 'rpmlint-done:' Requires -------- python-taskflow (rpmlib, GLIBC filtered): python(abi) python-anyjson python-babel python-futures python-iso8601 python-networkx python-six python-stevedore python-taskflow-doc (rpmlib, GLIBC filtered): Provides -------- python-taskflow: python-taskflow python-taskflow-doc: python-taskflow-doc Source checksums ---------------- http://pypi.python.org/packages/source/t/taskflow/taskflow-0.1.2.tar.gz : CHECKSUM(SHA256) this package : 62e5732cdb342cb0f2e45674297b4bc65d06751f23082c38c93f74ce88797686 CHECKSUM(SHA256) upstream package : 62e5732cdb342cb0f2e45674297b4bc65d06751f23082c38c93f74ce88797686 Generated by fedora-review 0.5.1 (bb9bf27) last change: 2013-12-13 Command line :/usr/bin/fedora-review -b 1058445 -m fedora-rawhide-x86_64 Buildroot used: fedora-rawhide-x86_64 Active plugins: Python, Generic, Shell-api Disabled plugins: Java, C/C++, fonts, SugarActivity, Ocaml, Perl, Haskell, R, PHP, Ruby Disabled flags: EXARCH, EPEL5, BATCH, DISTTAG
New Package SCM Request ======================= Package Name: python-taskflow Short Description: Taskflow structured state management library Owners: pbrady eharney Branches: f20 el6 epel7 InitialCC:
Git done (by process-git-requests).