Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-twython for openSUSE:Factory checked in at 2025-11-17 12:19:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-twython (Old) and /work/SRC/openSUSE:Factory/.python-twython.new.2061 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-twython" Mon Nov 17 12:19:20 2025 rev:5 rq:1318112 version:3.9.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-twython/python-twython.changes 2025-06-04 20:28:56.981968101 +0200 +++ /work/SRC/openSUSE:Factory/.python-twython.new.2061/python-twython.changes 2025-11-17 12:24:51.481513644 +0100 @@ -1,0 +2,6 @@ +Mon Nov 17 01:01:38 UTC 2025 - Steve Kowalik <[email protected]> + +- Add patch support-python314.patch: + * Check for zstd support in the testsuite. + +------------------------------------------------------------------- New: ---- support-python314.patch ----------(New B)---------- New: - Add patch support-python314.patch: * Check for zstd support in the testsuite. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-twython.spec ++++++ --- /var/tmp/diff_new_pack.aoxwA9/_old 2025-11-17 12:24:52.613561382 +0100 +++ /var/tmp/diff_new_pack.aoxwA9/_new 2025-11-17 12:24:52.617561551 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-twython # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,9 +21,10 @@ Release: 0 Summary: Python wrapper for the Twitter API License: MIT -Group: Development/Languages/Python URL: https://github.com/ryanmcgrath/twython Source: https://files.pythonhosted.org/packages/source/t/twython/twython-%{version}.tar.gz +# PATCH-FIX-OPENSUSE Check for zstd compression support in a test +Patch0: support-python314.patch # PyJWT 1.4.2 isnt compatible with single-spec BuildRequires: %{python_module PyJWT > 1.4.2} BuildRequires: %{python_module pip} @@ -61,7 +62,7 @@ - Seamless Python 3 support! %prep -%setup -q -n twython-%{version} +%autosetup -p1 -n twython-%{version} %build %pyproject_wheel ++++++ support-python314.patch ++++++ Index: twython-3.9.1/tests/test_core.py =================================================================== --- twython-3.9.1.orig/tests/test_core.py +++ twython-3.9.1/tests/test_core.py @@ -285,7 +285,13 @@ class TwythonAPITestCase(unittest.TestCa self.api.get(endpoint) - self.assertEqual(b'gzip, deflate', responses.calls[0].request.headers['Accept-Encoding']) + accept_encoding = b'gzip, deflate' + try: + import compression.zstd + accept_encoding += b', zstd' + except ImportError: + pass + self.assertEqual(accept_encoding, responses.calls[0].request.headers['Accept-Encoding']) # Static methods def test_construct_api_url(self):
