#30175: Broken django 1.11.19 release for python2.7
-------------------------------------------+------------------------
               Reporter:  rm_              |          Owner:  nobody
                   Type:  Uncategorized    |         Status:  new
              Component:  Uncategorized    |        Version:  1.11
               Severity:  Release blocker  |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 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__
     options['libraries'] = 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
 ```

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

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/046.c8413d7650597f52b2c305a99dbaf9cb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to