Bug 1358357 (python-pygpgme)
| Summary: | Review Request: python-pygpgme - Python module for working with OpenPGP messages | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Igor Gnatenko <ignatenko> |
| Component: | Package Review | Assignee: | Gwyn Ciesla <gwync> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | CC: | package-review |
| Target Milestone: | --- | Flags: | gwync:
fedora-review+
|
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-28 23:53:15 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
Igor Gnatenko
2016-07-20 14:55:15 UTC
UPGRADEPATH is still OK: [ignatenk@ignatenko obsoletes]$ cat tt.t repo system 0 testtags <inline> #>=Pkg: pygpgme 0.3 16 x86_64 #>=Pkg: python3-pygpgme 0.3 16 x86_64 repo available 0 testtags <inline> #>=Pkg: python2-pygpgme 0.3 17 x86_64 #>=Prv: pygpgme = 0.3-17 #>=Obs: pygpgme < 0.3-17 #>=Pkg: python3-pygpgme 0.3 17 x86_64 system x86_64 rpm system poolflags implicitobsoleteusescolors solverflags allowvendorchange keepexplicitobsoletes bestobeypolicy keeporphans yumobsoletes job update all packages [ignatenk@ignatenko obsoletes]$ testsolv tt.t Transaction summary: 2 upgraded packages: - pygpgme-0.3-16.x86_64 -> python2-pygpgme-0.3-17.x86_64 - python3-pygpgme-0.3-16.x86_64 -> python3-pygpgme-0.3-17.x86_64 - rpmlint checks return:
python-pygpgme.src: W: spelling-error %description -l en_US decrypt -> decry pt, decry-pt, decry
The value of this tag appears to be misspelled. Please double-check.
Ignore.
- package meets naming guidelines
- package meets packaging guidelines
- license ( LGPLv2+ ) OK, text in %doc, matches source
- spec file legible, in am. english
- source matches upstream
! package compiles on devel (x86)
mock build succeeds on f24 but fails on rawhide:
test_edit_ownertrust (tests.test_editkey.EditKeyTestCase) ... ERROR
test_edit_quit (tests.test_editkey.EditKeyTestCase) ... ERROR
test_edit_sign (tests.test_editkey.EditKeyTestCase) ... ERROR
test_invalid_parameters (tests.test_genkey.GenerateKeyTestCase) ... ok
======================================================================
ERROR: test_edit_ownertrust (tests.test_editkey.EditKeyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 63, in test_edit_ownertrust
gpgme.editutil.edit_trust(ctx, key, trust)
File "/builddir/build/BUILDROOT/python-pygpgme-0.3-17.fc25.i386/usr/lib/python2.7/site-packages/gpgme/editutil.py", line 75, in wrapper
ctx.edit(key, edit_callback, output)
GpgmeError: (32, 1, u'General error')
======================================================================
ERROR: test_edit_quit (tests.test_editkey.EditKeyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 48, in test_edit_quit
ctx.edit(key, self.edit_quit_cb, output)
GpgmeError: (0, 32779, u'Bad file descriptor')
======================================================================
ERROR: test_edit_sign (tests.test_editkey.EditKeyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 80, in test_edit_sign
gpgme.editutil.edit_sign(ctx, key, check=0)
File "/builddir/build/BUILDROOT/python-pygpgme-0.3-17.fc25.i386/usr/lib/python2.7/site-packages/gpgme/editutil.py", line 75, in wrapper
ctx.edit(key, edit_callback, output)
GpgmeError: (32, 1, u'General error')
----------------------------------------------------------------------
Ran 55 tests in 49.505s
FAILED (errors=3)
- no missing BR
! no unnecessary BR
Explicit gcc BR is not needed, remove.
- no locales
- not relocatable
- owns all directories that it creates
- no duplicate files
- permissions ok
- %clean ok
- macro use consistent
- code, not content
- no need for -docs
- nothing in %doc affects runtime
- no need for .desktop file
So it's just the tests in rawhide, and the BR.
(In reply to Jon Ciesla from comment #2) > - rpmlint checks return: > > python-pygpgme.src: W: spelling-error %description -l en_US decrypt -> decry > pt, decry-pt, decry > The value of this tag appears to be misspelled. Please double-check. > > Ignore. > > - package meets naming guidelines > - package meets packaging guidelines > - license ( LGPLv2+ ) OK, text in %doc, matches source > - spec file legible, in am. english > - source matches upstream > ! package compiles on devel (x86) > > mock build succeeds on f24 but fails on rawhide: > > test_edit_ownertrust (tests.test_editkey.EditKeyTestCase) ... ERROR > test_edit_quit (tests.test_editkey.EditKeyTestCase) ... ERROR > test_edit_sign (tests.test_editkey.EditKeyTestCase) ... ERROR > test_invalid_parameters (tests.test_genkey.GenerateKeyTestCase) ... ok > > ====================================================================== > ERROR: test_edit_ownertrust (tests.test_editkey.EditKeyTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 63, > in test_edit_ownertrust > gpgme.editutil.edit_trust(ctx, key, trust) > File > "/builddir/build/BUILDROOT/python-pygpgme-0.3-17.fc25.i386/usr/lib/python2.7/ > site-packages/gpgme/editutil.py", line 75, in wrapper > ctx.edit(key, edit_callback, output) > GpgmeError: (32, 1, u'General error') > > ====================================================================== > ERROR: test_edit_quit (tests.test_editkey.EditKeyTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 48, > in test_edit_quit > ctx.edit(key, self.edit_quit_cb, output) > GpgmeError: (0, 32779, u'Bad file descriptor') > > ====================================================================== > ERROR: test_edit_sign (tests.test_editkey.EditKeyTestCase) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/builddir/build/BUILD/pygpgme-0.3/tests/test_editkey.py", line 80, > in test_edit_sign > gpgme.editutil.edit_sign(ctx, key, check=0) > File > "/builddir/build/BUILDROOT/python-pygpgme-0.3-17.fc25.i386/usr/lib/python2.7/ > site-packages/gpgme/editutil.py", line 75, in wrapper > ctx.edit(key, edit_callback, output) > GpgmeError: (32, 1, u'General error') > > ---------------------------------------------------------------------- > Ran 55 tests in 49.505s > > FAILED (errors=3) > > > - no missing BR > ! no unnecessary BR > > Explicit gcc BR is not needed, remove. It is needed. According new packaging guidelines we should specify ALL dependencies. > > - no locales > - not relocatable > - owns all directories that it creates > - no duplicate files > - permissions ok > - %clean ok > - macro use consistent > - code, not content > - no need for -docs > - nothing in %doc affects runtime > - no need for .desktop file > > > So it's just the tests in rawhide, and the BR. Will check what's wrong with tests. Spec URL: https://ignatenkobrain.fedorapeople.org/for-review/python-pygpgme.spec SRPM URL: https://ignatenkobrain.fedorapeople.org/for-review/python-pygpgme-0.3-18.fc24.src.rpm Note it requires gnupg-2.1.13 along with gpgme-0.6.0-2. Tests fixed. Actually it's bug from: https://bugzilla.redhat.com/show_bug.cgi?id=1359521 Ok, looks good. APPROVED. Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/python-pygpgme gpgme-1.6.0-3.fc23 python-pygpgme-0.3-18.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-33b89975fe gpgme-1.6.0-3.fc24 python-pygpgme-0.3-18.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-198d93bc53 gpgme-1.6.0-3.fc23, python-pygpgme-0.3-18.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-33b89975fe gpgme-1.6.0-3.fc24, python-pygpgme-0.3-18.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-198d93bc53 gpgme-1.6.0-3.fc24, python-pygpgme-0.3-18.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. gpgme-1.6.0-3.fc23, python-pygpgme-0.3-18.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report. |