Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

Tests fail on python 3.8 #24

Closed
Trolldemorted opened this issue Mar 1, 2020 · 1 comment · Fixed by #26
Closed

Tests fail on python 3.8 #24

Trolldemorted opened this issue Mar 1, 2020 · 1 comment · Fixed by #26

Comments

@Trolldemorted
Copy link
Member

##[error]1 test(s) failed, 0 test(s) collected.
Skipping uploading of coverage data.

==================================== ERRORS ====================================
__________________ ERROR collecting tests/test_enochecker.py ___________________
tests/test_enochecker.py:12: in <module>
    class CheckerExampleImpl(BaseChecker):
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/enochecker/enochecker.py:198: in __init__
    cls.service = init_service(cls)  # type: Flask
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/enochecker/checkerservice.py:333: in init_service
    app = Flask(__name__)
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/flask/app.py:558: in __init__
    self.add_url_rule(
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/flask/app.py:66: in wrapper_func
    return f(self, *args, **kwargs)
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/flask/app.py:1216: in add_url_rule
    self.url_map.add(rule)
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/werkzeug/routing.py:1386: in add
    rule.bind(self)
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/werkzeug/routing.py:730: in bind
    self.compile()
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/werkzeug/routing.py:794: in compile
    self._build = self._compile_builder(False).__get__(self, None)
/opt/hostedtoolcache/Python/3.8.1/x64/lib/python3.8/site-packages/werkzeug/routing.py:945: in _compile_builder
    code = compile(module, "<werkzeug routing>", "exec")
E   TypeError: required field "type_ignores" missing from Module
@Trolldemorted
Copy link
Member Author

pallets/werkzeug#1551

ldruschk added a commit to ldruschk/enochecker that referenced this issue Apr 15, 2020
domenukk pushed a commit that referenced this issue Apr 16, 2020
* fix warnings/errors in python3.8, enable py3.8 in azure pipeline (closes #23, closes #24)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant