[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Rdo-list] Devstack - why it uninstalls python-virtualenv?



> -----Original Message-----
> From: rdo-list-bounces redhat com [mailto:rdo-list-bounces redhat com] On
> Behalf Of Kaul, Yaniv
> Sent: Wednesday, March 04, 2015 11:43 PM
> To: Alan Pevec; Rdo-list redhat com
> Subject: Re: [Rdo-list] Devstack - why it uninstalls python-virtualenv?
> 
> > -----Original Message-----
> > From: rdo-list-bounces redhat com [mailto:rdo-list-bounces redhat com]
> > On Behalf Of Alan Pevec
> > Sent: Wednesday, March 04, 2015 9:29 PM
> > To: Rdo-list redhat com
> > Subject: Re: [Rdo-list] Devstack - why it uninstalls python-virtualenv?
> >
> > > It does not happen to me on other distributions of OpenStack that
> > > I'm testing
> > with, so it is kinda related to the OS.
> >
> > That was beaten to death in old thread
> > http://lists.openstack.org/pipermail/openstack-dev/2013-August/013039.
> > html Nice summary is in Ian's commit message
> > https://review.openstack.org/39862
> > tl;dr Debian avoids the issue by configuring its python to pip install
> > to /usr/local/ while Fedora/EL python maintainers refuse to diverge
> > from upstream, that's IIRC - I can't find rhbz with their comments,
> > maybe Ian will remember?
> >
> >
> > Cheers,
> > Alan
> 
> Anyway, it just went from bad to worse. I'll try to take it upstream...

'pip install six --upgrade' seems to fix it.

Y.

> 
> 
> 
> Installing collected packages: keystone, cryptography, posix-ipc, pycadf,
> jsonschema, dogpile.cache, pysaml2, oauthlib, oslo.utils, oslo.serialization,
> oslo.middleware, oslo.log, oslo.i18n, oslo.db, oslo.messaging, oslo.config,
> oslo.concurrency, keystonemiddleware, python-keystoneclient, passlib,
> sqlalchemy-migrate, six, netaddr, eventlet
>   Running setup.py develop for keystone
>     [pbr] Reusing existing SOURCES.txt
>     Creating /usr/lib/python2.7/site-packages/keystone.egg-link (link to .)
>     keystone 2015.1.dev293 is already the active version in easy-install.pth
>     Installing keystone-all script to /usr/bin
>     Installing keystone-manage script to /usr/bin
>     Installed /opt/stack/keystone
>   Running setup.py install for cryptography
>     zip_safe flag not set; analyzing archive contents...
>     six: module references __path__
>     Installed /tmp/pip-build-FsJ6Ct/cryptography/.eggs/six-1.9.0-py2.7.egg
>     Traceback (most recent call last):
>       File "<string>", line 1, in <module>
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 339, in <module>
>         **keywords_with_side_effects(sys.argv)
>       File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
>         dist.run_commands()
>       File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
>         self.run_command(cmd)
>       File "/usr/lib64/python2.7/distutils/dist.py", line 971, in run_command
>         cmd_obj.ensure_finalized()
>       File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized
>         self.finalize_options()
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 117, in
> finalize_options
>         self.distribution.ext_modules = get_ext_modules()
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 82, in
> get_ext_modules
>         from cryptography.hazmat.primitives import constant_time, padding
>       File "/tmp/pip-build-
> FsJ6Ct/cryptography/src/cryptography/hazmat/primitives/padding.py", line 12,
> in <module>
>         from cryptography.hazmat.primitives import interfaces
>       File "/tmp/pip-build-
> FsJ6Ct/cryptography/src/cryptography/hazmat/primitives/interfaces.py", line
> 12, in <module>
>         @six.add_metaclass(abc.ABCMeta)
>     AttributeError: 'module' object has no attribute 'add_metaclass'
>     Complete output from command /usr/bin/python -c "import setuptools,
> tokenize;__file__='/tmp/pip-build-
> FsJ6Ct/cryptography/setup.py';exec(compile(getattr(tokenize, 'open',
> open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record
> /tmp/pip-7_Xma7-record/install-record.txt --single-version-externally-managed
> --compile:
>     no previously-included directories found matching 'documentation/_build'
> 
>     zip_safe flag not set; analyzing archive contents...
> 
>     six: module references __path__
> 
> 
> 
>     Installed /tmp/pip-build-FsJ6Ct/cryptography/.eggs/six-1.9.0-py2.7.egg
> 
>     running install
> 
>     Traceback (most recent call last):
> 
>       File "<string>", line 1, in <module>
> 
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 339, in <module>
> 
>         **keywords_with_side_effects(sys.argv)
> 
>       File "/usr/lib64/python2.7/distutils/core.py", line 152, in setup
> 
>         dist.run_commands()
> 
>       File "/usr/lib64/python2.7/distutils/dist.py", line 953, in run_commands
> 
>         self.run_command(cmd)
> 
>       File "/usr/lib64/python2.7/distutils/dist.py", line 971, in run_command
> 
>         cmd_obj.ensure_finalized()
> 
>       File "/usr/lib64/python2.7/distutils/cmd.py", line 109, in ensure_finalized
> 
>         self.finalize_options()
> 
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 117, in
> finalize_options
> 
>         self.distribution.ext_modules = get_ext_modules()
> 
>       File "/tmp/pip-build-FsJ6Ct/cryptography/setup.py", line 82, in
> get_ext_modules
> 
>         from cryptography.hazmat.primitives import constant_time, padding
> 
>       File "/tmp/pip-build-
> FsJ6Ct/cryptography/src/cryptography/hazmat/primitives/padding.py", line 12,
> in <module>
> 
>         from cryptography.hazmat.primitives import interfaces
> 
>       File "/tmp/pip-build-
> FsJ6Ct/cryptography/src/cryptography/hazmat/primitives/interfaces.py", line
> 12, in <module>
> 
>         @six.add_metaclass(abc.ABCMeta)
> 
>     AttributeError: 'module' object has no attribute 'add_metaclass'
> 
> >
> > _______________________________________________
> > Rdo-list mailing list
> > Rdo-list redhat com
> > https://www.redhat.com/mailman/listinfo/rdo-list
> >
> > To unsubscribe: rdo-list-unsubscribe redhat com
> 
> _______________________________________________
> Rdo-list mailing list
> Rdo-list redhat com
> https://www.redhat.com/mailman/listinfo/rdo-list
> 
> To unsubscribe: rdo-list-unsubscribe redhat com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]