mirror of https://github.com/snachodog/mybuddy.git
Remove Python 2.7 support.
This commit is contained in:
parent
8b98a60ad1
commit
238d0d40a1
|
@ -6,7 +6,6 @@ cache:
|
||||||
directories:
|
directories:
|
||||||
- node_modules
|
- node_modules
|
||||||
python:
|
python:
|
||||||
- 2.7
|
|
||||||
- 3.4
|
- 3.4
|
||||||
- 3.5
|
- 3.5
|
||||||
- 3.6
|
- 3.6
|
||||||
|
|
|
@ -158,7 +158,7 @@ and then uploaded to a server.
|
||||||
|
|
||||||
#### Requirements
|
#### Requirements
|
||||||
|
|
||||||
- Python 2.7+, pip, pipenv
|
- Python 3.4+, pip, pipenv
|
||||||
- Web server ([nginx](http://nginx.org/), [Apache](http://httpd.apache.org/), etc.)
|
- Web server ([nginx](http://nginx.org/), [Apache](http://httpd.apache.org/), etc.)
|
||||||
- Application server ([uwsgi](http://projects.unbit.it/uwsgi), [gunicorn](http://gunicorn.org/), etc.)
|
- Application server ([uwsgi](http://projects.unbit.it/uwsgi), [gunicorn](http://gunicorn.org/), etc.)
|
||||||
- Database ([sqlite](https://sqlite.org/), [Postgres](https://www.postgresql.org/), [MySQL](https://www.mysql.com/), etc.)
|
- Database ([sqlite](https://sqlite.org/), [Postgres](https://www.postgresql.org/), [MySQL](https://www.mysql.com/), etc.)
|
||||||
|
@ -352,7 +352,7 @@ for all possible values.
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Python 2.7+, pip, pipenv
|
- Python 3.4+, pip, pipenv
|
||||||
- NodeJS 8.x and NPM 5.x
|
- NodeJS 8.x and NPM 5.x
|
||||||
- Gulp
|
- Gulp
|
||||||
|
|
||||||
|
|
|
@ -5,8 +5,6 @@ from django.contrib.auth.models import User
|
||||||
from django.test import TestCase, override_settings
|
from django.test import TestCase, override_settings
|
||||||
from django.utils import timezone
|
from django.utils import timezone
|
||||||
|
|
||||||
import six
|
|
||||||
|
|
||||||
from core import models
|
from core import models
|
||||||
from dashboard.templatetags import cards
|
from dashboard.templatetags import cards
|
||||||
|
|
||||||
|
@ -117,10 +115,6 @@ class TemplateTagsTestCase(TestCase):
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
# Python 2 comes up with a slightly different number for one record.
|
|
||||||
if six.PY2:
|
|
||||||
stats[0]['stat'] = timezone.timedelta(0, 44228, 571428)
|
|
||||||
|
|
||||||
self.assertEqual(data['stats'], stats)
|
self.assertEqual(data['stats'], stats)
|
||||||
|
|
||||||
def test_card_timer_list(self):
|
def test_card_timer_list(self):
|
||||||
|
|
Loading…
Reference in New Issue