~mcepl/json_diff#17: 
pip install errors on Linux container - the file open call in setup.py should explicitly specify encoding.

Collecting json-diff
  Using cached https://files.pythonhosted.org/packages/6a/48/f6106761581a54d370ac8342ab81a6414548ae72eb126c2a650b5a590252/json_diff-1.5.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-8z02at46/json-diff/setup.py", line 28, in <module>
        long_description=get_long_description(),
      File "/tmp/pip-build-8z02at46/json-diff/setup.py", line 17, in get_long_description
        + read("NEWS.txt")
      File "/tmp/pip-build-8z02at46/json-diff/setup.py", line 9, in read
        out = "\n" + f.read().replace("\r\n", "\n")
      File "/usr/local/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 199: ordinal not in range(128)
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-8z02at46/json-diff/
You are using pip version 9.0.3, however version 20.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
root@d9de3cf71859:/usr/src/node-red# pip
bash: pip: command not found
root@d9de3cf71859:/usr/src/node-red# pip install --upgrade pip
bash: pip: command not found
root@d9de3cf71859:/usr/src/node-red# uname -a
Linux d9de3cf71859 4.9.125-linuxkit #1 SMP Fri Sep 7 08:20:28 UTC 2018 x86_64 GNU/Linux
root@d9de3cf71859:/usr/src/node-red# 
Status
REPORTED
Submitter
~mcepl
Assigned to
No-one
Submitted
9 months ago
Updated
9 months ago
Labels
No labels applied.