[Distutils] manylinux1 testing

Matthew Brett matthew.brett at gmail.com
Mon Jun 5 05:34:08 EDT 2017


Hi,

On Mon, Jun 5, 2017 at 10:00 AM, Robin Becker <robin at reportlab.com> wrote:
> Are there docker images suitable for testing manylinux packages. I am
> guessing the manylinux1 images might be suitable, provided I drop all
> building of libraries inside them and then just use the pythons I want to
> test against.
>
> Reason I'm asking is that I noticed that I was building images where the
> final grafting didn't seem to be happening I assume something must have been
> wrong with the repair_wheehouse command.
>
> My manylinux1 images were 4 weeks old. The situation improved after I
> updated today.
>
> However, I have been testing these 'bad' wheels and they all appeared to
> work. Problem is that I'm only bundling freetype, libpng and libz and I
> guess my test systems all have those.
>
> So is it reasonable for me to use the manylinux1 images as a null linux so I
> can pip load my stuff from the local file system and test it all runs on a
> system with almost no libraries built in?

You could do that, they will test whether the wheels run a minimal
case in terms of versions and dependencies.  You may hit
inconveniences building packages, because the toolchains are rather
old.

Alternatively you could use a bare but more recent distribution.  For
example, my multibuild framework for manylinux testing uses manylinux
containers to build with, and bare Ubuntu Trusty images for testing:

https://github.com/matthew-brett/multibuild
https://hub.docker.com/r/matthewbrett/trusty

Cheers,

Matthew


More information about the Distutils-SIG mailing list