-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Build failure on Python 3.9 #3457
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
Comments
Thanks for the report. 3.9 is not yet supported but pushed some fixes for the most obvious failures. |
Thank you! There are additional failures: =================================== FAILURES =================================== test_file = FunctionalTest:unhashable_dict_key
tests/test_functional.py:396: tests/test_functional.py:321: in _runTest self = <List.list l.7 at 0x7f233ce6d6d0>, name = 'value'
E AttributeError: 'ClassDef' object has no attribute 'value' /usr/lib/python3.9/site-packages/astroid/bases.py:110: AttributeError test_file = FunctionalTest:consider_using_get
tests/test_functional.py:396: self = <test_functional.LintModuleTest object at 0x7f2336264970>
E Failed: Wrong results for file "consider_using_get": tests/test_functional.py:336: Failed test_file = FunctionalTest:consider_using_enumerate
tests/test_functional.py:396: self = <test_functional.LintModuleTest object at 0x7f2337b5a5b0>
E Failed: Wrong results for file "consider_using_enumerate": tests/test_functional.py:336: Failed tests/test_func.py::test_functionality[func_excess_escapes.py] tests/test_func.py::test_functionality[func_excess_escapes.py] tests/test_func.py::test_functionality[func_excess_escapes.py] tests/test_func.py::test_functionality[func_excess_escapes.py] tests/test_func.py::test_functionality[func_excess_escapes.py] tests/test_functional.py::test_functional[future_unicode_literals] tests/test_functional.py::test_functional[anomalous_unicode_escape_py3] tests/test_functional.py::test_functional[anomalous_unicode_escape_py3] -- Docs: https://docs.pytest.org/en/latest/warnings.html |
@limburgher Thanks, have you tried with the latest |
Lots of: def expand_modules(files_or_modules, black_list, black_list_re):
E TypeError: modpath_from_file() got an unexpected keyword argument 'path' |
You also need to use |
Better! =================================== FAILURES =================================== self = <test_self.TestRunTC object at 0x7f2427ee2d00>
tests/test_self.py:616: /usr/lib64/python3.9/subprocess.py:419: in check_output input = None, capture_output = False, timeout = None, check = True
E subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pylint', '--version']' returned non-zero exit status 1. /usr/lib64/python3.9/subprocess.py:533: CalledProcessError |
2.4.4 on Fedora rawhide with Python 3.9.0a5:
https://bugzilla.redhat.com/show_bug.cgi?id=1817686
The text was updated successfully, but these errors were encountered: