Re: python2.7 pip install fails with SSLError

2022-03-19 Thread Steven Smith
virtualenv mystery solved. It’s just a symlink to the now-removed native python 27 framework: > $ sudo ls -l /private/var/calendarserver/Library/CalendarServer/virtualenv > Password: > total 8 > lrwxr-xr-x 1 calendarserver wheel63 May 16 2019 .Python -> >

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Ryan Schmidt
On Mar 17, 2022, at 14:49, Steven Smith wrote: >> macOS 12.3 removes /usr/bin/python > > This package encapsulates everything in a virtualenv, so that wasn’t the > issue. In case anyone runs into something similar, my logs say this the > removal of /usr/local/lib/.Python is the issue: > >>

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Steven Smith
> macOS 12.3 removes /usr/bin/python This package encapsulates everything in a virtualenv, so that wasn’t the issue. In case anyone runs into something similar, my logs say this the removal of /usr/local/lib/.Python is the issue: > dyld[545]: Library not loaded: @executable_path/../.Python >

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Ryan Schmidt
On Mar 17, 2022, at 14:37, Steven Smith wrote: > Thanks everyone for your responses and suggestions. > > Short story: I used the existing `sudo port install calendar-contacts-server` > and … it works! > > Even though this project is old and archived, I’m not aware of any open > source that

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Steven Smith
Thanks everyone for your responses and suggestions. Short story: I used the existing `sudo port install calendar-contacts-server` and … it works! Even though this project is old and archived, I’m not aware of any open source that replaces its functionality, and it’s now fully reliant on a

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Ryan Schmidt
On Mar 17, 2022, at 04:39, Chris Jones wrote: > Does the port *have* to use python 2.7 ? Is it not compatible with python 3.x > ? See https://github.com/apple/ccs-calendarserver/issues/537 where Steven asked upstream for guidance on migrating to Python 3. There was no reply. The project is no

Re: python2.7 pip install fails with SSLError

2022-03-17 Thread Chris Jones
Does the port *have* to use python 2.7 ? Is it not compatible with python 3.x ? On 15/03/2022 12:09 am, Steven Smith wrote: I’m trying to update calendar-contacts-server to macOS 12.3. This requires installing a bunch of stuff with python2.7’s pip. I’m hitting an SSLError at the command:

Re: python2.7 pip install fails with SSLError

2022-03-15 Thread Daniel J. Luke
On Mar 15, 2022, at 9:10 AM, Steven Smith wrote: > I haven’t been able to identify the correct incantation that will point pip > at a CA chain that avoids this issue, whether caused by an old LetsEncrypt > cert or some other old cert. > > For example, this command using --cert along with an

Re: python2.7 pip install fails with SSLError

2022-03-15 Thread Ryan Schmidt
On Mar 14, 2022, at 20:18, Jim DeLaHunt wrote: > On 2022-03-14 17:09, Steven Smith wrote: >> I’m trying to update calendar-contacts-server to macOS 12.3. This requires >> installing a bunch of stuff with python2.7’s pip. >> I’m hitting an SSLError at the command: >>> /opt/local/bin/python2.7 -m

Re: python2.7 pip install fails with SSLError

2022-03-15 Thread Steven Smith
I haven’t been able to identify the correct incantation that will point pip at a CA chain that avoids this issue, whether caused by an old LetsEncrypt cert or some other old cert. For example, this command using --cert along with an up-to-date curl-ca-bundle (that addresses the LetsEncrypt

Re: python2.7 pip install fails with SSLError

2022-03-14 Thread Jim DeLaHunt
On 2022-03-14 17:09, Steven Smith wrote: I’m trying to update calendar-contacts-server to macOS 12.3. This requires installing a bunch of stuff with python2.7’s pip. I’m hitting an SSLError at the command: /opt/local/bin/python2.7 -m pip install -I --user setuptools==18.5 Is there a way of

python2.7 pip install fails with SSLError

2022-03-14 Thread Steven Smith
I’m trying to update calendar-contacts-server to macOS 12.3. This requires installing a bunch of stuff with python2.7’s pip. I’m hitting an SSLError at the command: > /opt/local/bin/python2.7 -m pip install -I --user setuptools==18.5 Is there a way of pointing MacPorts python2.7 pip at a set