Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888443 - dev-python/stapler-1.0.0_p20220330 with PyPDF2-3.0.0 fails tests
Summary: dev-python/stapler-1.0.0_p20220330 with PyPDF2-3.0.0 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-25 19:34 UTC by Agostino Sarubbo
Modified: 2022-12-28 16:10 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,79.44 KB, text/plain)
2022-12-25 19:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-12-25 19:34:06 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/stapler-1.0.0_p20220330 fails tests (DASH-SYSTEM).
Discovered on: amd64 (internal ref: dash_tinderbox)

NOTE:
(DASH-SYSTEM) in the summary means that the bug was found on a machine that runs /bin/sh as dash but this bug MAY or MAY NOT BE related to dash.
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-25 19:34:08 UTC
Created attachment 844899 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-25 19:34:09 UTC
Error(s) that match a know pattern:


FAILED (errors=9)
Make sure a file is properly split into pages. ... Error: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
PyPDF2.errors.DeprecationError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
staplelib.CommandError: PdfFileReader is deprecated and was removed in PyPDF2 3.0.0. Use PdfReader instead.
Comment 3 Larry the Git Cow gentoo-dev 2022-12-28 15:44:11 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4269de469179e1b3256557451146b6a9ef4216a

commit e4269de469179e1b3256557451146b6a9ef4216a
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2022-12-28 15:43:06 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2022-12-28 15:44:05 +0000

    dev-python/stapler: don't allow PyPDF2-3.x yet
    
    Closes: https://bugs.gentoo.org/888443
    
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 dev-python/stapler/stapler-1.0.0_p20220330.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-28 16:10:56 UTC
Needs a revbump to avoid being broken at runtime unless it failed to install w/o tests.