[Django] #20517: Jython support is not as complete as indicated

29 views
Skip to first unread message

Django

unread,
May 28, 2013, 1:21:18 AM5/28/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------+--------------------
Reporter: alex@… | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: master
Severity: Normal | Keywords: Jython
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
While django itself works admirably with Jython, there are a few issues
not mentioned here which are likely to cause significant problems for
people intending to rely on Jython to deploy Django.

For example, the django-jython database support packages don't work with
versions above 1.3 without monkey patching, I believe.

Furthermore, due to some bugs or 'features' in Jython, many Django apps
(including the Django Rest API) do NOT work with Jython at the moment. I
wasted a couple of days figuring this out :( though to be fair, Django has
saved me many more hours than that in my life :)

I believe the docs could be more informative here by providing a list of
supported configurations and third-party apps.

For example:

-------------------------

Django does support Jython, but it can be a little finicky depending on
what apps/versions you want to use.

Known **good configurations**:
* Django 1.3.1 with Jython2.7b1 with django-jython1.3

Known to be **incompatible**:
* Django 1.4+ with any version of django-jython (fixable with tiny patch
- link).

Supported plug-ins:

Plug-ins known **NOT** to work:
* Django REST framework

Installation instructions continue largely as before....


----------------------------------------

I know it may be difficult to generate such a list, but even an incomplete
version listing a few major apps / working combinations would be very
helpful in assessing whether or not this option is likely to work,
potentially saving developers a lot of time and wasted effort!

Possibly it could even be done as a forum thread and linked to from the
docs.

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

Django

unread,
May 28, 2013, 9:45:03 AM5/28/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------+------------------------------------

Reporter: alex@… | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: Jython | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by lukeplant):

* needs_better_patch: => 0
* stage: Unreviewed => Accepted
* needs_tests: => 0
* needs_docs: => 0


Comment:

This could be done as a wiki page, but we couldn't reasonably maintain a
correct list of compatible/incompatible apps within Django docs itself,
because out-of-date/incorrect information is just as unhelpful as no
information at all. I'm going to accept the idea of having a warning and a
link to such a wiki page within the docs though.

Care will still need to be taken with the wiki page - like putting
sufficient dates and version numbers on the information.

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

Django

unread,
May 28, 2013, 1:11:31 PM5/28/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------+------------------------------------
Reporter: alex@… | Owner: EvilDMP
Type: Bug | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: Jython | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by EvilDMP):

* owner: nobody => EvilDMP
* status: new => assigned


Comment:

I have marked this ticket as suitable for a first-time committer attending
a [https://dont-be-afraid-to-commit.readthedocs.org/ Don't be afraid to
commit workshop].

The next planned session will be hosted by
[http://www.cardiffdevworkshop.com Cardiff Dev Workshop] on Saturday 8th
June.

If you want to tackle this ticket before then, or at any time in fact,
please '''don't''' let the fact that it's assigned to me stop you. Feel
free to re-assign it to yourself and do whatever you like to it.

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

Django

unread,
Jul 3, 2013, 7:31:28 AM7/3/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------+------------------------------------
Reporter: alex@… | Owner: EvilDMP
Type: Bug | Status: assigned
Component: Documentation | Version: master

Severity: Normal | Resolution:
Keywords: Jython | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 1 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by timo):

#19417 also notes an issue with Jython 2.5.3 and `forms.DateTimeField`
which could be included with this.

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

Django

unread,
Sep 2, 2013, 11:45:33 AM9/2/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------------+-------------------------------------

Reporter: alex@… | Owner: EvilDMP
Type: Bug | Status: assigned
Component: Documentation | Version: master
Severity: Normal | Resolution:
Keywords: Jython, afraid-to- | Triage Stage: Accepted
commit | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by EvilDMP):

* keywords: Jython => Jython, afraid-to-commit


Comment:

I would like to reserve this ticket for first-time committers who take
part in the [http://www.djangocon.us/schedule/presentation/7/ Don't be
afraid to commit tutorial] and the sprints at [http://djangocon.us/
DjangoCon US 2013] in September.

However, if you want to tackle this ticket before then, please
'''don't'''
hesitate. Feel free to re-assign it to yourself and do whatever you like
to it.

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

Django

unread,
Sep 20, 2013, 3:56:10 PM9/20/13
to django-...@googlegroups.com
#20517: Jython support is not as complete as indicated
-------------------------------------+-------------------------------------
Reporter: alex@… | Owner: EvilDMP
Type: Bug | Status: closed
Component: Documentation | Version: master
Severity: Normal | Resolution: fixed

Keywords: Jython, afraid-to- | Triage Stage: Accepted
commit | Needs documentation: 0
Has patch: 0 | Patch needs improvement: 0
Needs tests: 0 | UI/UX: 0
Easy pickings: 1 |
-------------------------------------+-------------------------------------
Changes (by timo):

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


Comment:

I added the information in this ticket to the wiki page:
https://code.djangoproject.com/wiki/DjangoAndJython

At this point I don't feel the page is complete enough to warrant a link
from the official documentation, so I'm going to close this ticket. If the
wiki page improves, we can reconsider.

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

Reply all
Reply to author
Forward
0 new messages