Opened 12 years ago
Closed 12 years ago
#19858 closed Bug (fixed)
.pyc files in Django-1.4.4.tar.gz, Django-1.3.6.tar.gz tarballs
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Uncategorized | Version: | 1.4 |
Severity: | Normal | Keywords: | packaging release |
Cc: | katzj@…, vsafronovich@…, reinout@…, daniel.izquierdo@…, mhl20, sssbox@…, arthello | Triage Stage: | Accepted |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
There are some .pyc files in the .tar.gz at:
https://www.djangoproject.com/m/releases/1.4/Django-1.4.4.tar.gz
Then untarr'd it. Then noticed .pyc files in it:
(richard) saturn ~/tmp/Django-1.4.4> find . -name "*.pyc" ./django/contrib/sessions/management/__init__.pyc ./django/conf/locale/en/__init__.pyc ./django/conf/locale/en/formats.pyc ./django/conf/locale/__init__.pyc
They were made with Python 2.7 (pretty sure) so if you use it with Python 2.6 you get bad magic number errors.
Change History (13)
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Keywords: | packaging added |
---|---|
Triage Stage: | Unreviewed → Accepted |
Type: | Uncategorized → Bug |
Confirming that I see this issue after installing Django 1.4.4 in a virtualenv on an Ubuntu 10.04LTS server (Python 2.6).
Deleting the .pyc files fixes the problem, but of course they should really be removed from the packaged release.
find . -name '*.pyc' -delete
comment:3 by , 12 years ago
Keywords: | release added |
---|
comment:4 by , 12 years ago
Summary: | .pyc files in Django-1.4.4.tar.gz tarball → .pyc files in Django-1.4.4.tar.gz, Django-1.3.6.gz tarballs |
---|
1.3 tarball has the same problematic .pyc files. 1.5rc2 does NOT have the pyc files.
comment:5 by , 12 years ago
Summary: | .pyc files in Django-1.4.4.tar.gz, Django-1.3.6.gz tarballs → .pyc files in Django-1.4.4.tar.gz, Django-1.3.6.tar.gz tarballs |
---|
comment:6 by , 12 years ago
Cc: | added |
---|
comment:7 by , 12 years ago
Cc: | added |
---|
comment:8 by , 12 years ago
Cc: | added |
---|
comment:9 by , 12 years ago
Cc: | added |
---|
comment:11 by , 12 years ago
Cc: | added |
---|
comment:12 by , 12 years ago
Cc: | added |
---|
comment:13 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with the release just now of 1.3.7 and 1.4.5 - https://www.djangoproject.com/weblog/2013/feb/20/updated-releases-issued/
Thanks all for the reports, and sorry for the hassle!
I see this also.