Opened 7 years ago

Closed 7 years ago

#28470 closed Cleanup/optimization (wontfix)

Document additional system requirements for unit tests

Reported by: Jeff Poulton Owned by: Jeff Poulton
Component: Documentation Version: 1.11
Severity: Normal Keywords: writing-code unit-tests
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Running Ubuntu 16.04 and downloaded python3 from github and ran pip install -r requirements/py3.txt. This failed with Failed building wheel for pylibmc. To address needed to install system development packages. This step has been added to the writing-code/unit-tests document.

Change History (3)

comment:1 by Jeff Poulton, 7 years ago

Owner: changed from nobody to Jeff Poulton
Status: newassigned
Last edited 7 years ago by Tim Graham (previous) (diff)

comment:2 by Tim Graham, 7 years ago

Type: UncategorizedCleanup/optimization

This has come up before (e.g. ticket:27876#comment:3) and it's my opinion that it's not Django's job to document how to install dependencies of other third party packages. In my experience, doing a web search for the error message usually leads to the solution. If you wanted to propose adding links to the packages instructions for installing their dependencies, we could consider that.

comment:3 by Tim Graham, 7 years ago

Resolution: wontfix
Status: assignedclosed

I think the paragraph the follows your proposed addition is good enough advice:

Installing the requirements will likely require some operating system packages that your computer doesn't have installed. You can usually figure out which package to install by doing a Web search for the last line or so of the error message. Try adding your operating system to the search query if needed.

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