Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump matrix-client from 0.3.2 to 0.4.0 in /requirements #7255

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 27, 2021

Bumps matrix-client from 0.3.2 to 0.4.0.

Release notes

Sourced from matrix-client's releases.

v0.4.0

This is a new release to address the incompatibility between matrix-python v0.3.2 and Synapse v1.38.0+. See #320 for the full details.

Changes since v0.3.2:

  • Experimental support for encrypted rooms has been implemented. Note that the functionality is disabled by default, but can be enabled by first installing the native libolm library (v3.0.0+), then the encryption-related python dependencies with:

    pip install matrix-client[e2e]
    
  • Add an option (use_authorization_header) for sending auth tokens using the HTTP Authorization header instead of the access_token query parameter.

  • Add the ability to set the room name and whether room federation is allowed with create_room().

  • Catch MissingSchema errors that could be raised by the http library (see issue #221 for details).

  • Add urllib3 as an explicit dependency.

  • Include the SDK version in the User Agent of requests.

  • Speed up membership handling code in rooms.

  • Use lexicographical sort to room displayname calculation.

  • Add a new method, whoami, for determining the Matrix ID of the currently authenticated user.

  • Better support for global vs. per-room display names.

  • Better handling of users who lack a display name.

  • Add support for specifying a filename when uploading media.

  • Numerous fixes to the tests.

Commits
  • 887f5d5 Release v0.4.0
  • 82fb7d7 handle smaller sync responses introduced in synapse 1.38.0 (#321)
  • a469d53 Update README to point to nio as an alternative library
  • 06580f7 Remove use of deprecated methods in examples
  • 0b5033c Add deprecation info in a docstring
  • a253134 Remove --process-dependency-links section
  • 726db6a Replace calls of deprecated login methods in examples
  • c091ea8 Pin dependency versions per semver
  • 76a6ffc Disable e2e tests when olm can't be imported
  • 53af458 Refactor CI config to eliminate tox
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [matrix-client](https://github.com/matrix-org/matrix-python-sdk) from 0.3.2 to 0.4.0.
- [Release notes](https://github.com/matrix-org/matrix-python-sdk/releases)
- [Commits](matrix-org/matrix-python-sdk@v0.3.2...v0.4.0)

---
updated-dependencies:
- dependency-name: matrix-client
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 27, 2021
@auto-assign auto-assign bot requested a review from fredo July 27, 2021 11:03
Since matrix-client 0.4.0 base_url has been renamed to _base_url.
@istankovic
Copy link
Contributor

@fredo, @ulope, why do we have matrix-client pinned to 0.3.2? Apparently it's been like that since aa0854b.

Also, matrix-client is basically unmaintained, seems to be superseded by https://github.com/poljar/matrix-nio.

@ulope
Copy link
Collaborator

ulope commented Aug 3, 2021

@istankovic Because we've heavily modified it via method overrides (and in some cases where no suitable method override was possible by copying code into and then modifying it in our subclasses).

We had a project to migrate to matrix-nio a while back. It only provides a fully featured client for asyncio. For other frameworks it can be used as a "No IO" library (as the name suggests).
At the time we didn't have the aio-gevent bridge yet and therefore would have had to implement the IO part on top of gevent ourselves. We stopped the porting effort since other issues were more pressing.

So in summary upgrading this will require carefully looking at the changes and tracking whether we need to modify any of our overridden / changed methods as well.

@istankovic
Copy link
Contributor

@ulope:
[...]

So in summary upgrading this will require carefully looking at the changes and tracking whether we need to modify any of our overridden / changed methods as well.

Right, thanks for the detailed reply!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants