Skip to content

Commit

Permalink
Blacklist setuptools 40.7.0
Browse files Browse the repository at this point in the history
Setuptools 40.7.0 introduced support for non-ascii chars in setup.cfg [1],
which causes python2.7 based sphinx jobs to fail with str-unicode mismatch,
e.g. with [2]:

'error: 'builder' must be a list of strings (got u'html,man')

See issue [3].

[1] https://setuptools.readthedocs.io/en/latest/history.html#v40-7-0
[2] http://logs.openstack.org/periodic-stable/git.openstack.org/openstack/keystone/stable/queens/build-openstack-sphinx-docs/0ea4957/job-output.txt.gz#_2019-01-28_06_18_25_401045
[3] pypa/setuptools#1653

Change-Id: I8921639cc4a1edfa0ac9d46a7cc03549aa6189aa
  • Loading branch information
Elod Illes committed Jan 28, 2019
1 parent 2869dd8 commit 5989f40
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion global-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,8 @@ selenium>=2.50.1 # Apache-2.0
# situations as progressive releases of projects are done.
# Blacklist setuptools 34.0.0-34.3.2 due to https://github.com/pypa/setuptools/issues/951
# Blacklist setuptools 36.2.0 due to https://github.com/pypa/setuptools/issues/1086
setuptools>=16.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0 # PSF/ZPL
# Blacklist setuptools 40.7.0 due to https://github.com/pypa/setuptools/issues/1653
setuptools>=16.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0,!=40.7.0 # PSF/ZPL
sphinx>=1.6.2,!=1.6.6 # BSD
sphinx-testing>=0.7.2 # BSD License
sphinxcontrib-actdiag>=0.8.5 # BSD
Expand Down

0 comments on commit 5989f40

Please sign in to comment.