[Bug 1907494] [NEW] base64 encodestring is deprecated and removed in python 3.9
Corey Bryant
1907494 at bugs.launchpad.net
Wed Dec 9 20:07:26 UTC 2020
Public bug reported:
From: https://docs.python.org/3.8/library/base64.html]
base64.encodebytes(s)
Encode the bytes-like object s, which can contain arbitrary binary
data, and return bytes containing the base64-encoded data, with newlines
(b'\n') inserted after every 76 bytes of output, and ensuring that there
is a trailing newline, as per RFC 2045 (MIME).
New in version 3.1.
base64.encodestring(s)
Deprecated alias of encodebytes().
Deprecated since version 3.1.
** Affects: manila
Importance: Undecided
Status: New
** Affects: manila (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
From: https://docs.python.org/3.8/library/base64.html]
- base64.decodebytes(s)
- Decode the bytes-like object s, which must contain one or more lines
- of base64 encoded data, and return the decoded bytes.
+ base64.encodebytes(s)
+
+ Encode the bytes-like object s, which can contain arbitrary binary
+ data, and return bytes containing the base64-encoded data, with newlines
+ (b'\n') inserted after every 76 bytes of output, and ensuring that there
+ is a trailing newline, as per RFC 2045 (MIME).
New in version 3.1.
- base64.decodestring(s)
+ base64.encodestring(s)
- Deprecated alias of decodebytes().
+ Deprecated alias of encodebytes().
Deprecated since version 3.1.
** Summary changed:
- base64 decodestring is deprecated and removed in python 3.9
+ base64 encodestring is deprecated and removed in python 3.9
** Also affects: manila (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to manila in Ubuntu.
https://bugs.launchpad.net/bugs/1907494
Title:
base64 encodestring is deprecated and removed in python 3.9
Status in OpenStack Shared File Systems Service (Manila):
New
Status in manila package in Ubuntu:
New
Bug description:
From: https://docs.python.org/3.8/library/base64.html]
base64.encodebytes(s)
Encode the bytes-like object s, which can contain arbitrary binary
data, and return bytes containing the base64-encoded data, with
newlines (b'\n') inserted after every 76 bytes of output, and ensuring
that there is a trailing newline, as per RFC 2045 (MIME).
New in version 3.1.
base64.encodestring(s)
Deprecated alias of encodebytes().
Deprecated since version 3.1.
To manage notifications about this bug go to:
https://bugs.launchpad.net/manila/+bug/1907494/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list