* Re-improve clarity of OAuth 2.0 User Context example code
* Fix SyntaxWarning
* Install 'build'
* Bump version number to 4.15.0
* Docs config updates to fix build
* Fix Sphinx context injection removal by readthedocs
* Revert hoverxref upgrade for now until sphinx can be updated
* Fix build error for docs related to 'html_context' setting
* Modernize packaging configuration
* Add new publish workflow to use trusted publisher
* Add dev and test dependencies
* Update publish workflow...
* Add support for posting tweets to Communities
* Update .gitignore
* Release 4.16.0
- Drop fix-package-version.patch, merged upstream
- Update BuildRequires from pyproject.toml
- Use Python 3.11 on SLE-15 by default
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=36
- Update to 4.14.0:
* Add constants for potential model object fields
* Add verified_type field for User
* Add 1 second buffer to API v2 streaming timeout
* Default AsyncBaseStream to abort closed SSL transports
* Warn when Tweet data is missing default edit_history_tweet_ids field
* Change initial network_error_wait to 0 for streaming
* Add support for include_ext_edit_control parameter for API methods
* Add support for edit_history_tweet_ids and edit_controls Tweet fields
* Add asynchronous.AsyncPaginator for pagination for AsyncClient
* Add support for exclude parameter for get_quote_tweets
* Add support for edit_history_tweet_ids and edit_controls Tweet fields
* Add asynchronous.AsyncPaginator for pagination for AsyncClient
* Add support for exclude parameter for get_quote_tweets
* Fix AsyncBaseClient rate limit handling
* Fix handling of StreamRule when passed in list to
StreamingClient.delete_rules or AsyncStreamingClient.delete_rules
* Add support for media_fields, place_fields, and poll_fields parameters
for Client.get_list_tweets and AsyncClient.get_list_tweets
* Ignore AsyncClient method parameters explicitly passed as None
* Add asynchronous interfaces for Twitter API v2
* Add async_lru as requirement for async extra
* Add asynchronous.AsyncStreamingClient
* Add support for reverse chronological home timeline with Twitter API v2
* Add Client.get_home_timeline and AsyncClient.get_home_timeline
* Update the User-Agent header based on AsyncStream.user_agent even if
AsyncStream.session is already initialized/set
- Switch to pyproject macros.
- Less globbing in %files.
- Restrict to urllib3 to < 2, due to vcrpy changes.
OBS-URL: https://build.opensuse.org/request/show/1157416
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tweepy?expand=0&rev=15
* Add constants for potential model object fields
* Add verified_type field for User
* Add 1 second buffer to API v2 streaming timeout
* Default AsyncBaseStream to abort closed SSL transports
* Warn when Tweet data is missing default edit_history_tweet_ids field
* Change initial network_error_wait to 0 for streaming
* Add support for include_ext_edit_control parameter for API methods
* Add support for edit_history_tweet_ids and edit_controls Tweet fields
* Add asynchronous.AsyncPaginator for pagination for AsyncClient
* Add support for exclude parameter for get_quote_tweets
* Add support for edit_history_tweet_ids and edit_controls Tweet fields
* Add asynchronous.AsyncPaginator for pagination for AsyncClient
* Add support for exclude parameter for get_quote_tweets
* Fix AsyncBaseClient rate limit handling
* Fix handling of StreamRule when passed in list to
StreamingClient.delete_rules or AsyncStreamingClient.delete_rules
* Add support for media_fields, place_fields, and poll_fields parameters
for Client.get_list_tweets and AsyncClient.get_list_tweets
* Ignore AsyncClient method parameters explicitly passed as None
* Add asynchronous interfaces for Twitter API v2
* Add async_lru as requirement for async extra
* Add asynchronous.AsyncStreamingClient
* Add support for reverse chronological home timeline with Twitter API v2
* Add Client.get_home_timeline and AsyncClient.get_home_timeline
* Update the User-Agent header based on AsyncStream.user_agent even if
AsyncStream.session is already initialized/set
- Switch to pyproject macros.
- Less globbing in %files.
- Restrict to urllib3 to < 2, due to vcrpy changes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=29
- update to version 4.9.0:
New Features / Improvements
* Add support for Direct Message typing indicator and read receipts (#1856)
* Add API.indicate_direct_message_typing and API.mark_direct_message_read
* Fallback to "detail" response value for HTTPException message (b6b8241)
* Handle "error" key of response being a string in HTTPException (2da4452)
* Twitter API Deprecations
* Deprecate Stream.sample and note deprecation of compliance messages for Stream.filter (#1876)
Misc
* Use setup.cfg for coverage.py configuration (e24bb2f)
* Explicitly specify coverage >= 4.4.2 requirement for dev extra (b5bd35e)
* Use setup.cfg for tox configuration (e24bb2f)
* Update lower bound for dev extra tox requirement to >= 3.21.0 (ba6e6b1)
* Remove tests_require from setup.py (2870031)
* Stop creating universal wheels (9d93ec8)
* Update and improve various documentation and tests
- update to version 4.8.0:
New Features / Improvements
* Add support for Bookmarks with Twitter API v2 (#1848)
* Add Client.remove_bookmark, Client.get_bookmarks, Client.bookmark
* Add support for using OAuth 2.0 Authorization Code Flow with Client methods that require the authenticating user's ID (0157d0b)
* Raise TypeError for those methods when the access token isn't set
* Raise NotFound rather than HTTPException when encountering 404 response status codes in BaseClient.request (b6b8219)
- update to version 4.7.0:
New Features / Improvements
* Add support for Quote Tweets lookup with Twitter API v2 (#1844)
* Add Client.get_quote_tweets
* Python Backwards-Incompatible Changes
* Drop support for Python 3.6, which has reached end-of-life status (#1788)
Bug Fixes
OBS-URL: https://build.opensuse.org/request/show/983471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=27
- update to version 3.5.0:
New features:
* Allow 'full_text' param when getting direct messages.
* Explicitly return api code when parsing error.
* Remove deprecated function and clean up codes.
Bug Fixes
* update_status: first positional argument should be 'status'.
* Fix "TypeError: Can't convert 'bytes' object to str implicitly".
* Fix duplicate raise in auth.py.
Additional changes from version 3.4.0:
New features:
* Add API for account/settings.
* Added RateLimitError for easily working with the rate limit.
* Allow include_email param for verify_credentials API.
* Added support for the "filter_level" parameter for the streaming API.
Bug Fixes:
* Streaming: don't decode stream bytes until json.decode.
* Typo fix on _add_list_members, _remove_list_members properties.
* Change raise in streaming.py to raise exception.
OBS-URL: https://build.opensuse.org/request/show/360150
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=14