Closed
Description
Currently, all the test suites for Python 3.6 on Linux fail on the CI for some PRs. The error is not reported on the CI run (see this one for instance).
I have setup and build ArcticDB at 134b72a on my Linux machine using Python 3.6, and running the unit test suite using:
python -m pytest python/tests/unit
I get the following error:
Traceback (most recent call last):
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/runpy.py", line 183, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/runpy.py", line 142, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/runpy.py", line 109, in _get_module_details
__import__(pkg_name)
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/pytest/__init__.py", line 3, in <module>
from . import collect
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/pytest/collect.py", line 8, in <module>
from _pytest.deprecated import PYTEST_COLLECT_MODULE
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/_pytest/deprecated.py", line 13, in <module>
from _pytest.warning_types import PytestDeprecationWarning
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/_pytest/warning_types.py", line 6, in <module>
import attr
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/attr/__init__.py", line 10, in <module>
from . import converters, exceptions, filters, setters, validators
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/attr/converters.py", line 10, in <module>
from ._compat import _AnnotationExtractor
File "/home/jjerphan/.local/share/mambaforge/envs/arcticdb3.6/lib/python3.6/site-packages/attr/_compat.py", line 12, in <module>
from typing import _GenericAlias
ImportError: cannot import name '_GenericAlias'
typing._GenericAlias
has been introduced in Python 3.7.
Yet, it seems that some recent PR CI runs have not known this issue (for instance #328 had 3.6 Linux / unit ran successfully).
I am trying to understand what is going wrong here. Should part of the configuration be adapted?