Hi! I am currently packaging python-aioresponses [1] which fails to build from source in OBS with the following backtrace: [ 37s] + echo python3 [ 37s] + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' [ 37s] Traceback (most recent call last): [ 37s] File "setup.py", line 6, in <module> [ 37s] pbr=True, [ 37s] File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 139, in setup [ 37s] _install_setup_requires(attrs) [ 37s] File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 132, in _install_setup_requires [ 37s] dist.parse_config_files(ignore_option_errors=True) [ 37s] File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 492, in parse_config_files [ 37s] _Distribution.parse_config_files(self, filenames=filenames) [ 37s] File "/usr/lib64/python3.6/distutils/dist.py", line 395, in parse_config_files [ 37s] parser.read(filename) [ 37s] File "/usr/lib64/python3.6/configparser.py", line 697, in read [ 37s] self._read(fp, filename) [ 37s] File "/usr/lib64/python3.6/configparser.py", line 1015, in _read [ 37s] for lineno, line in enumerate(fp, start=1): [ 37s] File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode [ 37s] return codecs.ascii_decode(input, self.errors)[0] [ 37s] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 44: ordinal not in range(128) [ 37s] error: Bad exit status from /var/tmp/rpm-tmp.UucssU (%build) Turns out, this is an issue with the locale: glaubitz@suse-laptop:~/suse/home:glaubitz:branches:devel:languages:python/python-aioresponses/aioresponses-0.5.0> LC_ALL=C python3 setup.py build '--executable=/usr/bin/python3 -s' Traceback (most recent call last): File "setup.py", line 7, in <module> pbr=True, File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 139, in setup _install_setup_requires(attrs) File "/usr/lib/python3.6/site-packages/setuptools/__init__.py", line 132, in _install_setup_requires dist.parse_config_files(ignore_option_errors=True) File "/usr/lib/python3.6/site-packages/setuptools/dist.py", line 492, in parse_config_files _Distribution.parse_config_files(self, filenames=filenames) File "/usr/lib64/python3.6/distutils/dist.py", line 395, in parse_config_files parser.read(filename) File "/usr/lib64/python3.6/configparser.py", line 697, in read self._read(fp, filename) File "/usr/lib64/python3.6/configparser.py", line 1015, in _read for lineno, line in enumerate(fp, start=1): File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 44: ordinal not in range(128) glaubitz@suse-laptop:~/suse/home:glaubitz:branches:devel:languages:python/python-aioresponses/aioresponses-0.5.0> python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py running egg_info writing aioresponses.egg-info/PKG-INFO writing dependency_links to aioresponses.egg-info/dependency_links.txt writing requirements to aioresponses.egg-info/requires.txt writing top-level names to aioresponses.egg-info/top_level.txt [pbr] Reusing existing SOURCES.txt glaubitz@suse-laptop:~/suse/home:glaubitz:branches:devel:languages:python/python-aioresponses/aioresponses-0.5.0> I'm not sure though why the locale should have any impact on setuptools. Anyone got an idea? I've been debugging this for an hour now :-). Adrian
[1] https://build.opensuse.org/package/show/home:glaubitz:branches:devel:languag...
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org