[Django] #23763: Python 3.5 compatibility

55 views
Skip to first unread message

Django

unread,
Nov 5, 2014, 9:40:24 AM11/5/14
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
----------------------------------------+------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Keywords:
Triage Stage: Accepted | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------------+------------------------
Python 3.5 is not scheduled for final until September 2015, but this is a
tracking ticket for compatibility fixes for Django submitted in the
meantime.

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

Django

unread,
Nov 5, 2014, 9:41:03 AM11/5/14
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------

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

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 berkerpeksag):

* cc: berker.peksag@… (added)


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

Django

unread,
Nov 5, 2014, 9:56:15 AM11/5/14
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"b07aa52e8a8e4c7fdc7265f75ce2e7992e657ae9"]:
{{{
#!CommitTicketReference repository=""
revision="b07aa52e8a8e4c7fdc7265f75ce2e7992e657ae9"
Added a dummy class for HTMLParserError; refs #23763.
}}}

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

Django

unread,
Nov 5, 2014, 9:57:58 AM11/5/14
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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 timgraham):

All the tests currently pass except for some `ImportError` exceptions
being reported, likely due to http://bugs.python.org/issue7559.
{{{
======================================================================
ERROR: apps.failing_app (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/case.py", line 58, in
testPartExecutor
yield
File "/home/tim/code/cpython/Lib/unittest/case.py", line 577, in run
testMethod()
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 36, in
testFailure
raise exception
ImportError: Failed to import test module: apps.failing_app
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 451, in
_find_test_path
package = self._get_module_from_name(name)
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 358, in
_get_module_from_name
__import__(name)
File "/home/tim/code/django/tests/apps/failing_app/__init__.py", line 1,
in <module>
raise ImportError("Oops")
ImportError: Oops


======================================================================
ERROR: migrations.faulty_migrations.import_error
(unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/case.py", line 58, in
testPartExecutor
yield
File "/home/tim/code/cpython/Lib/unittest/case.py", line 577, in run
testMethod()
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 36, in
testFailure
raise exception
ImportError: Failed to import test module:
migrations.faulty_migrations.import_error
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 451, in
_find_test_path
package = self._get_module_from_name(name)
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 358, in
_get_module_from_name
__import__(name)
File
"/home/tim/code/django/tests/migrations/faulty_migrations/import_error/__init__.py",
line 1, in <module>
import fake_python_module # NOQA
ImportError: No module named 'fake_python_module'
}}}
Also, some GIS related exceptions like the following if GIS dependencies
aren't installed:
{{{
======================================================================
ERROR: django.contrib.gis.admin (unittest.loader.ModuleImportFailure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/case.py", line 58, in
testPartExecutor
yield
File "/home/tim/code/cpython/Lib/unittest/case.py", line 577, in run
testMethod()
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 36, in
testFailure
raise exception
ImportError: Failed to import test module: django.contrib.gis.admin
Traceback (most recent call last):
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 451, in
_find_test_path
package = self._get_module_from_name(name)
File "/home/tim/code/cpython/Lib/unittest/loader.py", line 358, in
_get_module_from_name
__import__(name)
File "/home/tim/code/django/django/contrib/gis/admin/__init__.py", line
7, in <module>
from django.contrib.gis.admin.options import GeoModelAdmin # NOQA
File "/home/tim/code/django/django/contrib/gis/admin/options.py", line
2, in <module>
from django.contrib.gis.admin.widgets import OpenLayersWidget
File "/home/tim/code/django/django/contrib/gis/admin/widgets.py", line
9, in <module>
from django.contrib.gis.geos import GEOSGeometry, GEOSException
ImportError: cannot import name 'GEOSGeometry'
}}}

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

Django

unread,
Nov 12, 2014, 1:19:15 PM11/12/14
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"42b5e4feeacf7cfa57867bf9fd5a6046de8c1cd3"]:
{{{
#!CommitTicketReference repository=""
revision="42b5e4feeacf7cfa57867bf9fd5a6046de8c1cd3"
Fixed #23730 -- Moved support for SimpleCookie HIGHEST_PROTOCOL pickling
to http.cookie.

This fix is necessary for Python 3.5 compatibility (refs #23763).

Thanks Berker Peksag for review.
}}}

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

Django

unread,
Jan 20, 2015, 8:15:30 AM1/20/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"be1357e70983d4ad029a1ecdd05292f8be917a80"]:
{{{
#!CommitTicketReference repository=""
revision="be1357e70983d4ad029a1ecdd05292f8be917a80"
Fixed a query failure on Python 3.5; refs #23763.

The failure was introduced in Django by
c7fd9b242d2d63406f1de6cc3204e35aaa025233 and the change in
Python 3.5 is https://hg.python.org/cpython/rev/a3c345ba3563.
}}}

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

Django

unread,
Jan 20, 2015, 8:16:01 AM1/20/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"cb90d489da4247c1c7ced86a42a2d89488fec67c"]:
{{{
#!CommitTicketReference repository=""
revision="cb90d489da4247c1c7ced86a42a2d89488fec67c"
[1.8.x] Fixed a query failure on Python 3.5; refs #23763.

The failure was introduced in Django by
c7fd9b242d2d63406f1de6cc3204e35aaa025233 and the change in
Python 3.5 is https://hg.python.org/cpython/rev/a3c345ba3563.

Backport of be1357e70983d4ad029a1ecdd05292f8be917a80 from master
}}}

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

Django

unread,
Jan 23, 2015, 4:42:23 PM1/23/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"0386b97706052b88cd6fbbf777698810981cfeb6"]:
{{{
#!CommitTicketReference repository=""
revision="0386b97706052b88cd6fbbf777698810981cfeb6"
Fixed test_runner test failure on Python 3.5; refs #23763.

Python change is http://bugs.python.org/issue22032
}}}

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

Django

unread,
Jan 23, 2015, 4:42:47 PM1/23/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"242c9538c8d252f27581e2b192237301f94a2928"]:
{{{
#!CommitTicketReference repository=""
revision="242c9538c8d252f27581e2b192237301f94a2928"
[1.8.x] Fixed test_runner test failure on Python 3.5; refs #23763.

Backport of 0386b97706052b88cd6fbbf777698810981cfeb6 from master
}}}

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

Django

unread,
Feb 1, 2015, 8:11:27 PM2/1/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"62df1834b8d60c106c8c16524b275b8a1f47ac3a"]:
{{{
#!CommitTicketReference repository=""
revision="62df1834b8d60c106c8c16524b275b8a1f47ac3a"
Fixed expressions test on Python 3.5; refs #23763.
}}}

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

Django

unread,
Feb 1, 2015, 8:11:51 PM2/1/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"fe770a6452919807bba59c125b02464290feeba1"]:
{{{
#!CommitTicketReference repository=""
revision="fe770a6452919807bba59c125b02464290feeba1"
[1.8.x] Fixed expressions test on Python 3.5; refs #23763.

Backport of 62df1834b8d60c106c8c16524b275b8a1f47ac3a from master
}}}

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

Django

unread,
Feb 3, 2015, 6:31:14 PM2/3/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"c0cc8f69e7abfa8578729031f97ae4b96c5cdafe"]:
{{{
#!CommitTicketReference repository=""
revision="c0cc8f69e7abfa8578729031f97ae4b96c5cdafe"
Refactored tests that rely on an ImportError for Python 3.5 compatibility

A change in Python test discovery [1] causes the old packages that raised
an error to be discovered; now we use a common directory that's
ignored during discovery. Refs #23763.

[1] http://bugs.python.org/issue7559
}}}

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

Django

unread,
Feb 3, 2015, 6:31:29 PM2/3/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"3e24ab6f4ca6632c910c684fda3d0f937fade52a"]:
{{{
#!CommitTicketReference repository=""
revision="3e24ab6f4ca6632c910c684fda3d0f937fade52a"
[1.8.x] Refactored tests that rely on an ImportError for Python 3.5
compatibility

A change in Python test discovery [1] causes the old packages that raised
an error to be discovered; now we use a common directory that's
ignored during discovery. Refs #23763.

[1] http://bugs.python.org/issue7559

Backport of c0cc8f69e7abfa8578729031f97ae4b96c5cdafe from master
}}}

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

Django

unread,
Mar 31, 2015, 8:41:32 AM3/31/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"4e59156c10d36eeb1e6fced4dff0f11157f68264" 4e59156c]:
{{{
#!CommitTicketReference repository=""
revision="4e59156c10d36eeb1e6fced4dff0f11157f68264"
Fixed sessions test on Python 3.5; refs #23763.

SimpleCookie.__repr__() changed in
https://hg.python.org/cpython/rev/88e1151e8e02
}}}

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

Django

unread,
Mar 31, 2015, 8:28:12 PM3/31/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"7b9f7b66703a8c961c8d705281ac027d6dbef17d" 7b9f7b66]:
{{{
#!CommitTicketReference repository=""
revision="7b9f7b66703a8c961c8d705281ac027d6dbef17d"
[1.8.x] Fixed sessions test on Python 3.5; refs #23763.

SimpleCookie.__repr__() changed in
https://hg.python.org/cpython/rev/88e1151e8e02

Backport of 4e59156c10d36eeb1e6fced4dff0f11157f68264 from master
}}}

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

Django

unread,
May 16, 2015, 10:42:34 AM5/16/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"c2bc1cefdcbbf074408f4a4cace88b315cf9d652" c2bc1ce]:
{{{
#!CommitTicketReference repository=""
revision="c2bc1cefdcbbf074408f4a4cace88b315cf9d652"
Refs #23763 -- Silenced SimpleTestCase.assertRaisesMessage() deprecation
warning on Python 3.5.

Deprecation warning was introduced in https://bugs.python.org/issue24134
}}}

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

Django

unread,
May 18, 2015, 10:03:15 AM5/18/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"7d97c5745e420e3edc22965a2c68c8c9d2eab374" 7d97c57]:
{{{
#!CommitTicketReference repository=""
revision="7d97c5745e420e3edc22965a2c68c8c9d2eab374"
Refs #23763 -- Fixed SMTPServer Python 3.5 deprecation warning in mail
test.
}}}

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

Django

unread,
May 18, 2015, 10:08:05 AM5/18/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"e89c3a46035e9fe17c373a6c9cd63b9fd631d596" e89c3a46]:
{{{
#!CommitTicketReference repository=""
revision="e89c3a46035e9fe17c373a6c9cd63b9fd631d596"
Added backwards compatibility for assertRaisesMessage callable_obj param.

This was broken in c2bc1cefdcbbf074408f4a4cace88b315cf9d652 (refs #23763).
}}}

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

Django

unread,
Jun 17, 2015, 7:08:53 AM6/17/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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:"3f2de803181ca3c5526ec9d708b2098b8f683808" 3f2de803]:
{{{
#!CommitTicketReference repository=""
revision="3f2de803181ca3c5526ec9d708b2098b8f683808"
Refs #23763 -- Fixed Python 3.5 PendingDeprecationWarning in LazyStream.

Fixed "PendingDeprecationWarning: generator
'LazyStream.read.<locals>.parts'
raised StopIteration" per PEP 0479.
}}}

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

Django

unread,
Aug 10, 2015, 3:46:30 PM8/10/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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 warsaw):

Any thoughts on the GEOSGeometry import error on Python 3 only? I think
I've applied all the relevant patches here for Ubuntu's build of 1.7.9 for
Python 2.7, 3.4, and 3.5, and this is the last failure I can't yet
eliminate. Well, I can if I depend on libgeos-dev which gives you the
right library, but I don't want to add that dependency because of cross-
pocket issues (django-python is in main, but libgeos-dev is in universe,
and that would require extra bureaucracy to change).

I've confirmed that HAS_SPACIAL_DB is False in both Python 2 and 3, and
django.contrib.gis.tests doesn't get added to discovery_paths (in
runtests.py), but yet those tests are still discovered.

Is there some patch not yet attached to this issue, or some other ticket
or commit I should be looking at?

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

Django

unread,
Aug 10, 2015, 8:38:56 PM8/10/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: New feature | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:

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 timgraham):

I don't believe it's a known issue. It doesn't seem related to Python 3.5
compatibility, so please open a new ticket with more specifics, thanks!

--
Ticket URL: <https://code.djangoproject.com/ticket/23763#comment:20>

Django

unread,
Sep 17, 2015, 1:31:56 PM9/17/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | 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 timgraham):

* status: new => closed
* resolution: => fixed


Comment:

The test suite for master (Django 1.9) passes on Python 3.5.

--
Ticket URL: <https://code.djangoproject.com/ticket/23763#comment:21>

Django

unread,
Oct 24, 2015, 5:21:31 AM10/24/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | 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 NDevox):

* cc: nick.a.sarbicki@… (added)


--
Ticket URL: <https://code.djangoproject.com/ticket/23763#comment:22>

Django

unread,
Oct 26, 2015, 10:13:23 AM10/26/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | 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:"95b1ae76ba23367146824188d07bcb0141fed69a" 95b1ae76]:
{{{
#!CommitTicketReference repository=""
revision="95b1ae76ba23367146824188d07bcb0141fed69a"
[1.8.x] Refs #23763 -- Fixed SMTPServer Python 3.5 deprecation warning in
mail test.

Backport of 7d97c5745e420e3edc22965a2c68c8c9d2eab374 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23763#comment:24>

Django

unread,
Oct 26, 2015, 10:13:23 AM10/26/15
to django-...@googlegroups.com
#23763: Python 3.5 compatibility
------------------------------+------------------------------------
Reporter: timgraham | 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:"2a36a9bb15f0f1dee66a52f5fe7e0de57a6bd2e1" 2a36a9bb]:
{{{
#!CommitTicketReference repository=""
revision="2a36a9bb15f0f1dee66a52f5fe7e0de57a6bd2e1"
[1.8.x] Refs #23763 -- Fixed Python 3.5 PendingDeprecationWarning in
LazyStream.

Fixed "PendingDeprecationWarning: generator
'LazyStream.read.<locals>.parts'
raised StopIteration" per PEP 0479.

Backport of 3f2de803181ca3c5526ec9d708b2098b8f683808 from master
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/23763#comment:23>

Reply all
Reply to author
Forward
0 new messages