[PATCH STABLE] packaging: add make target for linux wheels

Sean Farley sean at farley.io
Wed Apr 26 14:39:35 EDT 2017


Boris Feld <boris.feld at octobus.net> writes:

> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1493131801 -7200
> #      Tue Apr 25 16:50:01 2017 +0200
> # Branch stable
> # Node ID 9605a99df098d4e6e3b0943982a21fea6a9421f9
> # Parent  6e0368b6e0bb2aa5210daec091c0200583553a78
> packaging: add make target for linux wheels
>
> Having linux wheels is going to helps system without compiler or python-dev
> plus speed up the installation for everyone.
>
> I followed the manylinux example repository
> https://github.com/pypa/python-manylinux-demo
> to add a make target (build-linux-wheels) using
> official docker image to build python 2 linux wheels
> for mercurial. It generates Python 2.6 and Python 2.7 for both
> 32 and 64 bits architectures.

Cool!

> I had to blacklist several test cases for various reasons:
> * test-http-bad-server.t, readline(65537) was transformed in readline(-1)
> * test-convert-git.t and test-subrepo-git.t because of the git version
> * test-patchbomb-tls.t because of warning using tls 1.0
>   It's likely because the docker image is based on centos 5.0 and
>   openssl is outdated.
> * test-clonebundles.t and test-http-proxy.t because of the following
>   output line that changed:
>   -  error fetching bundle: (.* refused.*|Protocol not supported) (re)
>   +  error fetching bundle: Cannot assign requested address

I don't know much about wheels, though. Didn't Greg attempt this at one
point?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170426/dc35fc90/attachment.sig>


More information about the Mercurial-devel mailing list