Hello community,
here is the log from the commit of package python-PyGithub for openSUSE:Factory
checked in at 2019-12-11 12:14:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyGithub (Old)
and /work/SRC/openSUSE:Factory/.python-PyGithub.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyGithub"
Wed Dec 11 12:14:32 2019 rev:13 rq:755746 version:1.44.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-PyGithub/python-PyGithub.changes
2019-11-07 23:19:44.644743460 +0100
+++
/work/SRC/openSUSE:Factory/.python-PyGithub.new.4691/python-PyGithub.changes
2019-12-11 12:15:02.456512951 +0100
@@ -1,0 +2,6 @@
+Wed Dec 11 08:26:43 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Add patch to not pull in hardcoded dependencies:
+ * no-hardcoded-dep.patch
+
+-------------------------------------------------------------------
New:
----
no-hardcoded-dep.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyGithub.spec ++++++
--- /var/tmp/diff_new_pack.tDSOlV/_old 2019-12-11 12:15:03.784512577 +0100
+++ /var/tmp/diff_new_pack.tDSOlV/_new 2019-12-11 12:15:03.784512577 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-PyGithub
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -25,11 +25,12 @@
Group: Development/Languages/Python
URL: https://github.com/PyGithub/PyGithub
Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
+Patch0: no-hardcoded-dep.patch
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module httpretty >= 0.9.6}
-BuildRequires: %{python_module mock}
-BuildRequires: %{python_module parameterized == 0.7.0}
+BuildRequires: %{python_module mock >= 3.0.5}
+BuildRequires: %{python_module parameterized >= 0.7.0}
BuildRequires: %{python_module requests >= 2.14.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -58,7 +59,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%python_expand $python setup.py test
+%python_exec setup.py test
%files %{python_files}
%license COPYING COPYING.LESSER
++++++ no-hardcoded-dep.patch ++++++
Index: PyGithub-1.44.1/setup.py
===================================================================
--- PyGithub-1.44.1.orig/setup.py
+++ PyGithub-1.44.1/setup.py
@@ -52,11 +52,11 @@ version = "1.44.1"
tests_require = [
"cryptography",
"httpretty>=0.9.6",
- "parameterized==0.7.0",
+ "parameterized>=0.7.0",
]
if sys.version_info < (3, 3):
- tests_require.append("mock==3.0.5")
+ tests_require.append("mock>=3.0.5")
if __name__ == "__main__":