Compare commits

7 Commits

Author SHA256 Message Date
a684a6b238 Accepting request 1290022 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1290022
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tweepy?expand=0&rev=18
2025-07-03 10:10:44 +00:00
e8aea4d708 - Update to 4.16.0
* 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
2025-07-02 16:06:39 +00:00
2d04ab784d Accepting request 1240755 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1240755
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tweepy?expand=0&rev=17
2025-01-28 13:59:49 +00:00
ddff96060a 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
2025-01-28 10:24:53 +00:00
7dae0a0adf Accepting request 1231587 from devel:languages:python
- Add patch support-python-313.patch:
  * Fall back to mimetypes if imghdr isn't available.
- Add patch loosen-requests-oauthlib.patch:
  * We can also work with requests-oauthlib < 3.

OBS-URL: https://build.opensuse.org/request/show/1231587
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tweepy?expand=0&rev=16
2024-12-17 18:22:49 +00:00
73480bbaf1 - 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
2024-12-17 00:36:46 +00:00
e9b307a5a7 - Add patch support-python-313.patch:
* Fall back to mimetypes if imghdr isn't available.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tweepy?expand=0&rev=31
2024-12-15 23:34:12 +00:00
4 changed files with 52 additions and 6 deletions

View File

@@ -1,3 +1,47 @@
-------------------------------------------------------------------
Wed Jul 2 11:45:55 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 4.16.0
* 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
-------------------------------------------------------------------
Tue Jan 28 09:08:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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
-------------------------------------------------------------------
Tue Dec 17 00:36:07 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-313.patch:
* 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>

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
@@ -16,8 +16,9 @@
#
%{?sle15_python_module_pythons}
Name: python-tweepy
Version: 4.14.0
Version: 4.16.0
Release: 0
Summary: Twitter library for python
License: MIT
@@ -25,6 +26,7 @@ URL: https://github.com/tweepy/tweepy
Source: https://github.com/tweepy/tweepy/archive/v%{version}.tar.gz
BuildRequires: %{python_module aiohttp}
BuildRequires: %{python_module async-lru}
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.27.0}
@@ -45,7 +47,7 @@ A library for accessing the Twitter.com API. Supports OAuth, covers the entire
API, and streaming API.
%prep
%setup -q -n tweepy-%{version}
%autosetup -p1 -n tweepy-%{version}
%build
%pyproject_wheel

View File

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

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

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