Opened 10 years ago
Closed 10 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 )
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 , 10 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 10 years ago
comment:3 by , 10 years ago
| Component: | Uncategorized → Packaging |
|---|---|
| Summary: | "pip install Django==1.4.21" installs templates outside site-packages → Disable wheel support for Django 1.4 |
| Triage Stage: | Unreviewed → Accepted |
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.
Note:
See TracTickets
for help on using tickets.
Not sure what the issue could be as we don't upload a wheel for 1.4. What version of pip are you using?