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
Move testfixtures requirement to test-requirements.txt #5335
Comments
I was wondering about this. But the problem is
|
@shreyans800755 might have some ideas on how we might be able to fix this. |
Ahhh... sorry I missed that one. However this is fixable by moving the test to an actual test file. This is not very elegant, but the easiest. |
cripes; |
Ugh okay that's uncool... Maybe we create a coala-testing repo or coala-testing-utils? |
a new repo sounds good, but the fundamental problem is that coalib has test helpers in it, so all that needs to be moved out also. |
@jayvdb how about we add the source code of logcapture itself to the coala_utils repo https://github.com/Simplistix/testfixtures/blob/master/testfixtures/logcapture.py ? That would remove the dependency on testfixtures in the production build. Not a very elegant solution but the easiest one. |
No. Then we have to maintain it, and we still have to worry about its deps. |
Note that this is occurred before the 0.12 branch. And happened only in the coala_utils 0.7.0, which is not installed by the currently released 0.11.0. |
The use of tests/output/ConsoleInteractionTest.py:from coala_utils.decorators import check_logs
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*deprecation_messages)
tests/output/ConsoleInteractionTest.py: @check_logs(*(deprecation_messages*5)) |
coala_utils dependency added in https://gitlab.com/coala/coala-utils/merge_requests/52 There does not appear to have been an issue for it. |
d56cc7e shows that this also caused our dependency on |
I have one approach to solve part of the problem. There is an unrelated error in the build, due to using my own fork of that package. That only removes on of the explicit dependencies. |
``coala_utils`` decorator ``check_logs`` relies on ``textfixtures``, a dependency it shoul not have. Inlining the decorator will allow it to be removed. Related to coala#5335
``coala_utils`` decorator ``check_logs`` relies on ``textfixtures``, a dependency it shoul not have. Inlining the decorator will allow it to be removed. Related to coala#5335
``coala_utils`` decorator ``check_logs`` relies on ``textfixtures``, a dependency it shoul not have. Inlining the decorator will allow it to be removed. Related to coala#5335
``coala_utils`` decorator ``check_logs`` relies on ``textfixtures``, a dependency it shoul not have. Inlining the decorator will allow it to be removed. Related to coala#5335
Easiest path forward:
|
``coala_utils`` decorator ``check_logs`` relies on ``textfixtures``, a dependency it shoul not have. Inlining the decorator will allow it to be removed. Related to coala#5335
testfixtures is move to test-requirement.txt so that coala does not depend on testing libraries. Fixes coala#5335
testfixtures is moved to test-requirement.txt so that coala does not depend on specific versions of testing libraries which may conflict with versions coala users need installed for their own project. Fixes coala#5335
testfixtures is moved to test-requirement.txt so that coala does not depend on specific versions of testing libraries which may conflict with versions coala users need installed for their own project. Fixes coala#5335
testfixtures is moved to test-requirement.txt so that coala does not depend on specific versions of testing libraries which may conflict with versions coala users need installed for their own project. Fixes coala#5335
No description provided.
The text was updated successfully, but these errors were encountered: