[Speed] Update Django from 1.11 to 2.0? What about Python 2.7 and PyPy2?

Nick Coghlan ncoghlan at gmail.com
Sat Jan 27 08:39:10 EST 2018


On 19 January 2018 at 20:39, Victor Stinner <victor.stinner at gmail.com>
wrote:

> 2018-01-19 11:28 GMT+01:00 Stefan Behnel <stefan_ml at behnel.de>:
> > That suggests adding Django 2 as a new Py3-only benchmark.
>
> Again, the practical issue is to install Django 2 and Django 1.11 in
> the same virtual environment. I'm not sure that it's doable.
>
> I would prefer to not have to create a different virtualenv for
> Python3-only dependencies.
>
> I needed to release quickly a bugfix release, fix --track-memory,
> feature asked by Xiang Zhang, so I released performance 0.6.1 which
> only updated Django from 1.11.3 to 1.11.9.
>
> Or we need to redesign how performance install dependencies, but
> that's a larger project :-)
>

It may be worth looking at using pew to set up a separate virtual
environment for each benchmark, but then use `pew add` to share common
components (like perf itself) between them. That way you won't have
conflicting dependencies between benchmarks (since they'll be in separate
venvs), without having to duplicate *all* the common components.

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/speed/attachments/20180127/662f4ada/attachment.html>


More information about the Speed mailing list