14
0

Accepting request 702990 from home:gary_smith:branches:devel:languages:python

- Update to 1.43.7:
  * Exclude tests from PyPI distribution (#1031) (78d283b9)
  * Add codecov badge (#1090) (4c0b54c0)
- Update to 1.43.6:
  * New features
    o Add support for Python 3.7 (#1028) (6faa00ac)
    o Adding HTTP retry functionality via urllib3 (#1002) (5ae7af55)
    o Add new dismiss() method on PullRequestReview (#1053) (8ef71b1b)
    o Add since and before to get_notifications (#1074) (7ee6c417)
    o Add url parameter to include anonymous contributors in get_contributors (#1075) (293846be)
    o Provide option to extend expiration of jwt token (#1068) (86a9d8e9)
  * Bug Fixes & Improvements
    o Fix the default parameter for PullRequest.create_review (#1058) (118def30)
    o Fix get_access_token (#1042) (6a89eb64)
    o Fix Organization.add_to_members role passing (#1039) (480f91cf)
  * Deprecation
    o Remove Status API (6efd6318)

OBS-URL: https://build.opensuse.org/request/show/702990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyGithub?expand=0&rev=20
This commit is contained in:
Tomáš Chvátal
2019-05-14 21:16:14 +00:00
committed by Git OBS Bridge
parent ef408ac4b8
commit f5b1c9a76d
5 changed files with 43 additions and 8 deletions

View File

@@ -18,17 +18,19 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-PyGithub
Version: 1.43.5
Version: 1.43.7
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://files.pythonhosted.org/packages/source/P/PyGithub/PyGithub-%{version}.tar.gz
Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
# PATCH-FIX-OPENSUSE sebix+novell.com@sebix.at -- Remove test that needs network access
Patch0: PyGithub-drop-network-tests.patch
Patch1: fix-httpretty-dep.patch
BuildRequires: %{python_module Deprecated}
BuildRequires: %{python_module PyJWT}
BuildRequires: %{python_module httpretty >= 0.9.6}
BuildRequires: %{python_module requests >= 2.14.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -47,18 +49,18 @@ etc.) can be managed with this.
%prep
%setup -q -n PyGithub-%{version}
%patch0
%autopatch -p1
%build
%python_build
%install
%python_install
%python_expand rm -r %{buildroot}%{$python_sitelib}/github/tests/
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
# When python3 support was added, none of the tests were made python3-compliant
python setup.py test
%files %{python_files}
%license COPYING COPYING.LESSER