-
-
Notifications
You must be signed in to change notification settings - Fork 158
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
Failing py.test again #1172
Comments
@salimfurth, Sorry you're having problems getting started on the new computer. It looks like you might not have all the Python packages that Tax-Calculator uses. Please review steps 9, 10, and (especially) 11 in this getting started document. After (re?)doing these steps, try the tests again as described in the first code block of 11. Let us know what happens. |
Further investigation of the py.test errors generated on @salimfurth's new Windows computer (as reported in issue #1172), shows that he has on that computer a version of the Tax-Calculator source code that is over a month out-of-date. Here is why that seems to be the case. The
But the This finding would suggest that part of @salimfurth's problem is that he needs to get the latest up-to-date version of the source code on his new Windows computer by taking the four steps (a through d) described in item 1 of the Workflow section of this getting started document. |
Thanks, @martinholmer - I'm learning something new about the mechanics here. Merging from upstream has knocked out 3 of the 4 errors. The remaining one is that it can't find the module "mock". I'm re-running Step 11 (which did yesterday as well) to see if that fixes it. |
@salimfurth said:
Good. Although painful for you, your experiences are helpful to me as I've been asked to review, and hopefully, streamline the getting-started process.
Excellent progress! Let me know what happens after Step 11 is redone. It may well be that we have a lingering package installation bug. If so, apologies in advance for you being our Windows tester. (Almost none of the developers are working on Windows.) |
Thanks, @martinholmer. Happy to blaze the trail to the wilds of Windows. No progress on mock. Where ought the mock module to be installed? Is it an Anaconda package or a module within Taxcalc? |
@salimfurth said:
Here is your work-around while we fix the bug that meant the mock package was not installed:
Then redo the tests and hopefully everything will be OK. Let us know if this work around eliminates all your test failures. Meanwhile, we'll fix the installation bug that produced your problem. |
@martinholmer, are you referring to the fact that mock is included in |
Thanks again @martinholmer. |
@salimfurth said:
Great! I've filed a bug report based on your experience. Thanks for the helpful feedback. |
@salimfurth, did anything happen when you did |
No, I never get any response when I run 'activate taxcalc-dev' - I didn't know I was supposed to. |
Got it. Thanks. |
I've installed GitHub, Anaconda, etc, on a brand new computer and - as occurred in December - I am not passing the test.py tests run at startup. Here's the text output. I can't check this on another computer at the moment because I'm working off-site this week.
The text was updated successfully, but these errors were encountered: