Mercurial failing on TLSv1.2 repos, but I wrote a patch

Warren Melnick wmelnick at
Thu Jul 23 09:44:25 CDT 2015

Thanks.  I figured out the RPM and custom built one with a dependency on the IUS (Rackspace) version of python 2.7, which is 2.7.10.  So far so good. Now I just need to figure out the Mac version.  Probably going to have to be with the assistance of python from MacPorts. 
Warren Melnick
Director of IT & Security

Millennium Communications 
6900 Jericho Tpke., Suite 100LL
Syosset, NY  11791 
Tel:      516-682-8080 x258
Fax:     516-682-9090 
Web: <>
Email:  wmelnick at

This electronic message transmission contains information from Millennium Communications, Inc. that may be confidential or privileged. The information is intended to be for the use of only the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is strictly prohibited. If you have received this electronic transmission in error, please notify the sender by replying to this e-mail and immediately deleting this email and any attachments from your system along with any copies you may have made, electronic or otherwise.

On 7/23/15, 10:25 AM, "Matt Mackall" <mpm at> wrote:

>On Thu, 2015-07-23 at 13:45 +0000, Warren Melnick wrote:
>> >
>> >FYI, our RPM build scripts can build a private copy of modern Python:
>> >
>> >$ contrib/buildrpm --withpython
>> >
>> >This is what allows us to continue supporting Centos/RHEL 5.
>> >
>> Is there more info on this?  Remember, I am not a Python guy, just a
>> systems guy who does perl and PHP too.  If I can build that for both
>> CentOS 6 and MacOS, it will solve my immediate problem.
>Grep in the top-level Makefile for centos5 and centos6. The centos5
>version uses the --withpython bit. Copy that to the centos6 section and
>then 'make centos6' will download and compile Python 2.7.9 and then
>bundle it into an RPM. Also note that there's a docker- version of the
>target that will let you do the build in a more controlled Docker
>Macs are another story, since they don't have a standard package
>manager. You can do the same trick of having a private Python, but we
>don't have a ready-backed recipe for it. Brew might be an option.
>Mathematics is the supreme nostalgia of our time.

More information about the Mercurial-devel mailing list