Skip to content

build(deps): update mastodon-py requirement from <2.4,>=2.3.3 to >=2.3.3,<2.5 - #351

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/mastodon-py-gte-2.3.3-and-lt-2.5
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/mastodon-py-gte-2.3.3-and-lt-2.5

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 1, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on mastodon-py to permit the latest version.

Release notes

Sourced from mastodon-py's releases.

v2.4.0

  • POTENTIALLY BREAKING CHANGE: Add enums for API parameters and return fields. This could break some code if you previously used identity ("is") comparisons for return values. The recommended fix for this is to use equality ("==") comparisons instead.
  • Remove some error checks for incorrect parameters. In the future, if you want to make sure you're passing a correct parameter, use the appropriate enums.
  • Fixed some incorrectly documented parameters, especially in the admin API.
  • Cleaned up internal typing a little bit
  • Fix some small path bugs affecting windows users
Changelog

Sourced from mastodon-py's changelog.

A note on versioning: This librarys major version will grow with the APIs version number. Breaking changes will be indicated by a change in the minor (or major) version number, and will generally be avoided.

v2.4

  • POTENTIALLY BREAKING CHANGE: Add enums for API parameters and return fields. This could break some code if you previously used identity ("is") comparisons for return values. The recommended fix for this is to use equality ("==") comparisons instead.
  • Remove some error checks for incorrect parameters. In the future, if you want to make sure you're passing a correct parameter, use the appropriate enums.
  • Fixed some incorrectly documented parameters, especially in the admin API.
  • Cleaned up internal typing a little bit
  • Fix some small path bugs affecting windows users

v2.3.3

  • Document Collections endpoints in the accounts API reference.

v2.3.2

  • Bump support level to 4.7.3, update return types with newly added fields
  • Fix stream error handlers raising a tuple instead of an exception (Thanks @​dylanpulver )
  • Fix logic issue in version check code that prevented correct functioning on Pixelfed (Thanks @​gunchleoc , and @​xsuchy for the report)
  • Fix issue with ratelimit code that could lead to crashes in some circumstances (Thanks @​xsuchy for the report)
  • Cache type hints for massively improved performance (Thanks @​toelke for the suggestion)
  • Make MaybeSnowflakeIDs sortable (Thanks @​haraldg for the report and suggestion)
  • Improve error handling for media uploads (Thanks @​aescling for the suggestion)
  • Fix timestamp parsing for Pleromalike Flake IDs
  • 4.6 support: Add supported_types to notification related endpoints
  • 4.6 support: Add exclude_direct to account_statuses
  • 4.6 support: Add collection_ids to report
  • 4.6 support: Add unresolved to admin_reports
  • 4.6 support: Add avatar and header description parameters to account_update_credentials
  • 4.6 support: Add new profile editing API support: profile and profile_update
  • 4.6 support: Add collections support: collection_create, collection, account_collections, account_in_collections, collection_update, collection_delete, collection_item_add, collection_item_delete, and collection_item_revoke
  • 4.6 support: Add annual reports / year in review support: annual_reports, annual_report, annual_report_state, annual_report_read, and annual_report_generate, including previously unsupported endpoints introduced in 4.3 and 4.4
  • Allow status creation with both media attachments and a poll, as supported by Mastodon 4.6 and newer
  • Various small bug and documentation fixes
  • Add only_media support for streams
  • Add support for websocket streaming: stream_open_websocket and a new handle class
  • Tests: Streaming test recording now works on newer Python versions
  • Better pagination support: Endpoints that use offset/limit pagination are now supported generally, and fetch_next(), fetch_previous(), and the newly added pagination_page_iterator() can be used to navigate through responses for endpoints that use a wrapper object with a nested list.

v2.2.2

  • Improve instance information caching
  • Add a function to check whether a given timeline is available on an instance (Thanks @​pdeitel for the report that triggered this)
  • Add warnings when a user tries to access the stream for a deprecated timeline (Thanks @​pdeitel for the report that triggered this)
  • Add missing limit parameter for search (Thanks @​Vitexus)
  • Various small fixes and improvements to testing

... (truncated)

Commits
  • 909b4a8 Add note about compat break to changelog
  • 3e3715e skip some asserts that wont work on 3.8 and 3.7
  • 86e2760 Forward reference resolution for enums and also improve it generally
  • ef6d0db Fix str in replacement strenum
  • 804cf54 No more identity comparisons
  • ebf93f2 Fix missing Literal on 3.7/3.8
  • a00f6a2 This should work actually, unclear why it does not?
  • f155ef3 Prepare release, try to fix 3.7/3.8
  • 441f149 Merge branch 'master' of github.com:halcy/Mastodon.py
  • 4cb12c2 The Enum Update
  • Additional commits viewable in compare view

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Updates the requirements on [mastodon-py](https://github.com/halcy/Mastodon.py) to permit the latest version.
- [Release notes](https://github.com/halcy/Mastodon.py/releases)
- [Changelog](https://github.com/halcy/Mastodon.py/blob/master/CHANGELOG.rst)
- [Commits](halcy/Mastodon.py@v2.3.3...v2.4.0)

---
updated-dependencies:
- dependency-name: mastodon-py
  dependency-version: 2.4.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@sonarqubecloud

sonarqubecloud Bot commented Dec 1, 2026

Copy link
Copy Markdown

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants