#21032 closed Uncategorized (fixed)
pip 1.4 and pytz break installation of test requirements
Reported by: | Kevin Christopher Henry | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Kevin Christopher Henry | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
pip
1.4 isn't installing pytz
properly because of how the latter formats its version numbers (see the bug report here). This is breaking the installation of the test requirements as suggested in the documentation. Specifically, none of the requirements are installed because pip
can't find a valid version of pytz
.
This could be solved for now by changing the requirements file to read pytz>=2013b
(or some other acceptable version), which explicitly authorizes pre-release versions (which is what pip
thinks pytz
's version numbers represent).
If ignored this bug will presumably fix itself when pytz
changes it's version numbers to conform to pip
's expectations.
Change History (3)
comment:1 by , 11 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 by , 11 years ago
Resolution: | wontfix |
---|---|
Status: | closed → new |
On the other hand, it's simple enough to change the requirements file so it actually works with the current version of pip.
comment:3 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
While this actually affects django in that the docs suggest to install pytz using pip, I don't think this is a bug that should be solved within django. You can just use a previous version of pip to workaround this while pytz fixes this issue.
I tried for instance with pip 1.1 and it worked.
If this still doesn't solve your problem please let me know and we can reopen this ticket.
Bests,
Juan