collective / collective.jsonmigrator

JSON based migrations for Plone
GNU General Public License v2.0
8 stars 21 forks source link

Replace deprecated base64.encodestring() with encodebytes(). Fix #45 #46

Closed shogunbr closed 2 years ago

shogunbr commented 2 years ago

Replace deprecated base64.encodestring() with encodebytes(). Fix #45 base64.encodestring() was removed from Python 3.9

from https://github.com/python/cpython/issues/83532: base64.encodestring() and base64.decodestring() are aliases deprecated since Python 3.1: encodebytes() and decodebytes() should be used instead.

wesleybl commented 2 years ago

@shogunbr thanks for your PR. Can you please create a separate PR to fix the CI:

https://github.com/collective/collective.jsonmigrator/actions/runs/2313585925

I think it is necessary to update the version of zc.buildout to fix this problem.

Can you also rebase to bring this commit to your branch?

shogunbr commented 2 years ago

@wesleybl done

wesleybl commented 2 years ago

Fix in #50