14
0

- Add patch to not pull in hardcoded dependencies:

* no-hardcoded-dep.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2019-12-11 08:29:09 +00:00
committed by Git OBS Bridge
parent 5c2fc030df
commit 87083c150b
3 changed files with 29 additions and 4 deletions

18
no-hardcoded-dep.patch Normal file
View File

@@ -0,0 +1,18 @@
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__":