Created attachment 219794 [details] Proposed patch
Build is ok: https://cirrus-ci.com/task/5175511104094208 Need approval from a ports committer ;)
Approved by: lwhsu (ports)
A commit references this bug: Author: ygy Date: Fri Nov 20 08:13:15 UTC 2020 New revision: 555749 URL: https://svnweb.freebsd.org/changeset/ports/555749 Log: devel/py-colorama: Update to 0.4.4 PR: 251240 Approved by: lwhsu Changes: head/devel/py-colorama/Makefile head/devel/py-colorama/distinfo
Hi there. The Update breaks the build with python36: ===> Returning to build of py36-colorama-0.4.4 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for py36-colorama-0.4.4 Traceback (most recent call last): File "<string>", line 1, in <module> File "setup.py", line 36, in <module> long_description=read_file('README.rst'), File "setup.py", line 19, in read_file return fp.read() 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 0xc2 in position 852: ordinal not in range(128) *** Error code 1 Stop. make: stopped in /usr/ports/devel/py-colorama =>> Cleaning up wrkdir ===> Cleaning for py36-colorama-0.4.4 build of devel/py-colorama@py36 | py36-colorama-0.4.4 ended at Mon Nov 23 01:04:02 CET 2020 build time: 00:00:03 !!! build failure encountered !!!
(In reply to Dani from comment #4) This is due to an upstream (encoding) bug in the setup.py. I will wait for the quick PR to be merged upstream, and in the meantime keep this PR open.
(In reply to Dani from comment #4) ^ forgot the link: https://github.com/tartley/colorama/issues/291
Opened a new issue PR252294 to track the build issues.
A commit references this bug: Author: kai Date: Thu Dec 31 12:03:03 UTC 2020 New revision: 559722 URL: https://svnweb.freebsd.org/changeset/ports/559722 Log: devel/py-colorama: Fix build with Python 3.6 * Backport PR #294 [1] from upstream repository to enable default UTF-8 encoding in setup.py which fixes the build issue with Python 3.6. PR: 252294, 251240 [2] Submitted by: John W. O'Brien [1] Reported by: Dani <i.dani@outlook.com> [2] Reviewed by: koobs, ygy Approved by: portmgr (blanket: build fix) Changes: head/devel/py-colorama/files/ head/devel/py-colorama/files/patch-setup.py