-
-
Notifications
You must be signed in to change notification settings - Fork 750
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
Remove Python 2.7 from tests and builds #5090
Conversation
dfcd5a0
to
719dd94
Compare
4518150
to
1a92711
Compare
1a92711
to
b0f62f6
Compare
@@ -450,7 +441,7 @@ compilepy3: | |||
.st2common-circular-dependencies-check: | |||
@echo "Checking st2common for circular dependencies" | |||
find ${ROOT_DIR}/st2common/st2common/ -name \*.py -type f -print0 | xargs -0 cat | grep st2reactor ; test $$? -eq 1 | |||
find ${ROOT_DIR}/st2common/st2common/ \( -name \*.py ! -name runnersregistrar\.py -name \*.py ! -name compat\.py | -name inquiry\.py \) -type f -print0 | xargs -0 cat | grep st2actions ; test $$? -eq 1 | |||
find ${ROOT_DIR}/st2common/st2common/ \( -name \*.py ! -name runnersregistrar\.py -name \*.py ! -name compat\.py ! -name inquiry\.py \) -type f -print0 | xargs -0 cat | grep st2actions ; test $$? -eq 1 |
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.
@m4dcoder Is this change acceptable to you? I think this is what you were trying to do with this commit, but I want to double check with you.
Without this fix we get two errors: find: missing )
and Command not found '-name'
, which I think is caused by the |
character terminating the find
command prematurely.
I also noticed that -name \*.py
is in the find
parameters twice, but I don't think that would cause any issues.
ab703c7
to
d11bc0e
Compare
d11bc0e
to
cf63d93
Compare
Co-authored-by: Eugen Cusmaunsa <stackstorm@armab.io>
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.
LGTM 👍
.travis.yml
andMakefile
.travis.yml
to generate the build matrix implicitly (eg:env.jobs
andjobs
)