Opened 9 years ago

Closed 9 years ago

#25119 closed Bug (fixed)

Disable wheel support for Django 1.4

Reported by: David Hobbs Owned by: nobody
Component: Packaging Version: 1.4
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by David Hobbs)

I upgraded from 1.4.20 with "pip install 'Django==1.4.21'", and the install created a "django" directory in the root of the virtualenv and put all the templates and locale files under it, thus breaking the admin.

Running "pip install 'Django==1.4.21' --no-use-wheel" worked for me.

Change History (5)

comment:1 by David Hobbs, 9 years ago

Description: modified (diff)

comment:2 by Tim Graham, 9 years ago

Not sure what the issue could be as we don't upload a wheel for 1.4. What version of pip are you using?

comment:3 by Tim Graham, 9 years ago

Component: UncategorizedPackaging
Summary: "pip install Django==1.4.21" installs templates outside site-packagesDisable wheel support for Django 1.4
Triage Stage: UnreviewedAccepted

Pip 7+ tries to build a wheel file by default so it seems we need to disable that by ensuring bdist_wheel returns a non-zero exit code instead of silently building a broken wheel file.

comment:4 by Tim Graham, 9 years ago

Has patch: set

comment:5 by Tim Graham <timograham@…>, 9 years ago

Resolution: fixed
Status: newclosed

In 3b324970:

[1.4.x] Fixed #25119 -- Disabled wheel support.

Note: See TracTickets for help on using tickets.
Back to Top