14
0

Accepting request 761017 from devel:languages:python

- 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/request/show/761017
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyGithub?expand=0&rev=14
This commit is contained in:
2020-01-06 14:22:08 +00:00
committed by Git OBS Bridge
5 changed files with 37 additions and 14 deletions

View File

@@ -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.45.orig/setup.py
+++ PyGithub-1.44.1/setup.py +++ PyGithub-1.45/setup.py
@@ -52,11 +52,11 @@ version = "1.44.1" @@ -55,7 +55,7 @@ tests_require = [
tests_require = [
"cryptography",
"httpretty>=0.9.6",
- "parameterized==0.7.0",
+ "parameterized>=0.7.0",
] ]
if sys.version_info < (3, 3): if sys.version_info < (3, 3):

View File

@@ -1,3 +1,31 @@
-------------------------------------------------------------------
Mon Jan 6 04:35:05 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- 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 <tchvatal@suse.com> Wed Dec 11 08:26:43 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-PyGithub # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyGithub Name: python-PyGithub
Version: 1.44.1 Version: 1.45
Release: 0 Release: 0
Summary: Python library to use the GitHub API v3 Summary: Python library to use the GitHub API v3
License: LGPL-3.0-or-later License: LGPL-3.0-or-later

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7df800e1a166eb9898c950d8e094b6540a88712f89e54ee46e66f9ee38587c90
size 2866013

3
v1.45.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5eb9b9c84b6cda147f990526adccd51fb83f2b68a1c251e9a9a88db76a20d822
size 2881912