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

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

Closed
snordhausen opened this Issue Oct 30, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@snordhausen

snordhausen commented Oct 30, 2015

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

This comment has been minimized.

Show comment
Hide comment
@mriehl

mriehl Oct 30, 2015

Member

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

Thanks for reporting.

Member

mriehl commented Oct 30, 2015

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

Thanks for reporting.

@arcivanov

This comment has been minimized.

Show comment
Hide comment
@arcivanov

arcivanov Oct 31, 2015

Contributor

I'll fix this

Contributor

arcivanov commented Oct 31, 2015

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

@arcivanov arcivanov closed this in #233 Nov 4, 2015

@arcivanov arcivanov removed the in progress label Nov 4, 2015

@snordhausen

This comment has been minimized.

Show comment
Hide comment
@snordhausen

snordhausen Nov 5, 2015

Thanks a lot for the fix!

snordhausen commented Nov 5, 2015

Thanks a lot for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment