Skip to content

Commit

Permalink
Merge pull request #22108 from mrclary/issue-22030
Browse files Browse the repository at this point in the history
PR: Replace `github.py` with `pygithub` package
  • Loading branch information
dalthviz committed May 29, 2024
2 parents 5fbebe1 + 4306cdc commit 2cc8795
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 386 deletions.
36 changes: 0 additions & 36 deletions NOTICE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -486,42 +486,6 @@ spyder/widgets/github/tests/test_github_backend.py



Githubpy 1.1.1
--------------


Copyright 2014 Michael Liao (askxuefeng@gmail.com)


Author: Micheal Liao | askxuefeng@gmail.com | https://www.liaoxuefeng.com/
Site: https://github.liaoxuefeng.com/githubpy/
Source: https://github.com/michaelliao/githubpy
License: Apache License Version 2.0
https://www.apache.org/licenses/LICENSE-2.0

No modifications made.


githubpy is distributed under Apache License 2.0. Enjoy!


Also included unmodified as part of QCrash, listed above.

See below for the full text of the Apache License Version 2.0.

The current Githubpy license can be viewed at:
https://github.com/michaelliao/githubpy/blob/master/LICENSE.txt


Files covered:

spyder/utils/external/github.py


-------------------------------------------------------------------------------



Sphinxify (from the Sage Project)
---------------------------------

Expand Down
1 change: 1 addition & 0 deletions binder/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ dependencies:
- pexpect >=4.4.0
- pickleshare >=0.4
- psutil >=5.3
- pygithub >=2.3.0
- pygments >=2.0
- pylint >=3.1,<4
- pylint-venv >=3.0.2
Expand Down
1 change: 1 addition & 0 deletions requirements/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ dependencies:
- pexpect >=4.4.0
- pickleshare >=0.4
- psutil >=5.3
- pygithub >=2.3.0
- pygments >=2.0
- pylint >=3.1,<4
- pylint-venv >=3.0.2
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def run(self):
'pexpect>=4.4.0',
'pickleshare>=0.4',
'psutil>=5.3',
'pygithub>=2.3.0',
'pygments>=2.0',
'pylint>=3.1,<4',
'pylint-venv>=3.0.2',
Expand Down
5 changes: 5 additions & 0 deletions spyder/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
PEXPECT_REQVER = '>=4.4.0'
PICKLESHARE_REQVER = '>=0.4'
PSUTIL_REQVER = '>=5.3'
PYGITHUB_REQVER = '>=2.3.0'
PYGMENTS_REQVER = '>=2.0'
PYLINT_REQVER = '>=3.1,<4'
PYLINT_VENV_REQVER = '>=3.0.2'
Expand Down Expand Up @@ -184,6 +185,10 @@
'package_name': "psutil",
'features': _("CPU and memory usage info in the status bar"),
'required_version': PSUTIL_REQVER},
{'modname': "github",
'package_name': "pygithub",
'features': _("Python API for Github REST API"),
'required_version': PYGITHUB_REQVER},
{'modname': "pygments",
'package_name': "pygments",
'features': _("Syntax highlighting for a lot of file types in the Editor"),
Expand Down
306 changes: 0 additions & 306 deletions spyder/utils/external/github.py

This file was deleted.

Loading

0 comments on commit 2cc8795

Please sign in to comment.