Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Drop support for Django 1.8 - 1.10 #387

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

Merged
mblayman merged 9 commits into django-json-api:master from mblayman:no-1.8-10
Dec 12, 2017

Conversation

Copy link
Collaborator

@mblayman mblayman commented Dec 3, 2017

The effect of dropping support for Django 1.8 - 1.10 is pretty huge. Lots of test environments can go away.

Python 3.3 is EOL so I dropped that.

Django 1.8 - 1.10 are (basically) EOL so I dropped them.

Django REST Framework doesn't support Django 1.11 until a bug fix release of DRF 3.6.x so I dropped those too.

If the tests go green, I'll begin removing the old bits that are in the package files.

Fixes #386

amw reacted with thumbs up emoji
Copy link

codecov-io commented Dec 3, 2017
edited
Loading

Codecov Report

Merging #387 into master will decrease coverage by 0.19%.
The diff coverage is 93.33%.

Impacted file tree graph

@@ Coverage Diff @@
## master #387 +/- ##
=========================================
- Coverage 92.57% 92.37% -0.2% 
=========================================
 Files 56 56 
 Lines 2921 2887 -34 
=========================================
- Hits 2704 2667 -37 
- Misses 217 220 +3
Impacted Files Coverage Δ
setup.py 80% <ø> (ø) ⬆️
rest_framework_json_api/views.py 95.06% <100%> (-0.8%) ⬇️
rest_framework_json_api/relations.py 82.75% <100%> (-0.1%) ⬇️
rest_framework_json_api/__init__.py 100% <100%> (ø) ⬆️
rest_framework_json_api/utils.py 91.13% <87.5%> (+0.33%) ⬆️
rest_framework_json_api/metadata.py 25% <0%> (-3.34%) ⬇️
example/api/serializers/__init__.py 75% <0%> (-3.19%) ⬇️

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 e85cea9...ab71b7f. Read the comment docs.

@mblayman mblayman changed the base branch from develop to master December 3, 2017 03:31
@mblayman mblayman changed the title (削除) WIP: Drop support for Django 1.8 - 1.10 (削除ここまで) (追記) Drop support for Django 1.8 - 1.10 (追記ここまで) Dec 3, 2017
Copy link
Collaborator Author

mblayman commented Dec 3, 2017

I'll leave this open for comment for a week or two. If people are cool with it, we can merge it and move into the future! 😄

Copy link
Member

sliverc commented Dec 4, 2017

Great... I like it when this gets cleaned up.
Technically Django 1.8 is still supported till April next year - I do not mind to drop it others might comment on that though (they could still use old versions though)

There are several spots in the code where django.VERSION is checked... I think some of those checks could be removed now.

Copy link
Collaborator Author

mblayman commented Dec 4, 2017

Right about Django 1.8. I figured DJA 2.3.1 can be the end of the line for 1.8.

This PR clears out all the django.VERSION checks. 😄

Copy link
Member

sliverc commented Dec 4, 2017

Nice 👍

It might be good to reference the issue why only version DRF 3.6.3 supports Django 1.11. I haven't found it with a quick search.

Copy link
Collaborator Author

mblayman commented Dec 4, 2017

That would be nice. I didn't base that off an issue because I couldn't find one. I went source diving and looked at the DRF tags on GitHub and browsed through the tags until I found the first one that mentions 1.11 on the README. 3.6.3 was it.

Copy link
Member

sliverc commented Dec 5, 2017

The PRs seem to be:

encode/django-rest-framework#5081
encode/django-rest-framework#5062

which were only released with 3.6.3. So this looks good.

Copy link
Collaborator Author

mblayman commented Dec 5, 2017

Awesome. I appreciate you checking on that. It's nice to have confirmation of when the support for 1.11 was added.

Copy link
Contributor

amw commented Dec 12, 2017

I fully approve and eagerly await release. For some reason an older release of DRF JSON API that I have been using works for me after upgrading to Django 2.0, but I feel uncomfortable about it.

Copy link
Collaborator Author

I open this 10 day ago and have only seen positive feedback so I'm going to go ahead and merge it.

@mblayman mblayman merged commit b0257c0 into django-json-api:master Dec 12, 2017
@mblayman mblayman deleted the no-1.8-10 branch December 12, 2017 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Drop support for 1.8, 1.9, and 1.10

AltStyle によって変換されたページ (->オリジナル) /