14
0
forked from pool/python-tweepy

- Add patch loosen-requests-oauthlib.patch:

* We can also work with requests-oauthlib < 3.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=32
This commit is contained in:
2024-12-17 00:36:46 +00:00
committed by Git OBS Bridge
parent e9b307a5a7
commit 73480bbaf1
3 changed files with 27 additions and 1 deletions

View File

@@ -0,0 +1,22 @@
From 5b43f6be94aad0ff248c07539def70883dd33462 Mon Sep 17 00:00:00 2001
From: Ryan Barrett <git@ryanb.org>
Date: Thu, 11 Apr 2024 09:48:38 -0700
Subject: [PATCH] deps: bump requests-oauthlib to <3 to allow v2.0.0
---
setup.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/setup.py b/setup.py
index 50548a312..c097abfe2 100644
--- a/setup.py
+++ b/setup.py
@@ -36,7 +36,7 @@
install_requires=[
"oauthlib>=3.2.0,<4",
"requests>=2.27.0,<3",
- "requests-oauthlib>=1.2.0,<2",
+ "requests-oauthlib>=1.2.0,<3",
],
extras_require={
"async": [

View File

@@ -1,8 +1,10 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 15 23:33:36 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Tue Dec 17 00:36:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-313.patch: - Add patch support-python-313.patch:
* Fall back to mimetypes if imghdr isn't available. * Fall back to mimetypes if imghdr isn't available.
- Add patch loosen-requests-oauthlib.patch:
* We can also work with requests-oauthlib < 3.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 13 06:06:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Wed Mar 13 06:06:29 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -25,6 +25,8 @@ 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
# PATCH-FIX-UPSTREAM Based on gh#tweepy/tweepy#2205 # PATCH-FIX-UPSTREAM Based on gh#tweepy/tweepy#2205
Patch0: support-python-313.patch Patch0: support-python-313.patch
# PATCH-FIX-UPSTREAM gh#tweepy/tweepy#2179
Patch1: loosen-requests-oauthlib.patch
BuildRequires: %{python_module aiohttp} BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module async-lru} BuildRequires: %{python_module async-lru}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}