[openstack-dev] backport fixes to old branches

Ihar Hrachyshka ihrachys at redhat.com
Fri Aug 15 11:47:43 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 08/08/14 13:09, Osanai, Hisashi wrote:
> 
> Hi,
> 
> On Tuesday, August 05, 2014 8:57 PM, Ihar Hrachyshka wrote:
>>> Thanks. To facilitate quicker backport, you may also propose
>>> the patch for review yourself. It may take time before stable
>>> maintainers or other interested parties get to the bug and do
>>> cherry-pick.
> 
> I did cherry-pick for
> "https://bugs.launchpad.net/ceilometer/+bug/1326250" and executed
> git review (https://review.openstack.org/#/c/112806/).
> 
> In review phase I got the error message from Jenkins. The reason of
> the error is happybase-0.8 (latest one) uses "execfile" function
> and the usage of the function is removed from python.
> 
> The happybase is not OpenStack components so I would like to have
> advices for how to deal with this.

There was an issue with jenkins running py33 checks for stable
ceilometer branches, which is wrong. Should be fixed now.

> 
> - console.html 2014-08-08 09:17:45.901 | Downloading/unpacking
> happybase>=0.5,!=0.7 (from -r
> /home/jenkins/workspace/gate-ceilometer-python33/requirements.txt
> (line 7)) 2014-08-08 09:17:45.901 |
> http://pypi.openstack.org/simple/happybase/ uses an insecure
> transport scheme (http). Consider using https if pypi.openstack.org
> has it available 2014-08-08 09:17:45.901 |   Storing download in
> cache at
> ./.tox/_download/http%3A%2F%2Fpypi.openstack.org%2Fpackages%2Fsource%2Fh%2Fhappybase%2Fhappybase-0.8.tar.gz
>
> 
2014-08-08 09:17:45.901 |   Running setup.py
(path:/home/jenkins/workspace/gate-ceilometer-python33/.tox/py33/build/happybase/setup.py)
egg_info for package happybase
> 2014-08-08 09:17:45.902 |     Traceback (most recent call last): 
> 2014-08-08 09:17:45.902 |       File "<string>", line 17, in
> <module> 2014-08-08 09:17:45.902 |       File
> "/home/jenkins/workspace/gate-ceilometer-python33/.tox/py33/build/happybase/setup.py",
> line 5, in <module> 2014-08-08 09:17:45.902 |
> execfile('happybase/_version.py') 2014-08-08 09:17:45.902 |
> NameError: name 'execfile' is not defined 2014-08-08 09:17:45.902 |
> Complete output from command python setup.py egg_info: 2014-08-08
> 09:17:45.902 |     Traceback (most recent call last): 2014-08-08
> 09:17:45.902 | 2014-08-08 09:17:45.902 |   File "<string>", line
> 17, in <module> 2014-08-08 09:17:45.902 | 2014-08-08 09:17:45.902 |
> File
> "/home/jenkins/workspace/gate-ceilometer-python33/.tox/py33/build/happybase/setup.py",
> line 5, in <module> 2014-08-08 09:17:45.903 | 2014-08-08
> 09:17:45.903 |     execfile('happybase/_version.py') 2014-08-08
> 09:17:45.903 | 2014-08-08 09:17:45.903 | NameError: name 'execfile'
> is not defined
> 
> - happybase-0.8/setup.py 1 from os.path import join, dirname 2 from
> setuptools import find_packages, setup 3 4 __version__ = None 5
> execfile('happybase/_version.py')
> 
> - python's doc 
> https://docs.python.org/3.3/library/2to3.html?highlight=execfile#2to3fixer-execfile
>
>  Best Regards, Hisashi Osanai
> 
> 
> _______________________________________________ OpenStack-dev
> mailing list OpenStack-dev at lists.openstack.org 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iQEcBAEBCgAGBQJT7fNfAAoJEC5aWaUY1u57fkMIALt6ZbKnL2mcBNb5lszyeVV1
LE4HATQByDEIdanDmDo1CMkNaFY2Pb1ExJWBmH7INhGUVXHYR9fvmRtkPPRcx61j
fpeJB2UBffwSYeo2MqQvRK++bP0YNPxULbPrYb1haLn4NRgMjCf71yue2zr8Zae/
MLpKNTOj6PK9yiVwjquVNwzg+s6ss1308DccNw2CZzYq3eykTmUfdVcd95gv+PNA
N5vuk71Hbwc31jpnmQTKlrrs8bvR2aZQlo/zcaElJK9M5OSg+9A/hjpPsINK/xl8
Si+Z2830f9NIRdxOK5QOpn0x80aIB3l4B924fGvQImavH0usHshJB4S0APnNMUY=
=WoUy
-----END PGP SIGNATURE-----



More information about the OpenStack-dev mailing list