<div dir="ltr">Do we have a common bug on launchpad for this work, to collect all patches?<div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 2, 2015 at 2:39 AM, Robert Collins <span dir="ltr"><<a href="mailto:robertc@robertcollins.net" target="_blank">robertc@robertcollins.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 2 July 2015 at 11:36, Robert Collins <<a href="mailto:robertc@robertcollins.net">robertc@robertcollins.net</a>> wrote:<br>
> On 29 June 2015 at 15:59, Robert Collins <<a href="mailto:robertc@robertcollins.net">robertc@robertcollins.net</a>> wrote:<br>
>> Hi, so we're nearly ready to deprecate the python-version-specific<br>
>> requirements files. Once we have infra's requirements cross checking<br>
>> jobs all copacetic again, we should be able to move forward.<br>
><br>
> So we've got them working again in master, and I'm about to work on<br>
> support for stable - things are a bit awkward and all tied together<br>
> there. Sorry for the extended disruption on requirement updates!<br>
><br>
> The status right now is:<br>
> - all stable jobs are failing on requirements checks, because we don't<br>
> have the needed code modules in the openstack/requirements stable<br>
> branches. This is critical and my top priority to unblock everything<br>
> stable/.<br>
><br>
> - master requirement checks should work Just Fine, as long as the<br>
> requirements are current. However the bot doesn't know enough to merge<br>
> -PYN requirements files for you. So you need to do that manually. The<br>
> easiest way IMO is:<br>
><br>
> REQS=$(pwd)/reqs<br>
> virtualenv $REQS<br>
> . $REQS/bin/activate<br>
> pip install -U pip setuptools -e<br>
> git+<a href="https://git.openstack.org/openstack/requirements#egg=openstack.requirements" rel="noreferrer" target="_blank">https://git.openstack.org/openstack/requirements#egg=openstack.requirements</a><br>
> cd path-to-project<br>
> cat requirements-py3.txt >> requirements.txt<br>
> cat test-requirements-py3.txt >> test-requirements.txt<br>
> git rm *requirements-py3.txt<br>
> update-requirements --source $REQS/src/openstack.requirements .<br>
> git diff<br>
> # you'll have some cruft to cleanup - duplicate comments at the bottom<br>
> of the files and so on<br>
> # commit and review<br>
> # repeat from 'cd path-to-project' as needed.<br>
><br>
> One word of caution. Some of the projects i've done this for -<br>
> keystone and glance - had -e editable lines in their requirements<br>
> files: these got through because infra wasn't linting the -py3 files<br>
> at all until recently, and I'm not yet sure if we can get them back<br>
> in. So we may need to actually fixup those dependencies asap. E.g. get<br>
> /a/ release of glance-store out with its partial python3 support, to<br>
> permit the glance python34 gate to work at all.<br>
<br>
</div></div>Second word of caution. tox.ini probably needs editing too.<br>
<div class="HOEnZb"><div class="h5"><br>
-Rob<br>
<br>
<br>
<br>
--<br>
Robert Collins <<a href="mailto:rbtcollins@hp.com">rbtcollins@hp.com</a>><br>
Distinguished Technologist<br>
HP Converged Cloud<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Thanks,<div>Sergey Vilgelm<div>OpenStack Software Engineer</div><div>Mirantis Inc.</div><div>Skype: sergey.vilgelm<br></div><div>Phone: +36 70 512 3836</div></div></div></div>
</div></div>