[10.6.8] certbot & pyOpenSSL problems

Marius Schamschula lists at schamschula.com
Fri Dec 17 00:28:59 UTC 2021


What does

port installed py39-openssl

say? On my machine I get 21.00.0_0.

Also, IIRC there was a change in py-cryptography versioning. On my machine I have 35.0.0_3.

Mixing pip with MacPorts will guarantee a broken installation within weeks.if not within days.

Marius
--
Marius Schamschula




> On Dec 16, 2021, at 5:17 PM, Bjarne D Mathiesen <macintosh at mathiesen.info> wrote:
> 
> System Version: Mac OS X 10.6.8 (10K549)
> Kernel Version: Darwin 10.8.0
> 
> Ok, I've got certbot installed, but a recent upgrade of something has
> broken it :
> 
> #=> certbot certificates
> 
> gives the following error-message :
> 
> pkg_resources.ContextualVersionConflict: (cryptography 2.9.2
> (/opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages),
> Requirement.parse('cryptography>=3.3'), {'PyOpenSSL'})
> 
> which to me indicates, that PyOpenSSL needs to be upgraded.
> So, I installed py39-pip, and did the following :
> 
> #=> pip install pyopenssl
> Requirement already satisfied: pyopenssl in
> /opt/local/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
> (21.0.0)
> Collecting cryptography>=3.3
>  Downloading cryptography-36.0.1.tar.gz (572 kB)
>     |████████████████████████████████| 572 kB 1.0 MB/s
>  Installing build dependencies ... done
> 
> which resulted in the following error-message :
> 
>  running build_rust
> 
>      =============================DEBUG
> ASSISTANCE=============================
>      If you are seeing a compilation error please try the following
> steps to
>      successfully install cryptography:
>      1) Upgrade to the latest pip and try again. This will fix errors
> for most
>         users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
>      2) Read https://cryptography.io/en/latest/installation/ for specific
>         instructions for your platform.
>      3) Check our frequently asked questions for more information:
>         https://cryptography.io/en/latest/faq/
>      4) Ensure you have a recent Rust toolchain installed:
>         https://cryptography.io/en/latest/installation/#rust
> 
>      Python: 3.9.9
>      platform: macOS-10.6.8-i386-64bit
>      pip: n/a
>      setuptools: 59.6.0
>      setuptools_rust: 1.1.2
>      =============================DEBUG
> ASSISTANCE=============================
> 
>  error: can't find Rust compiler
> 
> So, it's missing the rust compiler !
> OK, let me install that one :
> 
> --->  Fetching distfiles for rust-compiler-wrap
> Error: rust is only supported on macOS 10.7 or later.
> Error: Failed to fetch rust-compiler-wrap: unsupported platform version
> Error: See
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_rust/rust-compiler-wrap/main.log
> for details.
> Error: Follow https://guide.macports.org/#project.tickets if you believe
> there is a bug.
> Error: Processing of port rust failed
> 
> 
> Any ideas as to how I can upgrade PyOpenSSL -or- the cryptography ?
> Or am I just lost ???
> 
> 
> -- 
> Bjarne D Mathiesen
> Korsør ; Danmark ; Europa
> -----------------------------------------------------------------------
> denne besked er skrevet i et totalt M$-frit miljø
> MacPro 2010 ; OpenCore + macOS 10.15.7 Catalina
> 2 x 3,46 GHz 6-Core Intel Xeon ; 256 GB 1333 MHz DDR3 ECC RDIMM
> ATI Radeon RX 590 8 GB

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20211216/7f82d46b/attachment.htm>


More information about the macports-dev mailing list