diff --git a/.github/workflows/ci-windows.yml b/.github/workflows/ci-windows.yml index 2aab9607f3..bd26b06053 100644 --- a/.github/workflows/ci-windows.yml +++ b/.github/workflows/ci-windows.yml @@ -30,7 +30,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip install --upgrade '.[test]' + python -m pip install --upgrade '.[all,test]' - name: List installed Python packages run: python -m pip list diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81324f2884..1f61c5fb95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip install --upgrade .[test] + python -m pip install --upgrade ".[all,test]" - name: List installed Python packages run: python -m pip list diff --git a/.github/workflows/dependencies-head.yml b/.github/workflows/dependencies-head.yml index ab2e8e8de2..a213e2052c 100644 --- a/.github/workflows/dependencies-head.yml +++ b/.github/workflows/dependencies-head.yml @@ -30,7 +30,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade --pre .[test] + python -m pip --no-cache-dir --quiet install --upgrade --pre ".[all,test]" python -m pip list - name: List release candidates, alpha, and beta releases @@ -62,7 +62,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade .[test] + python -m pip --no-cache-dir --quiet install --upgrade ".[all,test]" python -m pip uninstall --yes scipy python -m pip install --upgrade --index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple scipy python -m pip list @@ -88,7 +88,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade .[test] + python -m pip --no-cache-dir --quiet install --upgrade ".[all,test]" python -m pip uninstall --yes iminuit python -m pip install --upgrade cython python -m pip install --upgrade git+https://github.com/scikit-hep/iminuit.git @@ -114,7 +114,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade .[test] + python -m pip --no-cache-dir --quiet install --upgrade ".[all,test]" python -m pip uninstall --yes uproot python -m pip install --upgrade git+https://github.com/scikit-hep/uproot5.git python -m pip list @@ -141,7 +141,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade .[test] + python -m pip --no-cache-dir --quiet install --upgrade ".[all,test]" python -m pip uninstall --yes matplotlib # Need to use --extra-index-url as dependencies aren't on scientific-python-nightly-wheels package index. # Need to use --pre as dev releases will need priority over stable releases. @@ -176,7 +176,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir --quiet install --upgrade .[test] + python -m pip --no-cache-dir --quiet install --upgrade ".[all,test]" python -m pip uninstall --yes pytest python -m pip install --upgrade git+https://github.com/pytest-dev/pytest.git python -m pip list diff --git a/.github/workflows/lower-bound-requirements.yml b/.github/workflows/lower-bound-requirements.yml index 27e9a9cf4c..69f0937e8f 100644 --- a/.github/workflows/lower-bound-requirements.yml +++ b/.github/workflows/lower-bound-requirements.yml @@ -27,7 +27,7 @@ jobs: - name: Install dependencies and force lowest bound run: | python -m pip install --upgrade pip setuptools wheel - python -m pip --no-cache-dir install --constraint tests/constraints.txt .[test] + python -m pip --no-cache-dir install --constraint tests/constraints.txt ".[all,test]" - name: List installed Python packages run: python -m pip list diff --git a/.github/workflows/notebooks.yml b/.github/workflows/notebooks.yml index 47c6acaff0..bc4c817efe 100644 --- a/.github/workflows/notebooks.yml +++ b/.github/workflows/notebooks.yml @@ -30,7 +30,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel # FIXME: c.f. https://github.com/scikit-hep/pyhf/issues/2104 - python -m pip install --upgrade .[test] 'jupyter-client<8.0.0' + python -m pip install --upgrade ".[all,test]" 'jupyter-client<8.0.0' - name: List installed Python packages run: python -m pip list diff --git a/noxfile.py b/noxfile.py index ba75fae440..8104dbd28b 100644 --- a/noxfile.py +++ b/noxfile.py @@ -35,7 +35,7 @@ def tests(session): $ nox --session tests --python 3.11 -- tests/test_tensor.py # run specific tests $ nox --session tests --python 3.11 -- coverage # run with coverage but slower """ - session.install("--upgrade", "--editable", ".[test]") + session.install("--upgrade", "--editable", ".[all,test]") session.install("--upgrade", "pytest") # Allow tests to be run with coverage @@ -107,7 +107,7 @@ def regenerate(session): """ Regenerate Matplotlib images. """ - session.install("--upgrade", "--editable", ".[test]") + session.install("--upgrade", "--editable", ".[all,test]") session.install("--upgrade", "pytest", "matplotlib") if not sys.platform.startswith("linux"): session.error( @@ -182,7 +182,7 @@ def notebooks(session: nox.Session): """ Run the notebook tests. """ - session.install("--upgrade", "--editable", ".[test]") + session.install("--upgrade", "--editable", ".[all,test]") session.run( "pytest", "--override-ini",