-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Create a test to certify a clean install #11
Comments
Could probably be automated with travis or something as well |
@huguesdevimeux While this can be done with what we currently have, I don't think this has been implemented. To clarify, I meant a "test to certify a clean install" that a user could run after installation, and it would be part of the installation instructions. So the installation instructions would have this as the last instruction: "Finally, run So I guess all that's missing in order to get that is documentation. |
@leotrs Oh ok I see, this is a good idea. |
I have to agree with @leotrs that this isn't finished yet, and it would ideally be something done through pytest. It'd be much better to have a command which gives clear error messages and covers as many potential pitfalls as it can than to run SquareToCircle. As an example, the latter wouldn't test latex. |
Will a batch/shell script do? Or it should be done with purest? |
@naveen521kk all tests should be done via pytest, as much as possible. |
Hmm are you sure about that ? I mean, this test is meant to be run by a standard user, not a contributor. What do you think ? |
So in the PR I just requested (#324), there are instructions embedded in the installation instructions to certify the installation is clean. For example, after installing latex, it instructs the reader to try it out by executing |
Why can't we ask them to use pytest, like you suggested? Heck, we could have a script in |
I mean, we can 🤷♂️ |
I think this issue went off the rails a little bit. The original idea is to provide a way for end users to test whether or not their installation is clean. They usually don't have pytest installed. I think having a script that ships with the library, or even a subcommand OTOH, the documentation already includes instructions on how to certify the installation of each dependency. I think it's safe to close this issue for now. @Aathish04 ? |
I think the current documentation does a good job at guiding the user through the whole installation process. I think this issue has ran its course. |
…tion-sys TEST: Expected warning messages for deprecated parameters
Originally posted by @eulertour in #9 (comment)
Having done this, the correct way to install manim would be
pip install manim
, and thenpytest test_install.py
. (Or the equivalent in the testing library that we end up using.)This would flag issues about system dependencies such as latex, ffmpeg, etc.
The text was updated successfully, but these errors were encountered: