Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix cannot import name 'Callable' from 'collections' #23

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,11 @@ name = "pypi"

colorama = "==0.3.9"
future = "==0.16.0"
"github3.py" = "==0.9.6"
"github3.py" = "==4.0.1"
tinydb = "==3.7.0"
ujson = "==1.35"
twine = "*"


[packages]



[requires]

python_version = "3.6"
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ $ mystars -i

### Change logs

#### v1.5.2
- fix cannot import name 'Callable' from 'collections'

#### v1.5.1
- Fix error 'IOError: [Errno 32] Broken pipe'

Expand Down
2 changes: 1 addition & 1 deletion ohmystars/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
oh-my-stars - a CLI tool to search your starred Github repositories.
"""
__author__ = 'wolfg1969'
__version__ = '1.5.1'
__version__ = '1.5.2'
__license__ = 'MIT'
2 changes: 1 addition & 1 deletion ohmystars/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def gh2f():
with StarredDB(MY_STARS_HOME, mode) as db:
repo_list = []

for repo in g.iter_starred(sort='created', direction='desc', number=-1):
for repo in g.starred(sort='created', direction='desc', number=-1):

if db.get_latest_repo_full_name() == repo.full_name:
break
Expand Down