Skip to content
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

Regenerate with latest cookiecutter without buildout #1

Closed
cehbrecht opened this issue Nov 14, 2018 · 2 comments
Closed

Regenerate with latest cookiecutter without buildout #1

cehbrecht opened this issue Nov 14, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@cehbrecht
Copy link
Member

finch was initially created when we still had the buildout template. We should update to the latest version without buildout.

@cehbrecht cehbrecht added the enhancement New feature or request label Nov 14, 2018
@cehbrecht cehbrecht added this to To do in Washington: December 2018 Release via automation Nov 14, 2018
@huard huard self-assigned this Nov 14, 2018
@huard
Copy link
Collaborator

huard commented Nov 14, 2018

I'm having issues with the test suite.

ImportError while importing test module '/home/david/src/finch/tests/test_wps_hello.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_wps_hello.py:6: in <module>
    from .common import get_output
E   ImportError: attempted relative import with no known parent package

If I add an __init__ it works, but then I get

ImportError while importing test module '/home/david/src/finch/tests/test_wps_hello.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_wps_hello.py:6: in <module>
    from .common import get_output
tests/common.py:1: in <module>
    from pywps import get_ElementMakerForVersion
E   ImportError: cannot import name 'get_ElementMakerForVersion'

@cehbrecht
Copy link
Member Author

... well, I got the same ... forgot to activate the conda env ;)

$ conda activate finch
$ pytest

@huard huard closed this as completed Nov 14, 2018
Washington: December 2018 Release automation moved this from To do to Done Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

2 participants