Compare commits
8 Commits
Author | SHA256 | Date | |
---|---|---|---|
49b3794a29 | |||
7d1889879d | |||
3a26e552f0 | |||
f0eaf4e494 | |||
443bc1e5a0 | |||
9c3c689e4f | |||
98260aca7c | |||
052652f6d7 |
BIN
pygithub-2.6.1.tar.gz
(Stored with Git LFS)
Normal file
BIN
pygithub-2.6.1.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,94 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 14 06:16:31 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Support both lowercased and unnormalized metadata directory names.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 9 14:07:52 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.6.1
|
||||||
|
## Bug Fixes
|
||||||
|
* Fix broken pickle support for Auth classes by @EnricoMi
|
||||||
|
in #3211
|
||||||
|
* Remove schema from Deployment, remove message attribute by
|
||||||
|
@EnricoMi in #3223
|
||||||
|
* Fix incorrect deprecated import by @EnricoMi in #3225
|
||||||
|
* Add CodeSecurityConfigRepository returned by
|
||||||
|
get_repos_for_code_security_config by @EnricoMi in #3219
|
||||||
|
* Make GitTag.verification return GitCommitVerification by
|
||||||
|
@EnricoMi in #3226
|
||||||
|
## Maintenance
|
||||||
|
* Mention removal of AppAuth.private_key in changelog by
|
||||||
|
@EnricoMi in #3212
|
||||||
|
- Update to 2.6.0
|
||||||
|
## Breaking Changes
|
||||||
|
* Rework Views and Clones by @EnricoMi in #3168
|
||||||
|
* Fix typos by @kianmeng in #3086
|
||||||
|
## New Features
|
||||||
|
* Add capability for global laziness by @EnricoMi in #2746
|
||||||
|
* Add Support for GitHub Copilot Seat Management in
|
||||||
|
Organizations by @pashafateev in #3082
|
||||||
|
* Get branches where commit is head by @EnricoMi in #3083
|
||||||
|
* Support downloading a Release Asset by @neel-m in #3060
|
||||||
|
* Add Repository.merge_upstream method by @Felixoid in #3175
|
||||||
|
* Support updating pull request draft status by @didot in #3104
|
||||||
|
* Add transfer ownership method to Repository by
|
||||||
|
@tanannie22 in #3091
|
||||||
|
* Add enable and disable a Workflow by @nickrmcclorey in #3088
|
||||||
|
* Add support for managing Code Security Configrations
|
||||||
|
by @billnapier in #3095
|
||||||
|
* Allow for private_key / sign function in AppAuth by
|
||||||
|
@EnricoMi in #3065
|
||||||
|
## full changelog: https://github.com/PyGithub/PyGithub/releases/tag/v2.6.0
|
||||||
|
- Add missing test requirement
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 26 00:48:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Lowercase metadata directory name.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 7 06:44:31 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.5.0
|
||||||
|
* Make tests pass after 2024-11-25 (https://github.com/PyGithub/PyGithub/pull/3045, boo#1102840)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 8 12:25:40 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.4.0
|
||||||
|
## New features
|
||||||
|
* Allow custom authentication @kliem (#2987)
|
||||||
|
## Improvements
|
||||||
|
* Add has_discussions to AuthenticatedUser and Repository classes
|
||||||
|
@cwlls (#3020)
|
||||||
|
* Update more SecurityAndAnalysis attributes @squatched (#3025)
|
||||||
|
* Implement support for re-running only failed workflow jobs.
|
||||||
|
@chrisgavin (#2983)
|
||||||
|
* Add possibility to mark a thread/notification as done @m42e
|
||||||
|
(#2985)
|
||||||
|
* Add "pull_request_review_id" to PullRequestComment object
|
||||||
|
@stroebs (#3000)
|
||||||
|
* Add minimize and unminimize functions for IssueComment class
|
||||||
|
@arash77 (#3005)
|
||||||
|
* Support Organization/Repository custom properties @jackylamhk
|
||||||
|
(#2968)
|
||||||
|
* Add dict type to add_attribute script @jackylamhk (#2977)
|
||||||
|
* Allow for deleting and restoring branch associated with PR
|
||||||
|
@austinsasko (#1784)
|
||||||
|
* Add "archived_at" to Organization object. @billnapier (#2974)
|
||||||
|
* Adds Security & Analysis To Repository @squatched (#2960)
|
||||||
|
* Add added_by and last_used attributes to RepositoryKey @ramiro
|
||||||
|
(#2952)
|
||||||
|
* Add make_latest to GitRelease.update_release @treee111 (#2888)
|
||||||
|
* Make Commit.files return PaginatedList @iarspider (#2939)
|
||||||
|
## Bug Fixes
|
||||||
|
* Fix GraphQL Queries with Variables @kgal-pan (#3002)
|
||||||
|
- Many more new features improvements and bug fixes since 1.57
|
||||||
|
* Check https://github.com/PyGithub/PyGithub/releases
|
||||||
|
- Modernize specfile
|
||||||
|
- Provide lowercase PyPI name
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 6 15:01:45 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
Wed Mar 6 15:01:45 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||||
|
|
||||||
|
2
python-PyGithub.rpmlintrc
Normal file
2
python-PyGithub.rpmlintrc
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
# part of pyjwt[cryptography] requirement
|
||||||
|
addFilter("python-leftover-require python3.*-cryptography")
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyGithub
|
# spec file for package python-PyGithub
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 SUSE LLC
|
# Copyright (c) 2025 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,43 +18,56 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-PyGithub
|
Name: python-PyGithub
|
||||||
Version: 1.57
|
Version: 2.6.1
|
||||||
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
|
||||||
URL: https://github.com/PyGithub/PyGithub
|
URL: https://github.com/PyGithub/PyGithub
|
||||||
Source: https://github.com/PyGithub/PyGithub/archive/v%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pygithub/pygithub-%{version}.tar.gz
|
||||||
|
Source99: python-PyGithub.rpmlintrc
|
||||||
BuildRequires: %{python_module Deprecated}
|
BuildRequires: %{python_module Deprecated}
|
||||||
BuildRequires: %{python_module PyJWT}
|
BuildRequires: %{python_module PyJWT >= 2.4.0}
|
||||||
BuildRequires: %{python_module PyNaCl >= 1.4.0}
|
BuildRequires: %{python_module PyNaCl >= 1.4.0}
|
||||||
BuildRequires: %{python_module httpretty >= 0.9.6}
|
BuildRequires: %{python_module cryptography >= 3.4}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module requests >= 2.14.0}
|
BuildRequires: %{python_module requests >= 2.14.0}
|
||||||
|
BuildRequires: %{python_module responses}
|
||||||
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module typing-extensions >= 4.0.0}
|
||||||
|
BuildRequires: %{python_module urllib3 >= 1.26.0}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Deprecated
|
Requires: python-Deprecated
|
||||||
Requires: python-PyJWT
|
Requires: python-PyJWT >= 2.4.0
|
||||||
Requires: python-PyNaCl >= 1.4.0
|
Requires: python-PyNaCl >= 1.4.0
|
||||||
|
Requires: python-cryptography >= 3.4
|
||||||
Requires: python-requests >= 2.14.0
|
Requires: python-requests >= 2.14.0
|
||||||
Recommends: python-cryptography
|
Requires: python-typing-extensions >= 4.0.0
|
||||||
|
Requires: python-urllib3 >= 1.26.0
|
||||||
|
Provides: python-pygithub = %{version}-%{release}
|
||||||
|
# SECTION test requirements
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module httpretty}
|
||||||
|
# /SECTION
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
PyGithub is a Python 3 library to use the Github API v3.
|
PyGitHub is a Python library to access the GitHub REST API.
|
||||||
Github resources (repositories, user profiles, organizations,
|
This library enables you to manage [GitHub] resources such as repositories,
|
||||||
etc.) can be managed with this.
|
user profiles, and organizations in your Python applications.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n PyGithub-%{version}
|
%autosetup -p1 -n pygithub-%{version}
|
||||||
%autopatch -p1
|
sed -i s/--color=yes// pyproject.toml
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@@ -63,6 +76,7 @@ etc.) can be managed with this.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING COPYING.LESSER
|
%license COPYING COPYING.LESSER
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/github
|
||||||
|
%{python_sitelib}/[Pp]y[Gg]ithub-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:989f30d123eb86c27e69c23ce8f72c3a3391f1e66ecb54ee8cd033242d7aa064
|
|
||||||
size 3159952
|
|
Reference in New Issue
Block a user