-
Notifications
You must be signed in to change notification settings - Fork 771
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
Drop python 2, Django<1.11 support #797
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #797 +/- ##
===========================================
- Coverage 97.42% 97.38% -0.04%
===========================================
Files 15 15
Lines 1202 1149 -53
===========================================
- Hits 1171 1119 -52
+ Misses 31 30 -1
Continue to review full report at Codecov.
|
I think so. Anyone on Python 2 is much better off upgrading that that upgrading DF. And just look at all that red! We’ll hold off till tomorrow to decide |
You really want to drop python 2.7 support? Did I get it wrong? |
@durdenk Yep. That's right. Do you have thoughts on that? |
If we decide not to drop python 2, we can still drop the compatibility code and older versions of Django. |
ceaed0b
to
f734a3c
Compare
I just checked libraries I use and saw that all of them support python3, maybe its time for me to get over with it. |
@durdenk +1 🙂 I think this is the point. There really is no need to be on Python 2 any longer. (Is there...?) And Python 3 is such a big step up (in performance, in features, in happiness)... Python 2 just causes us issues (with Travis etc). If some company wanted to fund Python 2 support that would be fine. But this is a volunteer effort and I see no real reason to keep expending energy here. |
I'm all in favor of dropping python 2. The maintenance isn't that much of an issue, but it is keeping us from moving forward and using all of those shiny python 3.x features. |
* Remove old compat code * Move remote_queryset fn out of compat * Drop Django<1.11 support * Drop Django<1.11 checks in tests * Remove python 2 compat imports * Drop python 2 support * Remove 'six' compat code
* Remove old compat code * Move remote_queryset fn out of compat * Drop Django<1.11 support * Drop Django<1.11 checks in tests * Remove python 2 compat imports * Drop python 2 support * Remove 'six' compat code
I'd love to upgrade to PY3 but I can't pull a whole project up just to pick up bug fixes on this project. Please consider reverting this!!! |
Hi @claytondaley. These changes have been included in the v2.0.0.dev1 pre release, which includes a number of breaking changes beyond simple bug fixes. Note that v1.1 was release about a week before, which should contain most of the important fixes you might be looking for. |
@claytondaley v1.1 will be the last to support Python 2. It's fully functional, and Django-Filter is mature and battle tested. It won't stop working. You're free to continue to use it. It's worth noting that (other than those related to the move to 2.0) there exactly were 0 open issues when we made this move. There are no bug fixes to pick up. |
Are you going to accept an improvement to just the 1.x branch? I need a fix for #812 and was going to assemble a proof of concept to link to the issue (when I discovered the compat issue). |
No. This is a small project. All effort is going into the 2.0 branch from now. I'd really suggest you take the time to upgrade to Python 3. You'll get a lot more from it than any addition you could make to Django Filter. (Or even Django for that matter.) It's also quite easy. There really is no reason to be on Python 2 any longer. |
Regardless, #812 is proposing fundamental changes to |
Ideally yes, but it's easy enough to workaround. |
@carltongibson, you sure you want to drop py2k support? 😄