diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index fe3303e..778a62b 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,7 +40,7 @@ jobs: - name: install run: | pip install --upgrade pip wheel - pip install -e ".[tests]" + pip install -e ".[dev]" pip install "dvc[testing] @ git+https://github.com/iterative/dvc" - name: lint diff --git a/pyproject.toml b/pyproject.toml index 56c5387..41b7f86 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -32,33 +32,18 @@ dependencies = [ ] [project.optional-dependencies] +dev = [ + "dvc-ssh[tests]", + "mypy==1.8.0", +] gssapi = ["sshfs[gssapi]>=2021.11.2"] tests = [ - "wheel==0.37.0", "dvc[testing]", - # Test requirements - "pytest==6.2.5", - "pytest-cov==3.0.0", - "pytest-xdist==2.4.0", - "pytest-mock==3.6.1", - "pytest-lazy-fixture==0.6.3", + "pytest>=7,<9", + "pytest-cov>=4.1.0", + "pytest-xdist>=3.2", + "pytest-mock", "pytest-docker>=1,<2", - "flaky==3.7.0", - "mock==4.0.3", - "wget==3.2", - "filelock==3.3.2", - "xmltodict==0.12.0", - # required by collective.checkdocs - "Pygments==2.10.0", - "collective.checkdocs==0.2", - "pydocstyle==6.1.1", - # type-checking - "mypy==0.981", - "types-requests==2.25.11", - "types-tabulate==0.8.3", - "types-toml==0.10.1", - # optional dependencies - 'pywin32>=225; sys_platform == "win32"', ] [project.urls]