Skip to content

Commit

Permalink
Split the test dependencies into test/integration/functional
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Nov 9, 2023
1 parent 6a7015c commit 30bd073
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,34 @@ Documentation = "https://jupytext.readthedocs.io"

[project.optional-dependencies]
# Test related dependencies
# TODO: Split them into unit, integration and functional tests groups
test = [
"autopep8",
"black",
"isort",
"ruff",
"flake8",
"pytest",
"pytest-randomly",
"gitpython",
"jupyterlab",
"notebook",
"nbconvert",
# jupyter-fs==0.4.0 is async, which is not supported by Jupytext ATM
"jupyter-fs<0.4.0",
"ipykernel",
"pre-commit",
"pytest",
"pytest-randomly"
]
test-integration = [
"jupytext[test]",
"jupyter-server",
"nbconvert"
]
test-functional = [
"jupytext[test-integration]",
# jupytext --pipe and --check
"autopep8",
"black",
"isort",
"flake8",
# jupytext --execute
"ipykernel",
# Pre-commit tests
"gitpython",
"pre-commit",
# Interaction with other contents managers
# jupyter-fs==0.4.0 is async, which is not supported by Jupytext ATM
"jupyter-fs<0.4.0"
]
# Coverage requirements
test-cov = [
"jupytext[test]",
"jupytext[test-functional]",
"pytest-cov>=2.6.1",
]
dev = [
Expand Down

0 comments on commit 30bd073

Please sign in to comment.