Hello community, here is the log from the commit of package python-twython for openSUSE:Factory checked in at 2020-06-02 14:42:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-twython (Old) and /work/SRC/openSUSE:Factory/.python-twython.new.3606 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-twython" Tue Jun 2 14:42:25 2020 rev:2 rq:810767 version:3.8.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-twython/python-twython.changes 2019-04-19 18:38:28.931192265 +0200 +++ /work/SRC/openSUSE:Factory/.python-twython.new.3606/python-twython.changes 2020-06-02 14:43:23.876423974 +0200 @@ -1,0 +2,10 @@ +Tue Jun 2 09:05:23 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to version to 3.8.2 + * Bump release with latest patches from GitHub. + * Fix Direct Messages with patches from @manuelcortez. + * Use PyPI tarball again because upstream did not tag this release +- Drop upstreamed patch get_oembed_tweet-endpoint.patch +- Replace nose with pytest + +------------------------------------------------------------------- Old: ---- get_oembed_tweet-endpoint.patch twython-3.7.0.tar.gz New: ---- twython-3.8.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-twython.spec ++++++ --- /var/tmp/diff_new_pack.Iw7GG9/_old 2020-06-02 14:43:25.628429512 +0200 +++ /var/tmp/diff_new_pack.Iw7GG9/_new 2020-06-02 14:43:25.632429525 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-twython # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,32 +12,31 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-twython -Version: 3.7.0 +Version: 3.8.2 Release: 0 -License: MIT Summary: Python wrapper for the Twitter API -Url: https://github.com/ryanmcgrath/twython +License: MIT Group: Development/Languages/Python -Source: https://github.com/ryanmcgrath/twython/archive/%{version}.tar.gz#/twython-%{version}.tar.gz -Patch: get_oembed_tweet-endpoint.patch -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -BuildRequires: python-rpm-macros -BuildRequires: %{python_module nose} +URL: https://github.com/ryanmcgrath/twython +Source: https://files.pythonhosted.org/packages/source/t/twython/twython-%{version}.tar.gz +# PyJWT 1.4.2 isnt compatible with single-spec +BuildRequires: %{python_module PyJWT > 1.4.2} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.1.0} BuildRequires: %{python_module requests-oauthlib >= 0.4.0} BuildRequires: %{python_module responses} -# PyJWT 1.4.2 isnt compatible with single-spec -BuildRequires: %{python_module PyJWT > 1.4.2} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-requests >= 2.1.0 Requires: python-requests-oauthlib >= 0.4.0 BuildArch: noarch - %python_subpackages %description @@ -62,7 +61,6 @@ %prep %setup -q -n twython-%{version} -%patch -p1 %build %python_build @@ -73,10 +71,10 @@ %check # Five failing tests -%python_exec %{_bindir}/nosetests -e '(test_get_lastfunction_header_should_return_header|test_request_should_handle_(rate_limit|401|400_that_is_not_auth_related|400_for_missing_auth_data))' +%pytest -k "not (test_get_lastfunction_header_should_return_header or test_request_should_handle_40 or test_request_should_handle_rate_limit)" %files %{python_files} -%doc README.rst +%doc README.md %license LICENSE %{python_sitelib}/* ++++++ twython-3.7.0.tar.gz -> twython-3.8.2.tar.gz ++++++ ++++ 2119 lines of diff (skipped)