Skip to content

Commit

Permalink
Merge c86db04 into 3f498f7
Browse files Browse the repository at this point in the history
  • Loading branch information
Glignos committed Sep 22, 2020
2 parents 3f498f7 + c86db04 commit 1a1ae95
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
Changes
=======

Version v1.0.0a19 (released 2020-06-25)
Version v1.0.0a20 (released 2020-09-16)

- Initial public release.
1 change: 1 addition & 0 deletions invenio_github/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def disconnect_github(access_token, repo_hooks):
# already been deleted. The celery task is passed the access_token to make
# some last cleanup and afterwards delete itself remotely.
import github3

from .api import GitHubAPI

try:
Expand Down
2 changes: 2 additions & 0 deletions invenio_github/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
import dateutil.parser
import pytz
import requests
import six
from flask import current_app
from github3 import repository
from werkzeug.utils import import_string

from .errors import CustomGitHubMetadataError

Expand Down
2 changes: 1 addition & 1 deletion invenio_github/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@

from __future__ import absolute_import, print_function

__version__ = "1.0.0a19"
__version__ = "1.0.0a20"
2 changes: 1 addition & 1 deletion run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@


pydocstyle invenio_github tests docs && \
isort -rc -c -df && \
isort invenio_github tests --check-only --diff && \
check-manifest --ignore ".travis-*" && \
sphinx-build -qnNW docs docs/_build/html && \
py.test tests && \
Expand Down
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@

install_requires = [
'Flask-BabelEx>=0.9.3',
'Flask-Breadcrumbs>=0.3.0',
'Flask-Breadcrumbs>=0.4.0',
'Flask-Menu>=0.5.0',
'Flask>=1.0.2',
'Flask>=1.0.4',
'WTForms-Alchemy>=0.15.0,<0.17',
'email-validator>=1.0.5',
'github3.py==1.0.0a4',
Expand All @@ -81,18 +81,20 @@
'invenio-oauth2server>=1.0.3,<1.1.0',
'invenio-oauthclient>=1.1.2,<1.2.0',
'invenio-pidstore>=1.0.0',
'invenio-records-rest>=1.3.0,<1.7.0',
'invenio-records-rest>=1.6.2,<1.7.0',
'invenio-records>=1.3.0',
'invenio-rest>=1.1.2,<1.2.0',
'invenio-webhooks>=1.0.0a4',
'jsonresolver>=0.2.1,<0.3.0',
'mistune>=0.7.2',
'six>=1.10.0',
'six>=1.12.0',
'sqlalchemy-utils>=0.33.11,<0.36',
'uritemplate.py>=0.2.0,<2.0',
'urllib3<1.25,>=1.21.1', # from "invenio-search"
'idna>=2.5,<2.8', # from "invenio-search"
'werkzeug>=0.14.1,<1.0.0',
'werkzeug>=0.15.0,<1.0.0',
'invenio-indexer>=1.0.2,<1.2.0',

]

packages = find_packages()
Expand Down
1 change: 1 addition & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ def tclient_request_factory(client, method, endpoint, urlargs, data,
def github_api(app, db, tester_id, remote_token):
"""Github API mock."""
import github3

from . import fixtures

mock_api = MagicMock()
Expand Down
1 change: 1 addition & 0 deletions tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ def REPO(owner, repo, repo_id):
def ZIPBALL():
"""Github repository ZIP fixture."""
from zipfile import ZipFile

from six import BytesIO

memfile = BytesIO()
Expand Down

0 comments on commit 1a1ae95

Please sign in to comment.