Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 853130 - dev-python/PyPDF2-2.3.1 fails tests: PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm
Summary: dev-python/PyPDF2-2.3.1 fails tests: PyPDF2.errors.DependencyError: PyCryptod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 06:00 UTC by Agostino Sarubbo
Modified: 2022-06-20 06:39 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,146.68 KB, text/plain)
2022-06-20 06:00 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-06-20 06:00:34 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/PyPDF2-2.3.1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-20 06:00:36 UTC
Created attachment 786380 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-20 06:00:37 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


E       PyPDF2.errors.DependencyError: PyCryptodome is required for AES algorithm
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc6.pdf]
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc7.pdf]
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc8.pdf]
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enc9.pdf]
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/enca.pdf]
FAILED tests/test_encryption.py::test_encryption[/var/tmp/portage/dev-python/PyPDF2-2.3.1/work/PyPDF2-2.3.1/resources/encryption/encb.pdf]
Comment 3 Larry the Git Cow gentoo-dev 2022-06-20 06:39:47 UTC
The bug has been closed via the following commit(s):

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

commit ff31e7fd3b2b69a5fc53db13e5b8a8e1ec9974b1
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-06-20 06:39:24 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-20 06:39:44 +0000

    dev-python/PyPDF2: Add test dep on dev-python/pycryptodome
    
    Closes: https://bugs.gentoo.org/853130
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/PyPDF2/PyPDF2-2.3.1.ebuild | 3 +++
 1 file changed, 3 insertions(+)