From 72ba6487ed3fd009fe383373a91e0eb4715b84f8354783c2015f3685e811f874 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 16 Mar 2020 07:12:26 +0000 Subject: [PATCH] - Update to 1.47 + Bug Fixes & Improvements * Add support to edit and delete a project (#1434) (f11f739) * Add method for fetching pull requests associated with a commit (#1433) (0c55381) * Add "get_repo_permission" to Team class (#1416) (219bde5) * Add list projects support, update tests (#1431) (e44d11d) * Don't transform completely in PullRequest.*assignees (#1428) (b1c3549) * Add create_project support, add tests (#1429) (bf62f75) * Add draft attribute, update test (bd28524) * Docstring for Repository.create_git_tag_and_release (#1425) (bfeacde) * Create a tox docs environment (#1426) (b30c09a) * Add Deployments API (#1424) (3d93ee1) * Add support for editing project cards (#1418) (425280c) * Add draft flag parameter, update tests (bd0211e) * Switch to using pytest (#1423) (c822dd1) * Fix GitMembership with a hammer (#1420) (f2939eb) * Add support to reply to a Pull request comment (#1374) (1c82573) * PullRequest.update_branch(): allow expected_head_sha to be empty (#1412) (806130e) * Implement ProjectCard.delete() (#1417) (aeb27b7) * Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c47) * Add tox (#1388) (125536f) * Open file in text mode in scripts/add_attribute.py (#1396) (0396a49) * Silence most ResourceWarnings (#1393) (dd31a70) * Assert more attributes in Membership (#1391) (d6dee01) * Assert on changed Repository attributes (#1390) (6e3ceb1) * Add reset to the repr for Rate (#1389) (0829af8) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=33 --- python-PyGithub.changes | 30 ++++++++++++++++++++++++++++++ python-PyGithub.spec | 6 ++++-- v1.46.tar.gz | 3 --- v1.47.tar.gz | 3 +++ 4 files changed, 37 insertions(+), 5 deletions(-) delete mode 100644 v1.46.tar.gz create mode 100644 v1.47.tar.gz diff --git a/python-PyGithub.changes b/python-PyGithub.changes index 3dea20a..359c37d 100644 --- a/python-PyGithub.changes +++ b/python-PyGithub.changes @@ -1,3 +1,33 @@ +------------------------------------------------------------------- +Mon Mar 16 07:10:20 UTC 2020 - Steve Kowalik + +- Update to 1.47 + + Bug Fixes & Improvements + * Add support to edit and delete a project (#1434) (f11f739) + * Add method for fetching pull requests associated with a commit (#1433) (0c55381) + * Add "get_repo_permission" to Team class (#1416) (219bde5) + * Add list projects support, update tests (#1431) (e44d11d) + * Don't transform completely in PullRequest.*assignees (#1428) (b1c3549) + * Add create_project support, add tests (#1429) (bf62f75) + * Add draft attribute, update test (bd28524) + * Docstring for Repository.create_git_tag_and_release (#1425) (bfeacde) + * Create a tox docs environment (#1426) (b30c09a) + * Add Deployments API (#1424) (3d93ee1) + * Add support for editing project cards (#1418) (425280c) + * Add draft flag parameter, update tests (bd0211e) + * Switch to using pytest (#1423) (c822dd1) + * Fix GitMembership with a hammer (#1420) (f2939eb) + * Add support to reply to a Pull request comment (#1374) (1c82573) + * PullRequest.update_branch(): allow expected_head_sha to be empty (#1412) (806130e) + * Implement ProjectCard.delete() (#1417) (aeb27b7) + * Add pre-commit plugin for black/isort/flake8 (#1398) (08b1c47) + * Add tox (#1388) (125536f) + * Open file in text mode in scripts/add_attribute.py (#1396) (0396a49) + * Silence most ResourceWarnings (#1393) (dd31a70) + * Assert more attributes in Membership (#1391) (d6dee01) + * Assert on changed Repository attributes (#1390) (6e3ceb1) + * Add reset to the repr for Rate (#1389) (0829af8) + ------------------------------------------------------------------- Tue Feb 18 09:22:59 UTC 2020 - Steve Kowalik diff --git a/python-PyGithub.spec b/python-PyGithub.spec index 04af057..cd6692a 100644 --- a/python-PyGithub.spec +++ b/python-PyGithub.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-PyGithub -Version: 1.46 +Version: 1.47 Release: 0 Summary: Python library to use the GitHub API v3 License: LGPL-3.0-or-later @@ -30,6 +30,8 @@ BuildRequires: %{python_module Deprecated} BuildRequires: %{python_module PyJWT} BuildRequires: %{python_module httpretty >= 0.9.6} BuildRequires: %{python_module parameterized >= 0.7.0} +BuildRequires: %{python_module pytest-cov} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module requests >= 2.14.0} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -58,7 +60,7 @@ etc.) can be managed with this. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%pytest %files %{python_files} %license COPYING COPYING.LESSER diff --git a/v1.46.tar.gz b/v1.46.tar.gz deleted file mode 100644 index 0260f8c..0000000 --- a/v1.46.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5ee630e8fe6e64e911c6e06e5d0b613a075bd58f693df2ed1ec0736c5a9c9067 -size 2882667 diff --git a/v1.47.tar.gz b/v1.47.tar.gz new file mode 100644 index 0000000..55ed0e7 --- /dev/null +++ b/v1.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec103ed14196e6c7f01765f6e9f420d40c42a84d81814de6800cae3548ab37f9 +size 2904408