CENGN build failure due to updated more-itertools module
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Critical
|
Don Penney |
Bug Description
Brief Description
-----------------
A recent update to the more-itertools python module causes a failure in the CENGN build in the STX_BUILD_
00:00:52.319 Downloading https:/
00:00:52.485 Complete output from command python setup.py egg_info:
00:00:52.485 Traceback (most recent call last):
00:00:52.485 File "<string>", line 1, in <module>
00:00:52.485 File "/tmp/pip-
00:00:52.485 from more_itertools import __version__
00:00:52.485 File "more_itertools
00:00:52.485 from .more import * # noqa
00:00:52.485 File "more_itertools
00:00:52.485 yield from iterable
00:00:52.485 ^
00:00:52.485 SyntaxError: invalid syntax
00:00:52.485
00:00:52.485 -------
00:00:52.517 [91mCommand "python setup.py egg_info" failed with error code 1 in /tmp/pip-
Severity
--------
Critical
Reproducibility
---------------
Reproducible
Branch/Pull Time/Commit
-------
First build failure seen with Jan 11, 2020, master build
tags: | added: in-r-stx20 in-r-stx30 |
Reviewed: https:/ /review. opendev. org/702471 /git.openstack. org/cgit/ starlingx/ tools/commit/ ?id=12c3dc47720 bc8d011a746faf4 2b824caac8faa6
Committed: https:/
Submitter: Zuul
Branch: master
commit 12c3dc47720bc8d 011a746faf42b82 4caac8faa6
Author: Don Penney <email address hidden>
Date: Tue Jan 14 11:20:50 2020 -0500
Constrain more-itertools for build failure
A recent update to the more-itertools python module causes a failure container_ setup CENGN build job. This module dropped
in the STX_BUILD_
python-2.7 support after its 5.0.0 release. The newest update causes a
failure due to code that does not work with 2.7.
This commit adds a builder- constraints. txt file that the Dockerfile
passes to the pip install command to constrain module versions during
setup of the build container, allowing us to constrain the
more-itertools version to 5.0.0, the last version to officially
support python 2.7.
Change-Id: I3432c204ecd7c4 ddedd8a7dea1421 6d4ec31e0aa
Closes-Bug: 1859642
Signed-off-by: Don Penney <email address hidden>