On Sat, Feb 20, 2021, at 9:28 AM, Abhilash Raj wrote:
On Sat, Feb 20, 2021, at 8:51 AM, Brian Carpenter wrote:
As usual, a new issue has arisen with installing Mailman 3. It seems Postorius and Hyperkitty want to install a module called cryptography. Which I am unable to install because of this:
error: Can not find Rust compiler
You need to install a Rust compiler. Depending on which distro you are using, you can run
sudo apt install rustc
or same command withyum
.
Also, it is possible depending on your distro that packaged Rust compiler is too old. cryptography requires a more recent version of Compiler, 1.45 is the min supported version I think.
FAQ: https://cryptography.io/en/latest/faq.html#installing-cryptography-fails-wit...
You can skip the Rust components by setting CRYPTOGRAPHY_DONT_BUILD_RUST
but that would work just for this release and you won't be able to
skip from the next release of cryptography.
Question 1: Is cryptography a new addition to Hyperkitty/Postorius? Or was cryptography always included and something else is different about my installation process?
It was always included. The recent change has been in the underlying security library to use Rust language in some parts of it. That has resulting in 100s and 1000s of applications/CI and other stuff failing. The fix is quite simple in most cases, just install rust compiler.
"Building wheels for collected packages: hyperkitty, django-haystack, django-mailman3, mailmanclient, robot-detection, rcssmin, django-allauth, cryptography"
Question 2: Will Hyperkitty/Postorius work without cryptography? I haven't proceed with this installation once I received the above error.
It is a transitive dependency for P/HK and is required by django-allauth. I don't think you can skip it.
Question 3: Are there any Mailman 3/Postorius/HK documentation that addresses with the installation of cryptography?
Since this issue arose about 2 weeks ago, there isn't anything there yet.
-- Brian Carpenter Harmonylists.com Emwd.com
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
-- thanks, Abhilash Raj (maxking)