Opened 6 years ago
Last modified 6 years ago
#30175 closed Bug
Broken django 1.11.19 release for python2.7 — at Initial Version
Reported by: | rm_ | Owned by: | nobody |
---|---|---|---|
Component: | Core (Other) | Version: | 1.11 |
Severity: | Release blocker | Keywords: | |
Cc: | Patrick Cloke | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It looks like the distributed django 1.11.19 release does not match the code in 1.11.19 tag.
Got this while running my test suite:
`
File "/usr/local/lib/python2.7/site-packages/django/template/base.py", line 184, in init
engine = Engine.get_default()
File "/usr/local/lib/python2.7/site-packages/django/utils/lru_cache.py", line 124, in wrapper
result = user_function(*args, kwds)
File "/usr/local/lib/python2.7/site-packages/django/template/engine.py", line 76, in get_default
django_engines = [engine for engine in engines.all()
File "/usr/local/lib/python2.7/site-packages/django/template/utils.py", line 89, in all
return [self[alias] for alias in self]
File "/usr/local/lib/python2.7/site-packages/django/template/utils.py", line 80, in getitem
engine = engine_cls(params)
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py", line 30, in init
optionslibraries = self.get_templatetag_libraries(libraries)
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py", line 48, in get_templatetag_libraries
libraries = get_installed_libraries()
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py", line 113, in get_installed_libraries
for name in get_package_libraries(pkg):
File "/usr/local/lib/python2.7/site-packages/django/template/backends/django.py", line 130, in get_package_libraries
"trying to load '%s': %s" % (entry[1], e)
InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'django.contrib.admin.templatetags.base': cannot import name getfullargspec
`
But 1.11.19 tag on github does not have that file:
`
~/src/django/django/contrib/admin/templatetags$ ls -ltrh *py
-rw-r--r-- 1 rm rm 0 dic 7 2015 init.py
-rw-r--r-- 1 rm rm 2,1K feb 11 12:57 log.py
-rw-r--r-- 1 rm rm 1,8K feb 11 12:57 admin_urls.py
-rw-r--r-- 1 rm rm 304 feb 11 12:57 admin_static.py
-rw-r--r-- 1 rm rm 3,0K feb 11 12:57 admin_modify.py
-rw-r--r-- 1 rm rm 18K feb 11 12:57 admin_list.py
`
Downloading and unzipping:
https://files.pythonhosted.org/packages/61/28/1d3920e4d1d50b19bc5d24398a7cd85cc7b9a75a490570d5a30c57622d34/pytz-2018.9-py2.py3-none-any.whl
There's a django.contrib.admin.templatetags.base
that is not in git:
`
$ django/contrib/admin/templatetags$ ls -ltrh *py
-rw-r--r-- 1 rm rm 0 gen 1 2014 init.py
-rw-r--r-- 1 rm rm 1,3K feb 11 10:17 base.py
-rw-r--r-- 1 rm rm 304 feb 11 10:28 admin_static.py
-rw-r--r-- 1 rm rm 2,1K feb 11 10:30 log.py
-rw-r--r-- 1 rm rm 1,8K feb 11 10:30 admin_urls.py
-rw-r--r-- 1 rm rm 3,0K feb 11 10:30 admin_modify.py
-rw-r--r-- 1 rm rm 18K feb 11 10:30 admin_list.py
`