14
0
forked from pool/python-tweepy

Accepting request 1240734 from home:glaubitz:branches:devel:languages:python

- Update to 4.15.0
  * Fix error "No module named 'imghdr'" due to removed
    package in Python 3.13+
  * Bump requests-oauthlib to allow v2
  * Drop support for Python 3.7 and 3.8
- Cherry-pick upstream patch to fix package version
  * fix-package-version.patch
- Drop loosen-requests-oauthlib.patch, merged upstream
- Drop support-python-313.patch, merged upstream

OBS-URL: https://build.opensuse.org/request/show/1240734
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=34
This commit is contained in:
2025-01-28 10:24:53 +00:00
committed by Git OBS Bridge
parent 73480bbaf1
commit ddff96060a
7 changed files with 42 additions and 88 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-tweepy
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,16 +17,14 @@
Name: python-tweepy
Version: 4.14.0
Version: 4.15.0
Release: 0
Summary: Twitter library for python
License: MIT
URL: https://github.com/tweepy/tweepy
Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz
# PATCH-FIX-UPSTREAM Based on gh#tweepy/tweepy#2205
Patch0: support-python-313.patch
# PATCH-FIX-UPSTREAM gh#tweepy/tweepy#2179
Patch1: loosen-requests-oauthlib.patch
# PATCH-FIX-UPSTREAM: Bump version number to 4.15.0
Patch: https://github.com/tweepy/tweepy/commit/c1eb4f3f7bfaf5a54db73ae28f7395e8cbf01752.patch#/fix-package-version.patch
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module async-lru}
BuildRequires: %{python_module pip}