[openstack-dev] New Python35 Jobs coming

Clark Boylan cboylan at sapwetik.org
Fri Jul 1 19:51:52 UTC 2016


The infra team is working on taking advantage of the new Ubuntu Xenial
release including running unittests on python35. The current plan is to
get https://review.openstack.org/#/c/336272/ merged next Tuesday (July
5, 2016). This will add non voting python35 tests restricted to >=
master/Newton on all projects that had python34 testing.

The expectation is that in many cases python35 tests will just work if
python34 testing was also working. If this is the case for your project
you can propose a change to openstack-infra/project-config to make these
jobs voting against your project. You should only need to edit
jenkins/jobs/projects.yaml and zuul/layout.yaml and remove the '-nv'
portion of the python35 jobs to do this.

We do however expect that there will be a large group of failed tests
too. If your project has a specific tox.ini py34 target to restrict
python3 testing to a specific list of tests you will need to add a tox
target for py35 that does the same thing as the py34 target. We have
also seen bug reports against some projects whose tests rely on stable
error messages from Python itself which isn't always the case across
version changes so these tests will need to be updated as well.

Note this change will not add python35 jobs for cases where projects
have special tox targets. This is restricted just to the default py35
unittesting.

As always let us know if you questions,
Clark



More information about the OpenStack-dev mailing list