jenkins-bot has submitted this change and it was merged.
Change subject: Replace ffind with findx
......................................................................
Replace ffind with findx
ffind (introduced in 7c6c3fd4c8) is failing on Jenkins since June 2016,
for an unidentified reason.
As this is preventing all development, a workaround is needed.
findx provides similar functionality, except that it depends on
Unix-style binaries find and xargs, which is a regression, and
doesnt work on Python 2.6. However these problems are not
relevant to the Jenkins environment which is Unix and doesnt
support Python 2.6.
Bug: T137628
Change-Id: Iedfc0bf3a1a99d904aa3464a30eb6b2f594ed28d
---
M tox.ini
1 file changed, 4 insertions(+), 4 deletions(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/tox.ini b/tox.ini
index 319e354..a7e3021 100644
--- a/tox.ini
+++ b/tox.ini
@@ -33,18 +33,18 @@
ffind>=1.0.2
[testenv:pyflakes-py3]
-commands = ffind --ignore-vcs . '(?<!user-config).py$' --module=pyflakes
+commands = findx . -name '*.py' -a '!' -path '*/.*' -a
'!' -name 'user-config.py' : pyflakes
basepython = python3
deps =
+
git+https://github.com/jayvdb/findx@exit_code
pyflakes
- ffind>=1.0.2
[testenv:pyflakes-pypy]
-commands = ffind --ignore-vcs . '(?<!user-config).py$' --module=pyflakes
+commands = findx . -name '*.py' -a '!' -path '*/.*' -a
'!' -name 'user-config.py' : pyflakes
basepython = pypy
deps =
+
git+https://github.com/jayvdb/findx@exit_code
pyflakes
- ffind>=1.0.2
[testenv:flake8]
commands =
--
To view, visit
https://gerrit.wikimedia.org/r/294907
To unsubscribe, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Iedfc0bf3a1a99d904aa3464a30eb6b2f594ed28d
Gerrit-PatchSet: 22
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Owner: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: John Vandenberg <jayvdb(a)gmail.com>
Gerrit-Reviewer: Legoktm <legoktm.wikipedia(a)gmail.com>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot <>