Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 949850 - www-apps/radicale-3.4.1 fails test - [gcc-15] E ModuleNotFoundError: No module named bcrypt
Summary: www-apps/radicale-3.4.1 fails test - [gcc-15] E ModuleNotFoundError: No modul...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2025-02-16 19:16 UTC by Toralf Förster
Modified: 2025-02-19 11:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.89 KB, text/plain)
2025-02-16 19:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.04 KB, text/plain)
2025-02-16 19:16 UTC, Toralf Förster
Details
environment (environment,160.03 KB, text/plain)
2025-02-16 19:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-02-16 19:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.73 KB, application/x-xz)
2025-02-16 19:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.18 KB, application/x-xz)
2025-02-16 19:16 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,123.49 KB, text/plain)
2025-02-16 19:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,49.95 KB, application/x-xz)
2025-02-16 19:16 UTC, Toralf Förster
Details
www-apps:radicale-3.4.1:20250216-190622.log.xz (www-apps:radicale-3.4.1:20250216-190622.log.xz,17.30 KB, application/x-xz)
2025-02-16 19:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-02-16 19:16:00 UTC
            self._verify = self._sha256
        elif encryption == "sha512":
            self._verify = self._sha512
        elif encryption == "bcrypt" or encryption == "autodetect":
            try:
>               import bcrypt
E               ModuleNotFoundError: No module named 'bcrypt'

__class__  = <class 'radicale.auth.htpasswd.Auth'>

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_test-20250214-203617

  UNMASKED:

    
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
Available Ruby profiles:
  [1]   ruby32 *
Available Rust versions:
  [1]   rust-bin-1.84.1 *

  HEAD of ::gentoo
commit 49955ecea047bd733f8788e40ad4415eb7f2dd84
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 16 18:33:28 2025 +0000

    Merge updates from master

emerge -qpvO =www-apps/radicale-3.4.1
[ebuild  N    ] www-apps/radicale-3.4.1  USE="test" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-02-16 19:16:02 UTC
Created attachment 919114 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-16 19:16:03 UTC
Created attachment 919115 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-16 19:16:04 UTC
Created attachment 919116 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-02-16 19:16:05 UTC
Created attachment 919117 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-16 19:16:06 UTC
Created attachment 919118 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-16 19:16:07 UTC
Created attachment 919119 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-16 19:16:09 UTC
Created attachment 919120 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2025-02-16 19:16:10 UTC
Created attachment 919121 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-02-16 19:16:11 UTC
Created attachment 919122 [details]
www-apps:radicale-3.4.1:20250216-190622.log.xz
Comment 10 Henning Schild 2025-02-17 09:22:17 UTC
This is only relevant for running the tests. I suggested a patch and started an upstream issue.

https://github.com/Kozea/Radicale/issues/1699

But even if that stays open just re-adding 'bcrypt' as BDEPEND could also be a good long-term solution
Comment 11 Larry the Git Cow gentoo-dev 2025-02-19 11:16:34 UTC
The bug has been closed via the following commit(s):

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

commit a0c44f82a44908ee13dccb0443de5a52c6aff62c
Author:     Henning Schild <henning@hennsch.de>
AuthorDate: 2025-02-17 09:06:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-19 11:14:54 +0000

    www-apps/radicale: add optional library as test dep
    
    We moved dev-python/bcrypt from RDEPEND to optfeature, however for the
    test suite it remains madatory. So add it to BDEPEND when test is set.
    
    Signed-off-by: Henning Schild <henning@hennsch.de>
    Closes: https://bugs.gentoo.org/949850
    Closes: https://github.com/gentoo/gentoo/pull/40612
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apps/radicale/radicale-3.4.1.ebuild | 1 +
 1 file changed, 1 insertion(+)