Hello community,
here is the log from the commit of package python-PyGithub for openSUSE:Factory
checked in at 2019-05-16 22:07:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyGithub (Old)
and /work/SRC/openSUSE:Factory/.python-PyGithub.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyGithub"
Thu May 16 22:07:47 2019 rev:10 rq:703013 version:1.43.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyGithub/python-PyGithub.changes
2019-03-12 09:55:24.127514291 +0100
+++
/work/SRC/openSUSE:Factory/.python-PyGithub.new.5148/python-PyGithub.changes
2019-05-16 22:07:49.906403102 +0200
@@ -1,0 +2,22 @@
+Tue May 14 19:43:19 UTC 2019 - Gary Smith <[email protected]>
+
+- Update to 1.43.7:
+ * Exclude tests from PyPI distribution (#1031) (78d283b9)
+ * Add codecov badge (#1090) (4c0b54c0)
+- Update to 1.43.6:
+ * New features
+ o Add support for Python 3.7 (#1028) (6faa00ac)
+ o Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55)
+ o Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b)
+ o Add since and before to get_notifications (#1074) (7ee6c417)
+ o Add url parameter to include anonymous contributors in get_contributors
(#1075) (293846be)
+ o Provide option to extend expiration of jwt token (#1068) (86a9d8e9)
+ * Bug Fixes & Improvements
+ o Fix the default parameter for PullRequest.create_review (#1058)
(118def30)
+ o Fix get_access_token (#1042) (6a89eb64)
+ o Fix Organization.add_to_members role passing (#1039) (480f91cf)
+ * Deprecation
+ o Remove Status API (6efd6318)
+- Add patch fix-httpretty-dep.patch
+
+-------------------------------------------------------------------
Old:
----
PyGithub-1.43.5.tar.gz
New:
----
fix-httpretty-dep.patch
v1.43.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyGithub.spec ++++++
--- /var/tmp/diff_new_pack.1uwigh/_old 2019-05-16 22:07:51.982401139 +0200
+++ /var/tmp/diff_new_pack.1uwigh/_new 2019-05-16 22:07:52.010401113 +0200
@@ -18,17 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyGithub
-Version: 1.43.5
+Version: 1.43.7
Release: 0
Summary: Python library to use the GitHub API v3
License: LGPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/PyGithub/PyGithub
-Source:
https://files.pythonhosted.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
+Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
# PATCH-FIX-OPENSUSE [email protected] -- Remove test that needs
network access
Patch0: PyGithub-drop-network-tests.patch
+Patch1: fix-httpretty-dep.patch
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module PyJWT}
+BuildRequires: %{python_module httpretty >= 0.9.6}
BuildRequires: %{python_module requests >= 2.14.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -47,18 +49,18 @@
%prep
%setup -q -n PyGithub-%{version}
-%patch0
+%autopatch -p1
%build
%python_build
%install
%python_install
-%python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_exec setup.py test
+# When python3 support was added, none of the tests were made python3-compliant
+python setup.py test
%files %{python_files}
%license COPYING COPYING.LESSER
++++++ fix-httpretty-dep.patch ++++++
Index: PyGithub-1.43.7/setup.py
===================================================================
--- PyGithub-1.43.7.orig/setup.py
+++ PyGithub-1.43.7/setup.py
@@ -109,6 +109,6 @@ if __name__ == "__main__":
},
tests_require=[
"cryptography",
- "httpretty==0.9.6"
+ "httpretty>=0.9.6"
]
)