From e065c3e64c363b355e7d2c54cb1f6f51eaf04fcaaa07711e3bba581321be0ca5 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 18 Feb 2020 09:23:36 +0000 Subject: [PATCH] - Update to 1.46 + Bug Fixes & Improvements * Add repo edit support for delete_branch_on_merge * Fix mistake in Repository.create_fork() * Correct two attributes in Invitation * Search repo issues by string label * Correct Repository.create_git_tag_and_release() * exposed seats and filled_seats for Github Organization Plan * Repository.create_project() body is optional * Implement move action for ProjectCard * Tidy up ProjectCard.get_content() * Added nested teams and parent * Correct parameter for Label.edit * doc: example of Pull Request creation * Fix PyPI wheel deployment - No longer build Python 2 package - Drop BuildRequires on mock, no longer required - Drop no-hardcoded-dep.patch, no longer required OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=31 --- no-hardcoded-dep.patch | 13 ------------- python-PyGithub.changes | 22 ++++++++++++++++++++++ python-PyGithub.spec | 7 +++---- v1.45.tar.gz | 3 --- v1.46.tar.gz | 3 +++ 5 files changed, 28 insertions(+), 20 deletions(-) delete mode 100644 no-hardcoded-dep.patch delete mode 100644 v1.45.tar.gz create mode 100644 v1.46.tar.gz diff --git a/no-hardcoded-dep.patch b/no-hardcoded-dep.patch deleted file mode 100644 index f371287..0000000 --- a/no-hardcoded-dep.patch +++ /dev/null @@ -1,13 +0,0 @@ -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__": diff --git a/python-PyGithub.changes b/python-PyGithub.changes index ce0fb81..3dea20a 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Tue Feb 18 09:22:59 UTC 2020 - Steve Kowalik + +- Update to 1.46 + + Bug Fixes & Improvements + * Add repo edit support for delete_branch_on_merge + * Fix mistake in Repository.create_fork() + * Correct two attributes in Invitation + * Search repo issues by string label + * Correct Repository.create_git_tag_and_release() + * exposed seats and filled_seats for Github Organization Plan + * Repository.create_project() body is optional + * Implement move action for ProjectCard + * Tidy up ProjectCard.get_content() + * Added nested teams and parent + * Correct parameter for Label.edit + * doc: example of Pull Request creation + * Fix PyPI wheel deployment +- No longer build Python 2 package +- Drop BuildRequires on mock, no longer required +- Drop no-hardcoded-dep.patch, no longer required + ------------------------------------------------------------------- Mon Jan 6 04:35:05 UTC 2020 - Steve Kowalik diff --git a/python-PyGithub.spec b/python-PyGithub.spec index feceff9..04af057 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -17,19 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-PyGithub -Version: 1.45 +Version: 1.46 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://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 >= 3.0.5} BuildRequires: %{python_module parameterized >= 0.7.0} BuildRequires: %{python_module requests >= 2.14.0} BuildRequires: %{python_module setuptools} @@ -43,7 +42,7 @@ BuildArch: noarch %python_subpackages %description -PyGithub is a Python (2 and 3) library to use the Github API v3. +PyGithub is a Python 3 library to use the Github API v3. Github resources (repositories, user profiles, organizations, etc.) can be managed with this. diff --git a/v1.45.tar.gz b/v1.45.tar.gz deleted file mode 100644 index 92f204a..0000000 --- a/v1.45.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5eb9b9c84b6cda147f990526adccd51fb83f2b68a1c251e9a9a88db76a20d822 -size 2881912 diff --git a/v1.46.tar.gz b/v1.46.tar.gz new file mode 100644 index 0000000..0260f8c --- /dev/null +++ b/v1.46.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ee630e8fe6e64e911c6e06e5d0b613a075bd58f693df2ed1ec0736c5a9c9067 +size 2882667