Skip to content

Conversation

@stasfilin
Copy link
Contributor

@stasfilin stasfilin commented Jan 16, 2018

Hi all, I work on Django 2.0 support.
First we need to wait jazzband/django-polymorphic#318

Signed-off-by: Stanislav Filin <stasfilinmusic@gmail.com>
Signed-off-by: Stanislav Filin <stasfilinmusic@gmail.com>
tox.ini Outdated
py34-django{18,110,111},
py35-django{18,110,111},
py36-django{111},
py36-django{20},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This could be part of the previous line. ie:

py36-django{111,20},

It's also worth adding ,20 to the py35 line, as Django 2.0 supports that version of python too.

.travis.yml Outdated
- PACKAGES="django>=1.8,<1.9"
- PACKAGES="django>=1.10,<1.11"
- PACKAGES="django>=1.11,<1.12"
- PACKAGES="django==2.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This probably wants to be a little more flexible, to make sure the tests are always run against the latest point release.

To be consistent with the other lines in this file, that would mean changing this to:

PACKAGES="django>=2.0,<2.1"

Although this syntax is more terse:

PACKAGES="django~=2.0.0"

Signed-off-by: Stanislav Filin <stasfilinmusic@gmail.com>
@codecov
Copy link

codecov bot commented Jan 18, 2018

Codecov Report

Merging #67 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #67   +/-   ##
=======================================
  Coverage   64.98%   64.98%           
=======================================
  Files          12       12           
  Lines         794      794           
=======================================
  Hits          516      516           
  Misses        278      278
Impacted Files Coverage Δ
polymorphic_tree/tests/models.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 85305c8...a854591. Read the comment docs.

@stasfilin
Copy link
Contributor Author

@meshy Hi, I updated .travis.yml and tox.ini how you say

@meshy
Copy link
Contributor

meshy commented Jan 18, 2018

Thanks!

@meshy
Copy link
Contributor

meshy commented Jan 18, 2018

I don't have the power to merge this, but I hope that makes it more acceptable to those that do :)

@stasfilin
Copy link
Contributor Author

stasfilin commented Jan 18, 2018

@meshy we need to wait for this jazzband/django-polymorphic#318 :)

@vdboor vdboor merged commit 7f66e07 into django-polymorphic:master Jan 18, 2018
@stasfilin stasfilin deleted the support_django20 branch January 18, 2018 14:48
@vdboor
Copy link
Member

vdboor commented Jan 18, 2018

Thanks a lot! I've merged the fixes, and temporary allow Django 2.0 tests to fail in 7a925a6 (since the polymorphic release is not out yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants