Skip to content

Commit

Permalink
py3: update deps
Browse files Browse the repository at this point in the history
Drop the now-unnecessary mock lib & reorganize other
test-only libs as dev dependencies.
  • Loading branch information
mik3y committed Feb 25, 2020
1 parent 18e9cc7 commit 2e23903
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 32 deletions.
21 changes: 12 additions & 9 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,49 +5,52 @@ verify_ssl = true

[dev-packages]
kegbot = {editable = true,path = "."}
black = "*"
flake8 = "*"
pytest = "*"
pytest-django = "*"
requests-mock = "*"
sphinx-issues = "*"
sphinx = "*"
vcrpy = "*"

[packages]
celery = "*"
coloredlogs = "*"
dj-database-url = "==0.4.2"
dj-database-url = "*"
django-bootstrap-pagination = "*"
django-crispy-forms = "*"
django-imagekit = "*"
django-redis = "*"
django-registration = "*"
flake8 = "*"
foursquare = "==1!2016.9.12"
gunicorn = "*"
httplib2 = "*"
isodate = "*"
jsonfield = "*"
mock = "==2.0.0"
oauthlib = "*"
pilkit = "*"
protobuf = "*"
python-gflags = "*"
pytz = "*"
redis = "*"
requests-mock = "*"
requests-oauthlib = "*"
requests = "*"
tweepy = "*"
vcrpy = "*"
whitenoise = "*"
Django = "<3"
Pillow = "*"
PyYAML = "*"
mysqlclient = "*"
sphinx = "*"
pytest = "*"
pytest-django = "*"
future = "*"
addict = "*"
kegbot-api = "*"
sphinx-issues = "*"

[scripts]
kegbot = "python bin/kegbot"

[requires]
python_version = "3"

[pipenv]
allow_prereleases = true
118 changes: 99 additions & 19 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pykeg/contrib/foursquare/foursquare_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

"""Unittests for Foursquare plugin."""

from mock import patch
from unittest.mock import patch

from django.test import TransactionTestCase
from django.utils import timezone
Expand Down
2 changes: 1 addition & 1 deletion pykeg/contrib/untappd/untappd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

"""Unittests for Untappd plugin."""

from mock import patch
from unittest.mock import patch

from django.test import TransactionTestCase
from django.utils import timezone
Expand Down
3 changes: 1 addition & 2 deletions pykeg/core/checkin_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@

from django.test import TransactionTestCase

from mock import Mock
from mock import patch
from unittest.mock import Mock, patch

from pykeg.core import checkin
from pykeg.core import models
Expand Down

0 comments on commit 2e23903

Please sign in to comment.