Skip to content

Commit

Permalink
Rollback dulwich to 0.18.2
Browse files Browse the repository at this point in the history
We need to have 0.18.2 until 0.18.4 is
released, the error problem is explained in [1].
Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg,
+    since setuptools doesn't deal well with them. See
+    pypa/setuptools#1062. (Jelmer Vernooij, #637)

dulwich 0.18.3 breaks in instack-undercloud with:

Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-ph6c_nsn/dulwich/setup.py", line 96, in <module>
        **setup_kwargs
      File "/repos/instack-undercloud/.tox/py36/lib/python3.6/site-packages/setuptools/__init__.py", line 128, in setup
        _install_setup_requires(attrs)
      File "/repos/instack-undercloud/.tox/py36/lib/python3.6/site-packages/setuptools/__init__.py", line 121, in _install_setup_requires
        dist.parse_config_files(ignore_option_errors=True)
      File "/repos/instack-undercloud/.tox/py36/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 "/repos/instack-undercloud/.tox/py36/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 0xc4 in position 48: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-ph6c_nsn/dulwich/

[1]: jelmer/dulwich@1b6509f

Change-Id: Icabb56b9c6b2d99d78a7e1a77f8fe7a4ea6fa0c8
  • Loading branch information
ccamacho committed Jun 21, 2018
1 parent 25e3c75 commit b486b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upper-constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ systemd-python===234
python-memcached===1.59
openstacksdk===0.14.0
six===1.11.0
dulwich===0.19.3
dulwich===0.19.2
pykafka===2.7.0
kombu===4.2.1
betamax-matchers===0.4.0
Expand Down

0 comments on commit b486b75

Please sign in to comment.