diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index 1bb29c70392..829ec16aa79 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -31,11 +31,11 @@ jobs: setup.py pyproject.toml dev-requirements.txt - - run: pip install -e . + - run: pip install -e ".[dev]" - - name: Install with dependencies - run: | - pip install -r dev-requirements.txt + # - name: Install with dependencies + # run: | + # pip install -r dev-requirements.txt - name: Test doctest run: | diff --git a/pyproject.toml b/pyproject.toml index 0359f64e633..f052c26fc8d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,6 +94,44 @@ ert = "ert.__main__:main" [project.urls] Repository = "https://github.com/equinor/ert" +[project.optional-dependencies] +dev = [ + "click", + "decorator", + "ecl_data_io", + "furo", + "flaky", + "grpcio-tools", + "hypothesis<=6.83.0; python_version=='3.8'", # ipython pinned to 8.12.2 for python 3.8 support + "hypothesis; python_version>='3.9'", + "jsonpath_ng", + "jupytext", + "oil_reservoir_synthesizer", + "pytest-asyncio", + "pytest-benchmark", + "pytest-cov", + "pytest-memray", + "pytest-mock", + "pytest-mpl", + "pytest-qt", + "pytest-raises", + "pytest-snapshot", + "pytest-timeout", + "pytest-xdist", + "pytest>6", + "requests", + "scikit-build", + "setuptools_scm", + "sortedcontainers", + "sphinx<7.2", + "sphinx-argparse", + "sphinx-autoapi", + "sphinx-copybutton", + "sphinxcontrib-plantuml", + "sphinxcontrib.datatemplates", + "testpath", +] + [tool.setuptools] platforms = ["all"]