2
1

0001-Convert-HISTORY.rst-from-UTF-8-format-to-ASCII.patch 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 3d195f4f599f37c89419f1db1302f94acb38c264 Mon Sep 17 00:00:00 2001
  2. From: Yegor Yefremov <yegorslists@googlemail.com>
  3. Date: Tue, 1 Aug 2017 10:15:33 +0200
  4. Subject: [PATCH] Convert HISTORY.rst from UTF-8 format to ASCII
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. UTF-8 formatted file breaks installations on some systems:
  9. Traceback (most recent call last):
  10. File "setup.py", line 34, in <module>
  11. long_description=open('README.rst').read() + '\n\n' + open('HISTORY.rst').read(),
  12. File "/home/peko/autobuild/instance-1/output/target/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
  13. return codecs.ascii_decode(input, self.errors)[0]
  14. UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 1125: ordinal not in range(128)
  15. To fix this error just replace '§' with 'S' meaning 'Section'.
  16. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
  17. ---
  18. HISTORY.rst | 2 +-
  19. 1 file changed, 1 insertion(+), 1 deletion(-)
  20. diff --git a/HISTORY.rst b/HISTORY.rst
  21. index 37b2d9c..b9310f5 100644
  22. --- a/HISTORY.rst
  23. +++ b/HISTORY.rst
  24. @@ -27,7 +27,7 @@ Release History
  25. - HPACK now tolerates receiving multiple header table size changes in sequence,
  26. rather than only one.
  27. - HPACK now forbids header table size changes anywhere but first in a header
  28. - block, as required by RFC 7541 § 4.2.
  29. + block, as required by RFC 7541 S 4.2.
  30. - Other miscellaneous performance improvements.
  31. 2.3.0 (2016-08-04)
  32. --
  33. 2.11.0