[openstack-dev] [python3] Enabling py37 unit tests

Thomas Goirand zigo at debian.org
Wed Nov 7 13:48:11 UTC 2018


On 10/11/18 1:35 AM, Goutham Pacha Ravi wrote:
> Thanks Corey for starting this effort. I proposed changes to
> manila repos to use your template [1] [2], but the interpreter's not
> being installed,
> do you need to make any bindep changes to enable the "universe" ppa and install
> python3.7 and python3.7-dev?

Your best luck in Debian based distribution is probably to attempt
installing python3-all *or* python3-dev-all. The -all means all
available versions (so, in case of Debian Sid currently, it will install
both Python 3.6 and 3.7). The -dev-all will also install the -all
package, so you never need *both*. You also don't need the -dev if you
don't have Python packages that needs Python.h (ie: embedded C code in a
Python module).

So, just switch to that, and you're good to go *forever*, independently
of what python version is available in a given OS version! :)

I hope this helps,
Cheers,

Thomas Goirand (zigo)



More information about the OpenStack-dev mailing list