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
pythonPackages.pytestflakes: fix build #46500
Conversation
@GrahamcOfBorg build python27Packages.pytestflakes python36Packages.pytestflakes |
Success on x86_64-linux (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
# disable one test case that looks broken | ||
postPatch = '' | ||
substituteInPlace test_flakes.py --replace "test_syntax_error" "notest_syntax_error" | ||
''; | ||
|
||
checkPhase = '' | ||
py.test test_flakes.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
py.test tests -k 'not test_syntax_error'
is preferred here over substituteInPlace
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks, done.
- disable a failing test case that looks broken - remove pytestcache depencency that was dropped upstream
585c0c8
to
d455ad6
Compare
@GrahamcOfBorg build python27Packages.pytestflakes python36Packages.pytestflakes |
Success on x86_64-darwin (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
Success on aarch64-linux (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python27Packages.pytestflakes, python36Packages.pytestflakes Partial log (click to expand)
|
- disable a failing test case that looks broken - remove pytestcache depencency that was dropped upstream (cherry picked from commit f201f8c)
backported: dd13aed |
Motivation for this change
ZHF #45960
Things done