[Django] #28814: Python 3.7 compatibility

46 views
Skip to first unread message

Django

unread,
Nov 17, 2017, 12:55:34 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
-----------------------------------------+------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Keywords:
Triage Stage: Someday/Maybe | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
Python 3.7 final is scheduled for June 2018. This is a tracking ticket for
compatibility fixes for Django submitted in the meantime.

--
Ticket URL: <https://code.djangoproject.com/ticket/28814>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Nov 17, 2017, 1:50:07 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------
Changes (by felixxm):

* cc: felixxm (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:1>

Django

unread,
Nov 17, 2017, 3:39:46 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"931c60c5216bd71bc11f489e00e063331cf21f40" 931c60c5]:
{{{
#!CommitTicketReference repository=""
revision="931c60c5216bd71bc11f489e00e063331cf21f40"
Refs #28814 -- Fixed "SyntaxError: Generator expression must be
parenthesized" on Python 3.7.

Due to https://bugs.python.org/issue32012.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:2>

Django

unread,
Nov 17, 2017, 3:56:41 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"8e63cc582f8ab66e5d8a94a72b6d12eb4c7e85e6" 8e63cc58]:
{{{
#!CommitTicketReference repository=""
revision="8e63cc582f8ab66e5d8a94a72b6d12eb4c7e85e6"
[2.0.x] Refs #28814 -- Fixed "SyntaxError: Generator expression must be
parenthesized" on Python 3.7.

Due to https://bugs.python.org/issue32012.

Backport of 931c60c5216bd71bc11f489e00e063331cf21f40 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:3>

Django

unread,
Nov 17, 2017, 5:12:58 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"9d1d3b2d2fe0bef995b024368088eeabbdf73629" 9d1d3b2d]:
{{{
#!CommitTicketReference repository=""
revision="9d1d3b2d2fe0bef995b024368088eeabbdf73629"
Refs #28814 -- Fixed test_runner failure on Python 3.7.

Due to https://bugs.python.org/issue30399.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:4>

Django

unread,
Nov 17, 2017, 5:30:47 PM11/17/17
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"5b21e3983dfce04251dbb795a70859c1ee78db8e" 5b21e398]:
{{{
#!CommitTicketReference repository=""
revision="5b21e3983dfce04251dbb795a70859c1ee78db8e"
[2.0.x] Refs #28814 -- Fixed test_runner failure on Python 3.7.

Due to https://bugs.python.org/issue30399.

Backport of 9d1d3b2d2fe0bef995b024368088eeabbdf73629 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:5>

Django

unread,
Feb 5, 2018, 11:43:08 AM2/5/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"aba9763b5117494ca1ef1e420397e3845ad5b262" aba9763b]:
{{{
#!CommitTicketReference repository=""
revision="aba9763b5117494ca1ef1e420397e3845ad5b262"
Refs #28814 -- Imported from collections.abc to fix Python 3.7 deprecation
warnings.

https://bugs.python.org/issue25988
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:6>

Django

unread,
Feb 6, 2018, 7:46:06 AM2/6/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"0f0a07ac278dc2be6da81e519188f77e2a2a00cf" 0f0a07ac]:
{{{
#!CommitTicketReference repository=""
revision="0f0a07ac278dc2be6da81e519188f77e2a2a00cf"
Refs #28814 -- Fixed migrations crash with namespace packages on Python
3.7.

Due to https://bugs.python.org/issue32303.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:7>

Django

unread,
Jun 28, 2018, 10:06:42 AM6/28/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"cba51003de23ecefaaeb231f2adda19ea589d286" cba51003]:
{{{
#!CommitTicketReference repository=""
revision="cba51003de23ecefaaeb231f2adda19ea589d286"
[2.0.x] Refs #28814 -- Fixed migrations crash with namespace packages on
Python 3.7.

Due to https://bugs.python.org/issue32303.

Backport of 0f0a07ac278dc2be6da81e519188f77e2a2a00cf from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:8>

Django

unread,
Jun 28, 2018, 11:02:52 AM6/28/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553" 2f7cd7f8]:
{{{
#!CommitTicketReference repository=""
revision="2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553"
Refs #28814 -- Documented Python 3.7 compatibility.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:9>

Django

unread,
Jun 28, 2018, 11:06:09 AM6/28/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"7a007e967b6d143328a36d7c7c839c6a864f605e" 7a007e9]:
{{{
#!CommitTicketReference repository=""
revision="7a007e967b6d143328a36d7c7c839c6a864f605e"
[2.1.x] Refs #28814 -- Documented Python 3.7 compatibility.

Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:10>

Django

unread,
Jun 28, 2018, 11:07:36 AM6/28/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+-----------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

Keywords: | Triage Stage: Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+-----------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"a68481919398618a0ab56f09e918342072c538c9" a684819]:
{{{
#!CommitTicketReference repository=""
revision="a68481919398618a0ab56f09e918342072c538c9"
[2.0.x] Refs #28814 -- Documented Python 3.7 compatibility.

Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:11>

Django

unread,
Jun 28, 2018, 11:22:16 AM6/28/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------

Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------
Changes (by Tim Graham):

* status: new => closed
* resolution: => fixed
* stage: Someday/Maybe => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:12>

Django

unread,
Nov 17, 2018, 4:04:20 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"568c2f45ef531257a600c0e6ff8fe02525d7ab4e" 568c2f45]:
{{{
#!CommitTicketReference repository=""
revision="568c2f45ef531257a600c0e6ff8fe02525d7ab4e"
[1.11.x] Refs #28814 -- Fixed "SyntaxError: Generator expression must be
parenthesized" on Python 3.7.

Due to https://bugs.python.org/issue32012.

Backport of 931c60c5216bd71bc11f489e00e063331cf21f40 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:13>

Django

unread,
Nov 17, 2018, 4:04:20 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"b9e248975f3190fee245b30313c2744bf836bb1c" b9e24897]:
{{{
#!CommitTicketReference repository=""
revision="b9e248975f3190fee245b30313c2744bf836bb1c"
[1.11.x] Refs #28814 -- Fixed test_runner failure on Python 3.7.

Due to https://bugs.python.org/issue30399.

Backport of 9d1d3b2d2fe0bef995b024368088eeabbdf73629 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:14>

Django

unread,
Nov 17, 2018, 4:04:20 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"8deb0a8efd948855310c45064b109090596510e4" 8deb0a8]:
{{{
#!CommitTicketReference repository=""
revision="8deb0a8efd948855310c45064b109090596510e4"
[1.11.x] Refs #28814 -- Fixed migrations crash with namespace packages on
Python 3.7.

Due to https://bugs.python.org/issue32303.

Backport of 0f0a07ac278dc2be6da81e519188f77e2a2a00cf from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:15>

Django

unread,
Nov 17, 2018, 4:04:20 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"c11a7b4907e58447daab4632a50f5e72d838715e" c11a7b4]:
{{{
#!CommitTicketReference repository=""
revision="c11a7b4907e58447daab4632a50f5e72d838715e"
[1.11.x] Refs #28814 -- Documented Python 3.7 compatibility.

Backport of 2f7cd7f8ecb01d30c1dfdaefa1c1714db76d2553 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:16>

Django

unread,
Nov 17, 2018, 4:04:46 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"2fd21a18584dc62cfad65cc112465ce68db5561a" 2fd21a18]:
{{{
#!CommitTicketReference repository=""
revision="2fd21a18584dc62cfad65cc112465ce68db5561a"
Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:17>

Django

unread,
Nov 17, 2018, 4:05:43 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"b94279dd26284f9b7d222fe269fc7fdbf638b22a" b94279d]:
{{{
#!CommitTicketReference repository=""
revision="b94279dd26284f9b7d222fe269fc7fdbf638b22a"
[2.1.x] Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.

Backport of 2fd21a18584dc62cfad65cc112465ce68db5561a from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:18>

Django

unread,
Nov 17, 2018, 4:07:22 PM11/17/18
to django-...@googlegroups.com
#28814: Python 3.7 compatibility
------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: New feature | Status: closed

Component: Core (Other) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
------------------------------+------------------------------------

Comment (by Tim Graham <timograham@…>):

In [changeset:"aa1527db576969a74a9af2c3a1caf95c98872397" aa1527d]:
{{{
#!CommitTicketReference repository=""
revision="aa1527db576969a74a9af2c3a1caf95c98872397"
[2.0.x] Refs #28814 -- Doc'd Python 3.7 compatibility in Django 1.11.x.

Backport of 2fd21a18584dc62cfad65cc112465ce68db5561a from master.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/28814#comment:19>

Reply all
Reply to author
Forward
0 new messages