diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 74992440aef00193be6bda10cb23412e3f16b7f9..bede6321eb863314ecd1aee1b854f41451b4aa7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,7 +29,7 @@ stages: - echo "Install Python3" - apt-get update - - apt-get install -y python3 python3-venv python3-rich + - apt-get install -y python3 python3-venv - python3 -m venv --help - python3 -m venv venv - source venv/bin/activate @@ -39,13 +39,10 @@ stages: - echo "Install Python dependencies for running the tests" - pip install -U pip - pip --version - - pip install pytest black ruff archspec - + - pip install .[dev] - echo "Diagnostics - which versions are we using" - python3 --version - pytest --version - - black --version - - ruff --version - echo "Install additional packages we need to run spack-setup.sh" - apt-get install -y git rsync diff --git a/pyproject.toml b/pyproject.toml index 951bf9263ac72b3ea70c86a06055686cb92e153b..6b695082e85486db22d22588180bb34088e2dc18 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,12 +21,10 @@ Home = "https://gitlab.gwdg.de/mpsd-cs/mpsd-software-manager/" [project.optional-dependencies] dev = [ - "black", "pre-commit", "pytest", "pytest-mock", "pytest-cov", - "ruff", ] [tool.pytest.ini_options]