From c46c759c2b9de4c2158d750951e8eeb8db4e1b14 Mon Sep 17 00:00:00 2001 From: Atanas Bunchev Date: Thu, 25 Aug 2022 17:57:12 +0300 Subject: python3-twitter: Upgrade 4.8.0 -> 4.10.1 Upgrading python3-twitter to 4.10.1 and adding missing RDEPEND requests-oauthlib The license line in PKG-INFO was moved from row 8 to row 9. Changelog: (https://github.com/tweepy/tweepy/releases) New Features / Improvements: - Add support for Direct Message typing indicator and read receipts - Add API.indicate_direct_message_typing and API.mark_direct_message_read - Fallback to "detail" response value for HTTPException message - Handle "error" key of response being a string in HTTPException - Add asynchronous interfaces for Twitter API v2 - Add asynchronous.AsyncClient - 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 Bug Fixes - 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 Twitter API Deprecations: - Deprecate Stream.sample and note deprecation of compliance messages for Stream.filter - Deprecate AsyncStream.sample and note deprecation of compliance messages for AsyncStream.filter Misc: - Use setup.cfg for coverage.py configuration - Explicitly specify coverage >= 4.4.2 requirement for dev extra - Use setup.cfg for tox configuration - Update lower bound for dev extra tox requirement to >= 3.21.0 - Remove tests_require from setup.py - Stop creating universal wheels - Update and improve various documentation and tests - Log text of HTTP response when handling request error in BaseStream - Update Requests documentation URL for Intersphinx linking - Correct typo in documentation for StreamingClient and AsyncStreamingClient add_rules and delete_rules methods Signed-off-by: Atanas Bunchev Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-twitter_4.10.1.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb (limited to 'meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb b/meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb new file mode 100644 index 0000000000..b283aef568 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-twitter_4.10.1.bb @@ -0,0 +1,19 @@ +SUMMARY = "Twitter for Python" +DESCRIPTION = "Python module to support twitter API" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=9;endline=9;md5=8227180126797a0148f94f483f3e1489" + +SRC_URI[sha256sum] = "310193775d7fc381abd6f37021a9af27f7e9edfcce5ec51bd73ea5f30c21fa61" + +PYPI_PACKAGE = "tweepy" + +inherit pypi setuptools3 + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-pip \ + ${PYTHON_PN}-pysocks \ + ${PYTHON_PN}-requests \ + ${PYTHON_PN}-requests-oauthlib \ + ${PYTHON_PN}-six \ +" -- cgit v1.2.3-54-g00ecf