Files
dvc/tests/unit/dependency/test_hdfs.py
T
Saugat PachhaiandRuslan Kuprieiev fc6999ad17 Run CI for Python3.9 (#4647)
* Run CI for Python3.9, skips hdfs tests for 3.9

Also, `dvc[hdfs]` install will be a no-op till we have
a pyarrow wheel for 3.9.

Note that this does not add an entry to the classifier
claiming it supports 3.9, that will be added when 3.9
gets released (or, wait for pyarrow to be released).

* Skip HDFS related tests on Python3.9

Also, fix the python version regex for `3.9.0b5` like versions.

* Exclude python3.9 for Windows

libxml does not have wheels for Python39.
We do compile them on Linux and Mac

* Update tests/unit/test_info.py

* Use realpath for gitignore

Windows tests for Python3.8 was failing
intermittently.

Note: Also removed the realpath wrap around self.root_dir as it's already a
realpath when `Git` is instantiated.

Co-authored-by: Ruslan Kuprieiev <[email protected]>
2020-10-01 10:41:39 +03:00

12 lines
332 B
Python

import pytest
from dvc.dependency.hdfs import HDFSDependency
from tests import PY39, PYARROW_NOT_AVAILABLE
from tests.unit.dependency.test_local import TestLocalDependency
@pytest.mark.skipif(PY39, reason=PYARROW_NOT_AVAILABLE)
class TestHDFSDependency(TestLocalDependency):
def _get_cls(self):
return HDFSDependency