-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
You should clearly specify dependencies #516
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Original comment by Ondřej Čertík (BitBucket: certik, GitHub: certik): This came up here: hashdist/hashstack#270 |
Original comment by Ondřej Čertík (BitBucket: certik, GitHub: certik): Found it: you can get the |
Original comment by Jurko Gospodnetić (BitBucket: jurko, GitHub: jurko): There are more dependencies than that, depending on your exact environment. For example, you need However, the standard way to install Python packages is using For that matter, I do not think you can install pytest directly using Maybe I'm missing here, but I don't see how unless you managed to not have Best regards, |
Original comment by Ondřej Čertík (BitBucket: certik, GitHub: certik): I posted link above to Hashdist, we install all dependencies ourselves, explicitly. The actual script that is used for py.test is:
Essentially it's just the usual The point is that you should clearly mention what dependencies should be installed, or mention that the list of dependencies can be found in such and such place. The |
Original comment by Jurko Gospodnetić (BitBucket: jurko, GitHub: jurko): Don't know about you... but I'm used to Python packages coming with their meta-data such as a list of requirements defined by their setup.py script. Ok, pytest could specify its dependencies in its docs, but that is most likely more trouble than it is worth. One thing that pytest could do is specify its requirements using the Currently they are listed only as setuptool's I'll take a look at that and prepare a pull request (but I'm not touching the docs ;-)). Best regards, |
Original comment by Ondřej Čertík (BitBucket: certik, GitHub: certik): Thanks! The actual doc update is here: https://bitbucket.org/hpk42/pytest/commits/bc65c038840604f24dc0c82f1abfaee01f0b3f4a |
Originally reported by: Ondřej Čertík (BitBucket: certik, GitHub: certik)
If you just install the
pytest
package, it will fail to run with:So you should:
py
and where to getpy
.The text was updated successfully, but these errors were encountered: