-
Notifications
You must be signed in to change notification settings - Fork 28
[requirements] Added Django 3 support, upgraded dependencies #90
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pawelplsi shorten the commit message please, it's too long
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove python 3.5 and remove the if TRAVIS_PYTHON_VERSION == 3.5
.travis.yml
Outdated
@@ -14,6 +14,8 @@ branches: | |||
- master | |||
|
|||
env: | |||
- DJANGO="django>=2.2,<3.0" | |||
- DJANGO="django>=3.0,<3.3" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a blank line after that line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's not longer relevant, please see how it is now
06a5760
to
5ece370
Compare
Pull Request Test Coverage Report for Build 344
💛 - Coveralls |
b1030a3
to
6851eb3
Compare
Ofc, I checked the admin subpages (including export/import views) and spotted no error in console 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there, please implement these minor corrections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I also see some from __future__ import unicode_literals
, we don't need them now! 😄
7ead0d5
to
51808e7
Compare
.travis.yml
Outdated
|
||
before_install: | ||
- pip install --no-cache-dir -U -r requirements-test.txt | ||
- npm install -g jslint | ||
- jslint ./django_ipam/static/django-ipam/js/*.js | ||
|
||
install: | ||
- pip install "django>=2.0,<2.3" | ||
- pip install $DJANGO | ||
- python setup.py -q develop | ||
|
||
script: | ||
- > | ||
openwisp-utils-qa-checks --migration-path "./django_ipam/migrations/ ./tests/sample_ipam/migrations/" | ||
--skip-checkmakemigrations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you either should remove --skip-checkmakemigrations
or you should not remove the check below (just remove the if, not the check).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I'll correct that, but could you tell me why was that check executed previously only for one build, that with python 3.5? I don't get it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because 2.7 on travis had some issue if I recall correctly! 😄
51808e7
to
ba7211c
Compare
Dropped Python<3.6 and Django<2.2 Closes openwisp#79
ba7211c
to
7406f53
Compare
@nemesisdesign The if is then actually needed there but only without python version check since the migration tests will fail with DEMO_APP |
Yes correct, thanks! |
Dropped Python 2 and Django<2.2 #79
Closes #79