+ Breaking Changes
* Branch.edit_{user,team}_push_restrictions() have been removed
The new API is:
Branch.add_{user,team}_push_restrictions() to add new members
Branch.replace_{user,team}_push_restrictions() to replace all members
Branch.remove_{user,team}_push_restrictions() to remove members
* The api_preview parameter to Github() has been removed.
+ Bug Fixes & Improvements
* Allow sha=None for InputGitTreeElement
* Support github timeline events.
* Add support for update branch
* Refactor Logging tests
* Fix rtd build
* Apply black to whole codebase
* Fix class used returning pull request comments
* Support for create_fork
* Use Repository.get_contents() in tests
* Allow GithubObject.update() to be passed headers
* Correct URL for assignees on PRs
* Use inclusive ordered comparison for 'parameterized' requirement
* Deprecate Repository.get_dir_contents()
* Apply some polish to manage.sh
- Refresh no-hardcoded-dep.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=29
14 lines
343 B
Diff
14 lines
343 B
Diff
Index: PyGithub-1.45/setup.py
|
|
===================================================================
|
|
--- PyGithub-1.45.orig/setup.py
|
|
+++ PyGithub-1.45/setup.py
|
|
@@ -55,7 +55,7 @@ tests_require = [
|
|
]
|
|
|
|
if sys.version_info < (3, 3):
|
|
- tests_require.append("mock==3.0.5")
|
|
+ tests_require.append("mock>=3.0.5")
|
|
|
|
|
|
if __name__ == "__main__":
|