horizon has fixed the issue but unfortunately the fixes are not linked with it.
I am summarizing the fixes.
Multiple fixes are involved in the master branch (i.e. ussuri), so fixes in the
stable/train branch would be better for the summary.
The related fixes in stable/train are as follows:
- 9813577f7d0137da0e29c7630cffc3e1e1b329f5 (Update pyScss to 1.3.7)
- f26c88721614d1c25bcd26740b8fb20a7a97bd05 (Implement 'selector-append' sass
function) which fixes an problem in the material design with pyScss 1.3.5 or
later.
They were backported to stable/stein too.
Regarding stable/rocky or older branches, we don't backport them from the
following reasons:
- The CI jobs are not broken as they use setuptools<46.
- It is better to avoid requirements change as much as possible.
- stable/rocky and older branches are in the extended maintenance phase so the
upstream development team does not focus on them much.
** Changed in: horizon
Importance: Undecided => Critical
** Changed in: horizon
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1866961
Title:
ImportError: cannot import name 'Feature'
Status in devstack:
Invalid
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in kolla:
Fix Released
Status in kolla train series:
Fix Committed
Status in kolla ussuri series:
Fix Released
Bug description:
One of Horizon's requirements is pyscss package. Which had last
release over 4 years ago...
Two days ago setuptools v46 got released. One of changes was drop of
Features feature.
Now Kolla builds fail:
INFO:kolla.common.utils.horizon:Collecting pyScss===1.3.4
INFO:kolla.common.utils.horizon: Downloading
http://mirror.ord.rax.opendev.org:8080/pypifiles/packages/1d/4a/221ae7561c8f51c4f28b2b172366ccd0820b14bb947350df82428dfce381/pyScss-1.3.4.tar.gz
(120 kB)
INFO:kolla.common.utils.horizon:[91m ERROR: Command errored out with exit
status 1:
INFO:kolla.common.utils.horizon: command: /var/lib/kolla/venv/bin/python
-c 'import sys, setuptools, tokenize; sys.argv[0] =
'"'"'/tmp/pip-install-rr0db3qs/pyScss/setup.py'"'"';
__file__='"'"'/tmp/pip-install-rr0db3qs/pyScss/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
--egg-base /tmp/pip-install-rr0db3qs/pyScss/pip-egg-info
INFO:kolla.common.utils.horizon: cwd:
/tmp/pip-install-rr0db3qs/pyScss/
INFO:kolla.common.utils.horizon: Complete output (5 lines):
INFO:kolla.common.utils.horizon: Traceback (most recent call last):
INFO:kolla.common.utils.horizon: File "<string>", line 1, in <module>
INFO:kolla.common.utils.horizon: File
"/tmp/pip-install-rr0db3qs/pyScss/setup.py", line 9, in <module>
INFO:kolla.common.utils.horizon: from setuptools import setup,
Extension, Feature
INFO:kolla.common.utils.horizon: ImportError: cannot import name 'Feature'
Devstack also has the same problem.
Are there any plans to fix it?
pyscss project got issue: https://github.com/Kronuz/pyScss/issues/385
What are plans of Horizon team?
To manage notifications about this bug go to:
https://bugs.launchpad.net/devstack/+bug/1866961/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp