On Mon, Dec 06, 2021 at 11:11:01PM +0000, Stuart Henderson wrote:
> On 2021/12/06 16:20, Josh Grosse wrote:
> > It appears that the transition to Python 3.9 caused a regression
> > for print/py-reportlab. The base64 API changed: encodestring and
> > decodestring are now encodebytes and decode bytes. The attached
> > patch revises print/py-reportlab accordingly.
>
> It would be much better to update instead. Can you try this diff please?
It solves the problem. Thank you!
>
> > I have added `MODPY_VERSION=3.9` to the Makefile, which I am
> > unsure is the correct action.
>
> It's not; that is the default for the python3 flavour anyway, but also the
> port needs to support Python 2 unless a py2- version is split off (sK1
> doesn't support py3).
I'd forgotten about setting FLAVOR for the build; no need to set the
version explicitly.. Once again, thank you for your advice and
corrections. It's appreciated!
No comments:
Post a Comment