From 2485911aea12866e3a5e1d8100ffdcbde783e526 Mon Sep 17 00:00:00 2001 From: Roy Stegeman Date: Sun, 20 Oct 2024 18:08:56 +0100 Subject: [PATCH] add nnpdf dependency to 'test' group --- .github/workflows/bench.yml | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bench.yml b/.github/workflows/bench.yml index 8b3fdcea..3f2416ba 100644 --- a/.github/workflows/bench.yml +++ b/.github/workflows/bench.yml @@ -24,11 +24,11 @@ jobs: virtualenvs-create: false installer-parallel: true - name: Install dependencies - run: poetry install --no-interaction --no-root --with test -E nnpdf + run: poetry install --no-interaction --no-root --with test - name: Install project # it is required to repeat extras, otherwise they will be removed from # the environment - run: poetry install --no-interaction -E nnpdf + run: poetry install --no-interaction - name: Install task runner run: pip install poethepoet - name: Lint with pylint diff --git a/pyproject.toml b/pyproject.toml index be7ca9b2..dd66ecdc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ pandas = "^2.1" rich = "^12.5.1" click = "^8.0.4" tomli = "^2.0.1" -nnpdf = { git = "https://github.com/NNPDF/nnpdf", optional = true} lhapdf-management = { version = "^0.5", optional = true } [tool.poetry.group.docs] @@ -51,6 +50,7 @@ setuptools = "^69.0" optional = true [tool.poetry.group.test.dependencies] +nnpdf = { git = "https://github.com/NNPDF/nnpdf" } # needed for test_utils pytest = "^7.1.3" pytest-cov = "^4.0.0" pytest-env = "^0.6.2"