Skip to content

integrationtest plugin causes build failure with version 0.11.2, works in 0.11.1 #230

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

Closed
snordhausen opened this issue Oct 30, 2015 · 3 comments · Fixed by #233
Closed
Assignees

Comments

@snordhausen
Copy link

Hi!

I encountered an issue with pybuilder version 0.11.2. Running "pyb analyze" fails with

[INFO]  Executing flake8 on project sources.
[WARN]  flake8: src/integrationtest/python:1:1: E902 IOError: [Errno 2] No such file or directory: 'src/integrationtest/python'
------------------------------------------------------------
BUILD FAILED - flake8 found 1 warning(s)
------------------------------------------------------------

You can see this on Travis CI:
https://travis-ci.org/ImmobilienScout24/afp-core/builds/88392996
When I downgrade pybuilder to version 0.11.1, it works:
https://travis-ci.org/ImmobilienScout24/afp-core/builds/88395058

The reason is that my build.py includes the integrationtest plugin, but there is actually no /src/integrationtest/ directory. Version 0.11.1 did not have a problem with that. When I remove the plugin from my build.py, things work again, even with 0.11.2.

@mriehl
Copy link
Member

mriehl commented Oct 30, 2015

Yeah makes sense, flake8 now tries to lint the directory instead of globbing files.

Thanks for reporting.

@arcivanov
Copy link
Member

I'll fix this

arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 3, 2015
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 3, 2015
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 3, 2015
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 3, 2015
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 3, 2015
arcivanov added a commit to arcivanov/pybuilder that referenced this issue Nov 4, 2015
@snordhausen
Copy link
Author

Thanks a lot for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants