Commit Graph
296 Commits
Author SHA1 Message Date
Jirka Borovec 13e178a3ab Set line length to 120 characters (#2599) 2023-07-13 17:37:20 +02:00
Enrico Minack bc68626941 Publish version 2.0.0 (#2583) 2023-07-04 07:59:53 +02:00
Enrico Minack 14ae2cad4c Release 1.59.0 (#2563) 2023-06-22 19:41:10 +02:00
Enrico Minack ea45237d3b Sync GithubIntegration __init__ arguments with github.Github (#2556)
Github and GithubIntegration now both support the same (full) set of Requester arguments.
Creating a Github instance for a Github App Installation coming from GithubIntegration uses the same
Requester arguments (except for auth).
2023-06-21 09:04:19 +02:00
Enrico Minack 006766f985 Link to stable docs, update introduction in package used by pypi, move auth arg front (#2557) 2023-06-20 15:04:04 +02:00
Enrico Minack f291a368bb Implement AppUserAuth for Github App user tokens (#2546)
Allows to refresh Github App user token. Integrates `ApplicationOAuth` into `github.Auth`.
2023-06-14 19:40:29 +02:00
Enrico Minack fc2d0e150a Add authentication classes, move auth logic there (#2528)
This adds argument `auth` and deprecates `login_or_token`, `password`, `jwt`, and `app_auth` arguments of `github.Github`.

This adds argument `auth` and deprecates `integration_id`, `private_key` of `github.GithubIntegration`.

This deprecates the `create_jwt` method of `github.GithubIntegration`, replaced by `github.Auth.AppAuth.create_jwt`.
2023-06-08 09:17:25 +02:00
Enrico MinackandSteve Kowalik 217d424187 Merging 1.58.x patch release notes into master (#2525)
Co-authored-by: Steve Kowalik <steven@wedontsleep.org>
2023-06-01 15:57:21 +02:00
Nicolas Schweitzer c2f12bdc09 Add example for Pull Request comments to documentation (#2390) 2023-05-23 15:37:23 +02:00
Enrico Minack 554b2b28db Add crypto extras to pyjwt, which pulls in cryptogaphy package (#2443)
* Add crypto extras to pyjwt, which pulls in cryptogaphy package
* Remove cryptography dependency from more places
* Remove integrations extra from docs
2023-03-15 09:45:48 +11:00
Liuyang Wan def5223c21 RTD: install current project 2023-02-20 09:22:59 +08:00
Liuyang Wan 9c96faa702 Add current dir sys.path as well 2023-02-19 19:50:45 +08:00
Liuyang Wan 6540b76db0 Fix package name again 2023-02-19 19:45:58 +08:00
Liuyang Wan 1640767741 Fix sphinx package name 2023-02-19 19:33:25 +08:00
Liuyang Wan 3ea91a3a36 Use use_scm_version to get current version from git tag (#2429) 2023-02-19 19:29:29 +08:00
Eric Nieuwland 7902351d4f Add code scanning alerts (#2227) 2022-11-09 14:59:34 +08:00
Liuyang Wan 948edc5bb3 Publish version 1.57 2022-11-05 09:07:58 +08:00
Liuyang Wan c677ced98d Publish version 1.56 2022-10-13 09:23:01 +08:00
Krishna Sheth 3f767649c8 Add comment on issue example (#2081)
Add an example showing how to comment on an existing issue.
2021-10-20 18:48:51 +11:00
mickeydarrenlau 99e00a2894 Fix install command example (#2043)
It should be pip install PyGithub[integrations] not pip install PyGithub['integrations']
2021-10-12 16:06:54 +11:00
Steve Kowalik d1644e3350 Adding headers in GithubException is a breaking change (#1931)
Since exporting headers in GithubException might require passing them in
a constructor for client code, shift it as a breaking change so users
watch out for it.
2021-04-26 21:34:05 +10:00
Steve Kowalik 8aebd94fda Fix commit message typo in changelog (#1930)
It appears we run codespell over all documentation, so common typos are
picked up by CI. In other news, I must remember to run lint before
creating a release.
2021-04-26 15:27:07 +10:00
Steve Kowalik 31538337fa Publish version 1.55 2021-04-26 14:43:40 +10:00
Steve Kowalik 55d98373d8 No longer show username and password examples (#1866)
With GitHub moving away from allowing authentication to the API using an
username and password, update our documentation to remove it and rely on
tokens. Perhaps we should link to how to create an API token, but that
can be addressed later.

Fixes #1851
2021-03-08 13:13:22 +11:00
Steve Kowalik 34d097ce47 Publish version 1.54.1 2020-12-24 15:11:01 +11:00
Steve Kowalik e113e37de1 Add pyupgrade to pre-commit configuration (#1783)
To help us switch to f-strings and other 3.6+ changes, add pyupgrade to
our pre-commit configuration to keep the codebase clean.
2020-12-15 14:07:33 +11:00
Steve Kowalik 951fcdf23f Publish version 1.54 2020-11-30 16:43:49 +11:00
Steve Kowalik e690adf3ff List new project in introduction (#1739)
Fixes #1677
2020-11-04 14:45:57 +11:00
Steve Kowalik 8880084447 Fix Branch protection status in the examples (#1729)
A long time ago when branch protection was changed, the example of
checking if a branch is protected wasn't changed in the examples.

Fixes #1724
2020-10-28 15:18:27 +11:00
Steve Kowalik 743f5a58b0 Publish version 1.53 2020-08-18 18:15:44 +10:00
Steve Kowalik 707246519e Publish version 1.52 2020-08-03 18:45:52 +10:00
Steve Kowalik 5a8bc20314 Fix two RST warnings in Webhook.rst (#1512)
The final code block in the example is not Python code, and the
underlines were incorrect, correct both.
2020-05-11 09:56:53 +10:00
Wan Liuyang 0ca534ee1c Publish version 1.51 2020-05-03 00:58:45 +08:00
Sam Pearlman 1c1cbb49c6 Fix typo in PullRequest.rst (#1494) 2020-05-01 09:55:39 +08:00
Liuyang WanandSteve Kowalik d6e77ba1e2 Drop Travis in favor of Github workflow (#1488)
* Drop Travis CI

* Update DEPLOY.md about new workflow of uploading new version to PyPI

* Upload coverage data to Codecov

Co-Authored-By: Steve Kowalik <steven@wedontsleep.org>
2020-04-27 21:54:20 +10:00
Wan Liuyang a9f174bd1d Publish version 1.50 2020-04-26 16:46:19 +08:00
Steve Kowalik 83bef0f7b2 Correct typos found with codespell (#1467)
Correct misspellings and typos located using the codespell tool. Add
codespell to pre-commit to avoid further regressions.

Fixes #1459
2020-04-16 13:25:01 +10:00
Steve Kowalik afb1259a4e Publish version 1.47 2020-03-15 13:01:20 +11:00
Steve Kowalik e5ce4912f5 Publish version 1.46 2020-02-11 12:33:45 +11:00
Nabil BENDAFI d5ad09ae35 doc: example of Pull Request creation (#1344)
Add an example of creating a pull request
2020-01-11 10:16:45 +10:00
Steve Kowalik fc4eff3185 Fix all but one sphinx warnings (#1346)
To hopefully correct our doc build, tidy up some of the warnings that
sphinx complains about. The one remaining one is legitimate.
2020-01-11 10:15:34 +10:00
Steve Kowalik b7894ea00c Drop Python 2 support (#1329)
With the Python 2 deadline gone, it's time to move with the times and
switch to Python 3 only.
2020-01-06 18:01:38 +11:00
Steve Kowalik 7134752c36 Publish version 1.45 2019-12-29 14:48:30 +11:00
Wan Liuyang b797cac021 Fix rtd build 2019-12-10 23:19:55 +08:00
Wan Liuyang 6ceb9e9a15 Apply black to whole codebase (#1303) 2019-12-10 17:14:33 +08:00
Steve Kowalik 05b9ecb471 Publish version 1.44.1 2019-11-07 12:44:10 +11:00
sharkykh d7947d825f Update changes.rst (#1263) 2019-10-20 10:25:47 +11:00
Steve Kowalik ff716654fd Publish version 1.44 2019-10-19 18:32:53 +11:00
Michell Stuttgart 13e2c7c786 Add close all issues example (#1256) 2019-10-15 10:01:17 +08:00
Alon Chanukov 2df7269a95 Update changes.rst (#1223)
* Update changes.rst

* Update changes.rst
2019-09-18 09:46:15 +08:00