Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#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 jcatalan, 11 years ago

Resolution: wontfix
Status: newclosed

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

comment:2 by Aymeric Augustin, 11 years ago

Resolution: wontfix
Status: closednew

On the other hand, it's simple enough to change the requirements files so it actually works with the current version of pip.

Version 0, edited 11 years ago by Aymeric Augustin (next)

comment:3 by Aymeric Augustin <aymeric.augustin@…>, 11 years ago

Resolution: fixed
Status: newclosed

In a9589dd280ba84db3131f32b423ef45c67a5a236:

Fixed #21032 -- pip 1.4 can't install pytz.

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