Skip to content

Conversation

@xhernandez
Copy link
Contributor

Python 3.9 has removed the deprecated method 'encodestring' from base64 module.
It needs to be replaced by ' encodebytes'.

Signed-off-by: Xavi Hernandez [email protected]

@StykMartin StykMartin self-requested a review November 12, 2020 11:42
@StykMartin StykMartin changed the base branch from develop to release-28 November 12, 2020 11:42
@StykMartin
Copy link
Contributor

/test
/packit build

@xhernandez
Copy link
Contributor Author

@StykMartin I've just checked that there are other places where encodestring is used. I'll send another commit to also update those.

@StykMartin
Copy link
Contributor

StykMartin commented Nov 12, 2020

@StykMartin I've just checked that there are other places where encodestring is used. I'll send another commit to also update those.

Actually no. I believe that other places are Python 2 only and it should stay that way.
Only common and client are Python 3 supported.

@xhernandez
Copy link
Contributor Author

Actually no. I believe that other places are Python 2 only and it should stay that way.
Only common and client are Python 3 supported.

Ok

@StykMartin
Copy link
Contributor

Server/bkr/server/BasicAuthTransport.py - Python 2 only
LabController/aux/anamon - Python 2 only
IntegrationTests/src/bkr/inttest/server/selenium/test_login.py - Python 2 only
Common/bkr/common/xmlrpc2.py - Python 2 only

Copy link
Contributor

@StykMartin StykMartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Pylint failed due to Python 2 only.
We all good.

@StykMartin
Copy link
Contributor

Ready for merge @renanrodrigo

@renanrodrigo renanrodrigo merged commit 26769b9 into beaker-project:release-28 Nov 13, 2020
@xhernandez xhernandez deleted the issue-74 branch November 16, 2020 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants