From c9f6bbf0cbf8327800582fbbb0a9f8225e91d4b2 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Fri, 10 Feb 2023 17:17:18 -0600 Subject: [PATCH 1/2] docs: Use 'develop' extra over removed 'complete' * The 'complete' extra was removed when moving to hatchling in PR 2095, but the 'develop' extra added most of that functionality. --- CONTRIBUTING.md | 2 +- binder/postBuild | 2 +- docs/development.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 69216c270c..9bd4f2dca9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -55,7 +55,7 @@ We recommend first reading the "[Developing](https://scikit-hep.org/pyhf/develop You can install the development environment (which includes a number of extra) libraries and all others needed to run the tests via `pip`: ```console -python -m pip install --upgrade --editable .[complete] +python -m pip install --upgrade --editable '.[develop]' ``` To make the PR process much smoother we also strongly recommend that you setup the Git pre-commit hook for [Black](https://github.com/psf/black) by running diff --git a/binder/postBuild b/binder/postBuild index 50f54b1874..fcf217996c 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -1,2 +1,2 @@ -python -m pip install --upgrade .[complete] +python -m pip install --upgrade '.[backends]' python -m pip install altair diff --git a/docs/development.rst b/docs/development.rst index fc880b183b..0936538d6e 100644 --- a/docs/development.rst +++ b/docs/development.rst @@ -20,7 +20,7 @@ and install all necessary packages for development .. code-block:: console - python -m pip install --upgrade --editable '.[complete]' + python -m pip install --upgrade --editable '.[develop]' Then setup the Git `pre-commit `__ hooks by running From 1842cab001d0800b86d648c55ea281259ae7b429 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Fri, 10 Feb 2023 17:27:23 -0600 Subject: [PATCH 2/2] use all over backends for binder postBuild --- binder/postBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/binder/postBuild b/binder/postBuild index fcf217996c..c7af738a91 100644 --- a/binder/postBuild +++ b/binder/postBuild @@ -1,2 +1,2 @@ -python -m pip install --upgrade '.[backends]' +python -m pip install --upgrade '.[all]' python -m pip install altair