[Piglit] [PATCH] Do we really need python 2.7?

Dylan Baker baker.dylan.c at gmail.com
Mon Jan 26 09:32:51 PST 2015


On Friday, January 23, 2015 23:49:29 Matěj Cepl wrote:
> On 2015-01-07, 19:25 GMT, Dylan Baker wrote:
> > We rely on a couple of 2.7 features, one of them is oredered
> > dictionaries, the other is dict comprehensions. We also use a lot of
> > unnamed format strings ( '{}{}'.format(a, b) ).
> 
> That can be patched around (and collections used 
> https://pypi.python.org/pypi/backport_collections/). So, I am 
> still not giving up.
> 
> >> And of course, when I apply just the attached patch I get to yet
> >> another problem: freeglut (RHEL-6 has freeglut-2.6.0). But let's
> >> walk this minefield one mine at the time.
> >
> > You need waffle, glut is not recommended for linux.
> > (https://github.com/waffle-gl/waffle, http://www.waffle-gl.org)
> 
> See https://kojipkgs.fedoraproject.org//work/tasks/658/8710658/build.log
> 
> What's the deal with Mako? 
> 
>     -- Looking for Mako >= 0.7.3
>     CMake Error at cmake/Modules/PiglitFindMako.cmake:73 (message):
>         Found Mako 0.3.4, but Mako >= 0.7.3 is required
>         Hint: Try installing Mako with `pip install --user --upgrade Mako`
> 
>     Call Stack (most recent call first):
>       CMakeLists.txt:207 (include)
> 
> What kind of functionality is backed by Mako? Could it be switched off? (or we can build new Mako 1.0.0 in EPEL-6 http://koji.fedoraproject.org/koji/taskinfo?taskID=8711312).
> 
> Best,
> 
> Matěj

We use mako in two places. As Matt pointed out for generating tests, in
this capacity it's a build-time dependency. It's also used to generate
the pages for the HTML summary.

I think you can sidestep the issue using pip,
pip install --user mako
will install a new copy of mako in your ~/.local directory, which should
be sufficient.

> 
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20150126/bdd0d3a3/attachment.sig>


More information about the Piglit mailing list