From b26f41ba9d5a911fcf48fa27d7eefcfca2cd4f78180a4dd92358cbe2a6b495ee Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 6 Jan 2020 04:44:48 +0000 Subject: [PATCH] - Update to 1.45: + 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 --- no-hardcoded-dep.patch | 13 ++++--------- python-PyGithub.changes | 28 ++++++++++++++++++++++++++++ python-PyGithub.spec | 4 ++-- v1.44.1.tar.gz | 3 --- v1.45.tar.gz | 3 +++ 5 files changed, 37 insertions(+), 14 deletions(-) delete mode 100644 v1.44.1.tar.gz create mode 100644 v1.45.tar.gz diff --git a/no-hardcoded-dep.patch b/no-hardcoded-dep.patch index b258b74..f371287 100644 --- a/no-hardcoded-dep.patch +++ b/no-hardcoded-dep.patch @@ -1,13 +1,8 @@ -Index: PyGithub-1.44.1/setup.py +Index: PyGithub-1.45/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", +--- PyGithub-1.45.orig/setup.py ++++ PyGithub-1.45/setup.py +@@ -55,7 +55,7 @@ tests_require = [ ] if sys.version_info < (3, 3): diff --git a/python-PyGithub.changes b/python-PyGithub.changes index 42894fc..ce0fb81 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Mon Jan 6 04:35:05 UTC 2020 - Steve Kowalik + +- Update to 1.45: + + 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 + ------------------------------------------------------------------- Wed Dec 11 08:26:43 UTC 2019 - Tomáš Chvátal diff --git a/python-PyGithub.spec b/python-PyGithub.spec index cd3d303..feceff9 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -1,7 +1,7 @@ # # spec file for package python-PyGithub # -# Copyright (c) 2019 SUSE LLC +# 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 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-PyGithub -Version: 1.44.1 +Version: 1.45 Release: 0 Summary: Python library to use the GitHub API v3 License: LGPL-3.0-or-later diff --git a/v1.44.1.tar.gz b/v1.44.1.tar.gz deleted file mode 100644 index 4e46139..0000000 --- a/v1.44.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7df800e1a166eb9898c950d8e094b6540a88712f89e54ee46e66f9ee38587c90 -size 2866013 diff --git a/v1.45.tar.gz b/v1.45.tar.gz new file mode 100644 index 0000000..92f204a --- /dev/null +++ b/v1.45.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5eb9b9c84b6cda147f990526adccd51fb83f2b68a1c251e9a9a88db76a20d822 +size 2881912