14
0
forked from pool/python-tweepy

- 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/package/show/devel:languages:python/python-tweepy?expand=0&rev=29
This commit is contained in:
2024-03-13 06:07:32 +00:00
committed by Git OBS Bridge
parent 7f0e34ce63
commit fbaa94e73c
4 changed files with 48 additions and 10 deletions

View File

@@ -1,3 +1,37 @@
-------------------------------------------------------------------
Wed Mar 13 06:06:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jun 17 16:29:47 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com> Fri Jun 17 16:29:47 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-tweepy # spec file for package python-tweepy
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,20 +16,23 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tweepy Name: python-tweepy
Version: 4.9.0 Version: 4.14.0
Release: 0 Release: 0
Summary: Twitter library for python Summary: Twitter library for python
License: MIT License: MIT
Group: Development/Languages/Python
URL: https://github.com/tweepy/tweepy URL: https://github.com/tweepy/tweepy
Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module async-lru}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.27.0} BuildRequires: %{python_module requests >= 2.27.0}
BuildRequires: %{python_module requests-oauthlib >= 1.0.0} BuildRequires: %{python_module requests-oauthlib >= 1.0.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urllib3 < 2}
BuildRequires: %{python_module vcrpy >= 1.10.3} BuildRequires: %{python_module vcrpy >= 1.10.3}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-generators BuildRequires: python-rpm-generators
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -45,10 +48,10 @@ API, and streaming API.
%setup -q -n tweepy-%{version} %setup -q -n tweepy-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -59,6 +62,7 @@ export USE_REPLAY=1
%files %{python_files} %files %{python_files}
%doc README.md docs/*.rst docs/*.md %doc README.md docs/*.rst docs/*.md
%license LICENSE %license LICENSE
%{python_sitelib}/tweepy* %{python_sitelib}/tweepy
%{python_sitelib}/tweepy-%{version}.dist-info
%changelog %changelog

3
v4.14.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ad30f817b746b4519f40af2f6577624cf7775d4e9379c559cc7d1099702eb921
size 5914530

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a48a3f1a0fc74a2872759bebe74af386ce083194418044baebec716186ccfdc
size 5803271