Summary: | dev-python/bcrypt-4.1.[12] breaks bcrypt support in dev-python/passlib-1.7.4-r2 (and by extension, ansible) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Stuart Longland <stuartl> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | mgorny, openstack, prometheanfire, stuartl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://foss.heptapod.net/python-libs/passlib/-/issues/190 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Hacked up ebuild for bcrypt-4.0.1 |
Description
Stuart Longland
2024-02-23 04:44:07 UTC
Created attachment 885760 [details]
Hacked up ebuild for bcrypt-4.0.1
Installing `bcrypt-4.0.1` via this ebuild script restored `bcrypt` functionality in `passlib`.
That sounds like a bug in ansible. FWICS passlib is emitting a warning. My guess is that something is either treating warnings as errors (which is a bad idea for production setup), or reading output from stderr. Sure, it's not perfect. What's even less perfect is that passlib is clearly dead at this point, so I'd say ansible is equally at fault for still using it. That said, feel free to make a merge request upstream and I'll add the patch to Gentoo then. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e015b65b74283a51893672739c5e4784b95273 commit c1e015b65b74283a51893672739c5e4784b95273 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-04-25 12:30:53 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-04-25 12:51:56 +0000 dev-python/passlib: Fix warning with dev-python/bcrypt-4.1.1 Fix a warning due to `dev-python/bcrypt` removing `bcrypt.__about__`. Apparently this breaks random packages. Closes: https://bugs.gentoo.org/925289 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/passlib/files/passlib-1.7.4-bcrypt-4.1.patch | 13 +++++++++++++ .../{passlib-1.7.4-r2.ebuild => passlib-1.7.4-r3.ebuild} | 10 +++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) |