[Bug 1665116] Re: tox -e docs fails under python3 (part 2) (cinder-specs)
Luigi Toscano
ltoscano at redhat.com
Mon Mar 20 17:20:19 UTC 2017
Not only cinder-specs, also sahara-specs (sorry for the spam with the
bug state)
** Also affects: sahara (Ubuntu)
Importance: Undecided
Status: New
** No longer affects: sahara (Ubuntu)
** Also affects: sahara
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to sahara in Ubuntu.
https://bugs.launchpad.net/bugs/1665116
Title:
tox -e docs fails under python3 (part 2) (cinder-specs)
Status in Cinder:
New
Status in Sahara:
New
Bug description:
This can be considered part two of bug 1659390 .
"tox -e docs" for cinder-specs doesn't work when tox is running in a
Python 3 environment, because feedformatter does not support Python 3.
This is a dependency of yasfb.
$ tox -e docs
docs create: /home/eharney/src/cinder-specs/.tox/docs
docs installdeps: -r/home/eharney/src/cinder-specs/requirements.txt
ERROR: invocation failed (exit code 1), logfile: /home/eharney/src/cinder-specs/.tox/docs/log/docs-1.log
ERROR: actionid: docs
msg: getenv
cmdargs: [local('/home/eharney/src/cinder-specs/.tox/docs/bin/pip'), 'install', '-U', '-r/home/eharney/src/cinder-specs/requirements.txt']
env: {'GLADE_MODULE_PATH': ':/usr/lib64/glade3/modules', 'LOGNAME': 'eharney', 'XDG_MENU_PREFIX': 'xfce-', 'WINDOWPATH': '2', 'PS1': 'e@\\h \\W [\\j] $(declare -F __git_ps1 &>/dev/null && __git_ps1 "(%s)")\\$ ', 'VIRTUAL_ENV': '/home/eharney/src/cinder-specs/.tox/docs', 'HOME': '/home/eharney', 'XDG_VTNR': '2', 'HISTCONTROL': 'ignoredups', 'PATH': '/home/eharney/src/cinder-specs/.tox/docs/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/eharney/.local/bin:/home/eharney/bin', 'DESKTOP_SESSION': 'xfce', 'XDG_SESSION_TYPE': 'x11', 'XDG_RUNTIME_DIR': '/run/user/1000', 'MAIL': '/var/spool/mail/eharney', 'SSH_AUTH_SOCK': '/tmp/ssh-JWr5uwaKUmL3/agent.2566', 'HOSTNAME': 'e-t460s.localdomain', 'PWD': '/home/eharney/src/cinder-specs', 'GDMSESSION': 'xfce', 'GIT_PS1_SHOWUPSTREAM': 'true', 'DISPLAY': ':1.0', 'MODULEPATH': '/etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles', 'GLADE_PIXMAP_PATH': ':/usr/share/glade3/pixmaps', 'GIT_PS1_SHOWSTASHSTATE': 'true', 'VTE_VERSION': '4601', 'XDG_SESSION_DESKTOP': 'xfce', 'JOURNAL_STREAM': '8:31108', 'EDITOR': 'vim', 'XAUTHORITY': '/run/user/1000/gdm/Xauthority', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/2634,unix/unix:/tmp/.ICE-unix/2634', 'PYTHONHASHSEED': '4103375043', 'LOADEDMODULES': '', 'HISTSIZE': '1000', 'XDG_CURRENT_DESKTOP': 'XFCE', 'WINDOWID': '19013277', 'USER': 'eharney', 'GLADE_CATALOG_PATH': ':/usr/share/glade3/catalogs', 'XDG_CONFIG_DIRS': '/etc/xdg', 'SHELL': '/bin/bash', 'GIT_PS1_SHOWDIRTYSTATE': 'true', 'USERNAME': 'eharney', 'XDG_SEAT': 'seat0', 'XDG_DATA_DIRS': '/home/eharney/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/usr/share', 'LANG': 'en_US.UTF-8', '_': '/usr/bin/tox', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'SSH_AGENT_PID': '2598', 'COLORTERM': 'truecolor', 'BASH_FUNC_scl()': '() { local CMD=$1;\n if [ "$CMD" = "load" -o "$CMD" = "unload" ]; then\n eval "module $@";\n else\n /usr/bin/scl "$@";\n fi\n}', 'LS_COLORS': 'rs=0:di=38;5;33:ln=38;5;51:mh=00:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=01;05;37;41:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;40:*.tar=38;5;9:*.tgz=38;5;9:*.arc=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lha=38;5;9:*.lz4=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.tzo=38;5;9:*.t7z=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lrz=38;5;9:*.lz=38;5;9:*.lzo=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.bz=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.alz=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.cab=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.webm=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.m4a=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.oga=38;5;45:*.opus=38;5;45:*.spx=38;5;45:*.xspf=38;5;45::*.pyc=0;37', 'BASH_FUNC_module()': '() { eval `/usr/bin/modulecmd bash $*`\n}', 'SHLVL': '3', 'TERM': 'xterm-256color', 'QUOTING_STYLE': 'literal', 'OLDPWD': '/home/eharney/src/cinder-specs/specs', 'XDG_SESSION_ID': '2', 'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'GIT_PS1_DESCRIBE_STYLE': 'branch', 'MODULESHOME': '/usr/share/Modules'}
Collecting oslosphinx (from -r /home/eharney/src/cinder-specs/requirements.txt (line 1))
Using cached oslosphinx-4.10.0-py2.py3-none-any.whl
Collecting pbr<1.0,>=0.6 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 2))
Using cached pbr-0.11.1-py2.py3-none-any.whl
Collecting sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 3))
Using cached Sphinx-1.2.3-py3-none-any.whl
Collecting testrepository>=0.0.18 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 4))
Collecting testtools>=0.9.34 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 5))
Using cached testtools-2.2.0-py2.py3-none-any.whl
Collecting flake8 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 6))
Using cached flake8-3.3.0-py2.py3-none-any.whl
Collecting yasfb>=0.5.1 (from -r /home/eharney/src/cinder-specs/requirements.txt (line 7))
Using cached yasfb-0.5.1.tar.gz
Collecting requests!=2.12.2,>=2.10.0 (from oslosphinx->-r /home/eharney/src/cinder-specs/requirements.txt (line 1))
Using cached requests-2.13.0-py2.py3-none-any.whl
Requirement already up-to-date: six>=1.9.0 in ./.tox/docs/lib/python3.5/site-packages (from oslosphinx->-r /home/eharney/src/cinder-specs/requirements.txt (line 1))
Requirement already up-to-date: pip in ./.tox/docs/lib/python3.5/site-packages (from pbr<1.0,>=0.6->-r /home/eharney/src/cinder-specs/requirements.txt (line 2))
Collecting Pygments>=1.2 (from sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2->-r /home/eharney/src/cinder-specs/requirements.txt (line 3))
Using cached Pygments-2.2.0-py2.py3-none-any.whl
Collecting docutils>=0.10 (from sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2->-r /home/eharney/src/cinder-specs/requirements.txt (line 3))
Using cached docutils-0.13.1-py3-none-any.whl
Collecting Jinja2>=2.3 (from sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2->-r /home/eharney/src/cinder-specs/requirements.txt (line 3))
Using cached Jinja2-2.9.5-py2.py3-none-any.whl
Collecting fixtures (from testrepository>=0.0.18->-r /home/eharney/src/cinder-specs/requirements.txt (line 4))
Using cached fixtures-3.0.0-py2.py3-none-any.whl
Collecting python-subunit>=0.0.18 (from testrepository>=0.0.18->-r /home/eharney/src/cinder-specs/requirements.txt (line 4))
Using cached python_subunit-1.2.0-py2.py3-none-any.whl
Collecting traceback2 (from testtools>=0.9.34->-r /home/eharney/src/cinder-specs/requirements.txt (line 5))
Using cached traceback2-1.4.0-py2.py3-none-any.whl
Collecting python-mimeparse (from testtools>=0.9.34->-r /home/eharney/src/cinder-specs/requirements.txt (line 5))
Using cached python_mimeparse-1.6.0-py2.py3-none-any.whl
Collecting extras>=1.0.0 (from testtools>=0.9.34->-r /home/eharney/src/cinder-specs/requirements.txt (line 5))
Using cached extras-1.0.0-py2.py3-none-any.whl
Collecting unittest2>=1.0.0 (from testtools>=0.9.34->-r /home/eharney/src/cinder-specs/requirements.txt (line 5))
Using cached unittest2-1.1.0-py2.py3-none-any.whl
Collecting mccabe<0.7.0,>=0.6.0 (from flake8->-r /home/eharney/src/cinder-specs/requirements.txt (line 6))
Using cached mccabe-0.6.1-py2.py3-none-any.whl
Collecting pycodestyle<2.4.0,>=2.0.0 (from flake8->-r /home/eharney/src/cinder-specs/requirements.txt (line 6))
Using cached pycodestyle-2.3.1-py2.py3-none-any.whl
Collecting pyflakes<1.6.0,>=1.5.0 (from flake8->-r /home/eharney/src/cinder-specs/requirements.txt (line 6))
Using cached pyflakes-1.5.0-py2.py3-none-any.whl
Collecting feedformatter (from yasfb>=0.5.1->-r /home/eharney/src/cinder-specs/requirements.txt (line 7))
Using cached feedformatter-0.4.tar.bz2
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-igpay_0c/feedformatter/setup.py", line 3, in <module>
from feedformatter import __version__ as version
File "/tmp/pip-build-igpay_0c/feedformatter/feedformatter.py", line 77
(("pubDate", "pubdate", "date", "published", "updated"), "pubDate", lambda(x): _format_datetime("rss2",x)),
^
SyntaxError: invalid syntax
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-igpay_0c/feedformatter/
ERROR: could not install deps [-r/home/eharney/src/cinder-specs/requirements.txt]; v = InvocationError('/home/eharney/src/cinder-specs/.tox/docs/bin/pip install -U -r/home/eharney/src/cinder-specs/requirements.txt (see /home/eharney/src/cinder-specs/.tox/docs/log/docs-1.log)', 1)
_____________________________________________________________ summary ______________________________________________________________
ERROR: docs: could not install deps [-r/home/eharney/src/cinder-specs/requirements.txt]; v = InvocationError('/home/eharney/src/cinder-specs/.tox/docs/bin/pip install -U -r/home/eharney/src/cinder-specs/requirements.txt (see /home/eharney/src/cinder-specs/.tox/docs/log/docs-1.log)', 1)
To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1665116/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list