[openstack-dev] [all] important changes to pep8 python jobs

Paul Belanger pabelanger at redhat.com
Tue Nov 8 23:18:03 UTC 2016


On Tue, Nov 08, 2016 at 02:58:38PM -0500, Paul Belanger wrote:
> On Thu, Nov 03, 2016 at 12:29:09PM -0400, Paul Belanger wrote:
> > Greetings,
> > 
> > We (openstack-infra) are proposing a change to the current pep8[1] job for
> > python jobs, and would like to bring your attention to it.
> > 
> > We'll be removing the extra-index-url field from pip.conf which forces the job
> > to manually build any missing wheels as dependencies.  The reason for this, is
> > to force a way for jobs to ensure the proper OS dependencies are installed.
> > 
> > There is a chance your project pep8 job may break, which is why we are sending
> > out this email.  We encourage each project to be using bindep[2], binary
> > dependency management tool, to ensure any OS packages are needed. If your
> > project needs a specific binary to be installed to compile your project, simply
> > add it to the bindep.txt file in your project repo.
> > 
> > We'll be approving the change on Nov. 16, 2016 and send out another message as
> > we move closer to the date.
> > 
> > If you have any questions, feel free to reply or use #openstack-infra on
> > freenode.
> > 
> Greetings,
> 
> A quick reminder that we plan on making this change next week.
> 
> It was also suggested we create a job-template[3] for projects who wish to add
> an experimental job to test a project. Feel free to propose a change to
> project-config and use the 'check experimental' command to run the job.
> 
We've actually went a head and added[4] the experimental job to both python-jobs
and python-db-jobs templates for JJB. So, if your project is using them, you can
now run 'check experimental' to see if pep8 still passes.  If not, this is a
good time to update bindep.txt with the missing dependencies.

> > ---
> > Paul Belanger
> > 
> > [1] https://review.openstack.org/391875
> > [2] http://docs.openstack.org/infra/bindep/
> > 
> 
> [3] https://review.openstack.org/#/c/395063/
> 
[4] https://review.openstack.org/#/c/395157/



More information about the OpenStack-dev mailing list