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 , 7 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 7 years ago
Type: | Uncategorized → Cleanup/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 , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
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.
PR