Skip to content

Replace calls of deprecated login methods in examples#306

Closed
sblondon wants to merge 9 commits intomatrix-org:masterfrom
sblondon:replace_login_with_password_method_call
Closed

Replace calls of deprecated login methods in examples#306
sblondon wants to merge 9 commits intomatrix-org:masterfrom
sblondon:replace_login_with_password_method_call

Conversation

@sblondon
Copy link
Contributor

@sblondon sblondon commented May 6, 2019

The examples in samples/ directory used MatrixClient.login_with_password() and
MatrixClient.login_with_password_no_sync(). These calls are replaced
by newer MatrixClient.login() method.

The examples in samples/ used MatrixClient.login_with_password() and
MatrixClient.login_with_password_no_sync(). These calls are replaced
by newer MatrixClient.login() method.
@Half-Shot
Copy link
Collaborator

Hiya, CI appears to be broken and will be fixed by #307 so I'll wait for that before merging. Can you also sign off as stated in https://github.com/matrix-org/matrix-python-sdk/blob/master/CONTRIBUTING.rst :)

sblondon added 2 commits May 6, 2019 21:45
The examples in samples/ used MatrixClient.login_with_password() and
MatrixClient.login_with_password_no_sync(). These calls are replaced
by newer MatrixClient.login() method.

Signed-off-by: Stephane Blondon <stephane.blondon@gmail.com>
@sblondon
Copy link
Contributor Author

sblondon commented May 6, 2019

Thanks for the quick review! :)

I added a 'sign-off-by' line in 2dda341

@claudep
Copy link

claudep commented Oct 4, 2019

Looks like this could be pushed now the CI is green again!

@non-Jedi
Copy link
Collaborator

non-Jedi commented Oct 4, 2019

He's right. @sblondon, could you please rebase on master so CI passes?

Half-Shot and others added 6 commits October 4, 2019 19:20
Also now use python-olm from pypi instead of directly using the
(now defunct) git repo.
Sphinx minimum version bumped per
sphinx-doc/sphinx#5870 (comment)
since doc building currently fails on 3.7 CI.
@sblondon
Copy link
Contributor Author

sblondon commented Oct 4, 2019

After the rebase, the CI is green. However, as the new commits are visible, I guess I failed to do a clean rebase.

I done:

git remote add upstream https://github.com/matrix-org/matrix-python-sdk.git
git fetch upstream
git checkout master
git rebase upstream/master
git checkout replace_login_with_password_method_call
git rebase upstream/master
git push

If you prefer, I can close this PR and create a new one.

@non-Jedi
Copy link
Collaborator

non-Jedi commented Oct 4, 2019

Don't worry about it. I'll just cherry-pick your commit. Thanks for updating these.

@non-Jedi non-Jedi closed this Oct 4, 2019
@sblondon sblondon deleted the replace_login_with_password_method_call branch October 5, 2019 07:57
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.

4 participants