Got an unexpected keyword argument 'unicode'

Bug #1931094 reported by Martin Kopec
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gce-api
New
Undecided
Unassigned

Bug Description

How to reproduce: Clone the project and run tox

[master][centos@mkopec-devstack gce-api]$ tox -epy36
py36 create: /home/centos/sanity_tempest/gce-api/.tox/py36
py36 installdeps: -r/home/centos/sanity_tempest/gce-api/requirements.txt, -r/home/centos/sanity_tempest/gce-api/test-requirements.txt
py36 develop-inst: /home/centos/sanity_tempest/gce-api
py36 installed: alabaster==0.7.12,alembic==1.6.5,appdirs==1.4.4,astroid==1.3.8,attrs==21.2.0,Babel==2.9.1,bcrypt==3.2.0,cachetools==4.2.2,certifi==2021.5.30,cffi==1.14.5,chardet==4.0.0,cliff==3.8.0,cmd2==1.5.0,colorama==0.4.4,coverage==5.5,cryptography==3.4.7,debtcollector==2.2.0,decorator==4.4.2,dnspython==1.16.0,docutils==0.16,dogpile.cache==1.1.3,eventlet==0.30.2,extras==1.0.0,fasteners==0.14.1,fixtures==3.0.0,flake8==2.5.5,future==0.18.2,-e git+https://opendev.org/x/gce-api.git@a35a28e5dc22e2f680250ae7a3eabe2c0b77bdd0#egg=gce_api,google-api-core==1.28.0,google-api-python-client==2.7.0,google-auth==1.30.1,google-auth-httplib2==0.1.0,googleapis-common-protos==1.53.0,greenlet==1.1.0,hacking==0.11.0,httplib2==0.19.1,idna==2.10,imagesize==1.2.0,importlib-metadata==4.4.0,importlib-resources==5.1.4,iso8601==0.1.14,Jinja2==3.0.1,jmespath==0.10.0,jsonpatch==1.32,jsonpointer==2.1,jsonschema==3.2.0,keystoneauth1==4.3.1,linecache2==1.0.0,logilab-common==1.8.1,Mako==1.1.4,MarkupSafe==2.0.1,mccabe==0.2.1,mock==4.0.3,monotonic==1.6,mox==0.5.3,msgpack==1.0.2,munch==2.5.0,mypy-extensions==0.4.3,netaddr==0.8.0,netifaces==0.11.0,oauth2client==4.1.3,openstacksdk==0.57.0,os-client-config==2.1.0,os-service-types==1.7.0,osc-lib==2.4.0,oslo.concurrency==4.4.0,oslo.config==8.7.0,oslo.context==3.3.0,oslo.db==9.0.0,oslo.i18n==5.0.1,oslo.log==4.5.0,oslo.serialization==4.1.0,oslo.service==2.5.0,oslo.utils==4.9.0,oslotest==4.4.1,packaging==20.9,paramiko==2.7.2,Paste==3.5.0,PasteDeploy==2.1.1,pbr==5.6.0,pep8==1.5.7,prettytable==0.7.2,protobuf==3.17.2,pyasn1==0.4.8,pyasn1-modules==0.2.8,pycparser==2.20,pyflakes==0.8.1,Pygments==2.9.0,pyinotify==0.9.6,pylint==1.4.5,PyNaCl==1.4.0,pyOpenSSL==20.0.1,pyparsing==2.4.7,pyperclip==1.8.2,pyrsistent==0.17.3,python-cinderclient==7.4.0,python-dateutil==2.8.1,python-editor==1.0.4,python-glanceclient==3.3.0,python-keystoneclient==4.2.0,python-mimeparse==1.6.0,python-neutronclient==7.4.0,python-novaclient==17.5.0,python-subunit==1.4.0,pytz==2021.1,PyYAML==5.4.1,repoze.lru==0.7,requests==2.25.1,requestsexceptions==1.4.0,rfc3986==1.5.0,Routes==2.5.1,rsa==4.7.2,simplejson==3.17.2,six==1.16.0,snowballstemmer==2.1.0,Sphinx==3.5.4,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==2.0.0,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.5,SQLAlchemy==1.3.23,sqlalchemy-migrate==0.13.0,sqlparse==0.4.1,stestr==3.2.0,stevedore==3.3.0,tempest==27.0.0,Tempita==0.5.2,testrepository==0.0.20,testresources==2.0.1,testscenarios==0.5.0,testtools==2.4.0,traceback2==1.4.0,typing-extensions==3.10.0.0,unittest2==1.1.0,uritemplate==3.0.1,urllib3==1.26.5,voluptuous==0.12.1,warlock==1.3.3,wcwidth==0.2.5,WebOb==1.8.7,wrapt==1.12.1,yappi==1.3.2,zipp==3.4.1
py36 run-test-pre: PYTHONHASHSEED='0'
py36 run-test: commands[0] | python setup.py testr --slowest --testr-args=
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt))
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
  % (opt, underscore_opt))
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
  % (opt, underscore_opt))
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
  % (opt, underscore_opt))
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead
  % (opt, underscore_opt))
/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/setuptools/dist.py:694: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead
  % (opt, underscore_opt))
running testr
running=OS_STDOUT_CAPTURE=1 \
OS_STDERR_CAPTURE=1 \
OS_LOG_CAPTURE=1 \
${PYTHON:-python} -m subunit.run discover -t ./ gceapi/tests/unit --list
--- import errors ---
Failed to import test module: gceapi.tests.unit
Traceback (most recent call last):
  File "/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/unittest2/loader.py", line 490, in _find_test_path
    package = self._get_module_from_name(name)
  File "/home/centos/sanity_tempest/gce-api/.tox/py36/lib/python3.6/site-packages/unittest2/loader.py", line 395, in _get_module_from_name
    __import__(name)
  File "/home/centos/sanity_tempest/gce-api/gceapi/__init__.py", line 31, in <module>
    gettext.install('gceapi', unicode=1)
TypeError: install() got an unexpected keyword argument 'unicode'
Non-zero exit code (2) from test listing.
error: testr failed (3)
ERROR: InvocationError for command /home/centos/sanity_tempest/gce-api/.tox/py36/bin/python setup.py testr --slowest --testr-args= (exited with code 1)
____________________________________________________________________________________ summary _____________________________________________________________________________________
ERROR: py36: commands failed
1[master][centos@mkopec-devstack gce-api]$

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.