Docker fails to build pyScss wheel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Davlet Panech |
Bug Description
Brief Description
-----------------
docker-
Severity
--------
Critical
Steps to Reproduce
------------------
Run docker-
Expected Behavior
------------------
Build script should succeed
Actual Behavior
----------------
Build script fails due to a missing Python module
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
3a95ab163f4cb43
Last Pass
---------
Yes.
Timestamp/Logs
--------------
From the build log:
sys.version_info < (3,) and warnings.warn(pre + "*" * 60 + msg + "*" * 60)
Traceback (most recent call last):
File "setup.py", line 9, in <module>
from setuptools import setup, Extension, Feature
ImportError: cannot import name Feature
Test Activity
-------------
Build
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Davlet Panech (dpanech) |
Changed in starlingx: | |
status: | New → In Progress |
Reviewed: https:/ /review. opendev. org/711967 /git.openstack. org/cgit/ starlingx/ root/commit/ ?id=3b0e2dd4ea9 2b4fe5b53b1fd4b 38a5e673e9c92c
Committed: https:/
Submitter: Zuul
Branch: master
commit 3b0e2dd4ea92b4f e5b53b1fd4b38a5 e673e9c92c
Author: Davlet Panech <email address hidden>
Date: Mon Mar 9 14:54:10 2020 -0400
Fixed broken setuptools import
pyScss tries to import a module called "Feature" from setuptools,
which was removed from setuptools 46.0.0 (mar 8 2020). This causes
compilation erros. The fix updates "pip install" in Dockerfile
to install setuptools < 46.0.0
Change-Id: Ib5c00aafb934ef af1413e72ede306 38f2dc35230
Signed-off-by: Davlet Panech <email address hidden>
Closes-Bug: 1866699