| Summary: |
python3-django_1.11.14 not compatible with python3.7 |
| Product: |
[Build System, Metadata & Runtime] OE-Core
|
Reporter: |
Johannes Schrimpf <johannes.schrimpf> |
| Component: |
devtools / tool chain | Assignee: |
Armin Kuster <akuster> |
| Status: |
RESOLVED
INVALID
|
QA Contact: |
|
| Severity: |
normal
|
|
|
| Priority: |
Undecided
|
CC: |
akuster, meta.mr.watcher, meta.watcher, tim.orling
|
| Version: |
2.7 | |
|
| Target Milestone: |
--- | |
|
| Hardware: |
x86 | |
|
| OS: |
Multiple | |
|
| Whiteboard: |
|
|
OS type for building Yocto:
|
---
|
Type of Regression:
|
---
|
|
Verified:
|
|
Documentation change:
|
No (bug/feature does not impact docs)
|
python3-django_1.11.14 fails with python3.7: --- File "/usr/lib/python3.7/site-packages/django/contrib/admin/widgets.py", line 152 '%s=%s' % (k, v) for k, v in params.items(), ^ SyntaxError: Generator expression must be parenthesized --- How to reproduce: --- python3 >>> from django.contrib.admin import widgets --- This seems to be fixed in this commit: https://github.com/django/django/commit/568c2f45ef531257a600c0e6ff8fe02525d7ab4e I suggest updating python3-django (and python-django) to the newest version 1.11.20 to fix this bug. For the long term I suggest additionally providing recipes for django2.x (only as addition because 2.x is incompatible with python2) See https://www.djangoproject.com/download/