From 577a639c1e1a67ba2e8c59ab585e46113de42dcc Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 9 Aug 2021 15:27:46 +0200 Subject: [PATCH 1/6] Force install jupyter_client master --- .github/workflows/downstream.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 2663c9cde..f50431054 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -22,14 +22,15 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install . pip install pyqt5 pytest \ ipykernel[test] \ qtconsole[test] \ nbclient[test] \ nbconvert[test] \ jupyter_server[test] + pip install . --force-reinstall pip freeze + python -c 'import jupyter_client; print("jupyter_client", jupyter_client.__version__)' - name: Test ipykernel if: ${{ always() }} From e4245dca51f16017d20c85a81a0fa23936c35ac4 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Fri, 13 Aug 2021 11:25:26 +0200 Subject: [PATCH 2/6] Install ipykernel and nbclient master --- .github/workflows/downstream.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index f50431054..524e5f1e2 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -23,9 +23,9 @@ jobs: run: | pip install --upgrade pip pip install pyqt5 pytest \ - ipykernel[test] \ + "ipykernel[test] @ git+git://github.com/ipython/ipykernel.git@master" \ qtconsole[test] \ - nbclient[test] \ + "nbclient[test] @ git+git://github.com/jupyter/nbclient.git@master" \ nbconvert[test] \ jupyter_server[test] pip install . --force-reinstall From e0ab2a67fd903b2b4c8dcd71cd88d86c4e77a154 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Fri, 13 Aug 2021 15:35:43 +0200 Subject: [PATCH 3/6] Install downstream packages' pre-releases --- .github/workflows/downstream.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 524e5f1e2..54b3160eb 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -22,12 +22,12 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install pyqt5 pytest \ - "ipykernel[test] @ git+git://github.com/ipython/ipykernel.git@master" \ - qtconsole[test] \ - "nbclient[test] @ git+git://github.com/jupyter/nbclient.git@master" \ - nbconvert[test] \ - jupyter_server[test] + pip install pyqt5 pytest + pip install ipykernel[test] --pre + pip install qtconsole[test] --pre + pip install nbclient[test] --pre + pip install nbconvert[test] --pre + pip install jupyter_server[test] --pre pip install . --force-reinstall pip freeze python -c 'import jupyter_client; print("jupyter_client", jupyter_client.__version__)' From 3a3561577a9728752df72251a0ebd124e4f79f3a Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 16 Aug 2021 15:29:46 +0200 Subject: [PATCH 4/6] Install master versions instead of pre-releases --- .github/workflows/downstream.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 54b3160eb..f30963181 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -22,12 +22,12 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install pyqt5 pytest - pip install ipykernel[test] --pre - pip install qtconsole[test] --pre - pip install nbclient[test] --pre - pip install nbconvert[test] --pre - pip install jupyter_server[test] --pre + pip install pyqt5 pytest \ + "ipykernel[test] @ git+git://github.com/ipython/ipykernel.git@master" \ + "qtconsole[test] @ git+git://github.com/jupyter/qtconsole.git@master" \ + "nbclient[test] @ git+git://github.com/jupyter/nbclient.git@master" \ + "nbconvert[test] @ git+git://github.com/jupyter/nbconvert.git@main" \ + "jupyter_server[test] @ git+git://github.com/jupyter-server/jupyter_server.git@master" pip install . --force-reinstall pip freeze python -c 'import jupyter_client; print("jupyter_client", jupyter_client.__version__)' From a34d28e327c59777b0c8d8a1553b2cf579c10c0d Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 16 Aug 2021 17:07:22 +0200 Subject: [PATCH 5/6] Install pre-releases again --- .github/workflows/downstream.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index f30963181..1e1e4c854 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -22,12 +22,12 @@ jobs: - name: Install dependencies run: | pip install --upgrade pip - pip install pyqt5 pytest \ - "ipykernel[test] @ git+git://github.com/ipython/ipykernel.git@master" \ - "qtconsole[test] @ git+git://github.com/jupyter/qtconsole.git@master" \ - "nbclient[test] @ git+git://github.com/jupyter/nbclient.git@master" \ - "nbconvert[test] @ git+git://github.com/jupyter/nbconvert.git@main" \ - "jupyter_server[test] @ git+git://github.com/jupyter-server/jupyter_server.git@master" + pip install pyqt5 pytest + pip install --pre -U --upgrade-strategy=only-if-needed ipykernel[test] + pip install --pre -U --upgrade-strategy=only-if-needed qtconsole[test] + pip install --pre -U --upgrade-strategy=only-if-needed nbclient[test] + pip install --pre -U --upgrade-strategy=only-if-needed nbconvert[test] + pip install --pre -U --upgrade-strategy=only-if-needed jupyter_server[test] pip install . --force-reinstall pip freeze python -c 'import jupyter_client; print("jupyter_client", jupyter_client.__version__)' From ff4e1711b81b7f6a6f865b537555d46aa67b8845 Mon Sep 17 00:00:00 2001 From: David Brochart Date: Mon, 16 Aug 2021 17:17:48 +0200 Subject: [PATCH 6/6] Upgrade only package, not tests --- .github/workflows/downstream.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/downstream.yml b/.github/workflows/downstream.yml index 1e1e4c854..0c55f9ac9 100644 --- a/.github/workflows/downstream.yml +++ b/.github/workflows/downstream.yml @@ -23,11 +23,16 @@ jobs: run: | pip install --upgrade pip pip install pyqt5 pytest - pip install --pre -U --upgrade-strategy=only-if-needed ipykernel[test] - pip install --pre -U --upgrade-strategy=only-if-needed qtconsole[test] - pip install --pre -U --upgrade-strategy=only-if-needed nbclient[test] - pip install --pre -U --upgrade-strategy=only-if-needed nbconvert[test] - pip install --pre -U --upgrade-strategy=only-if-needed jupyter_server[test] + pip install ipykernel[test] + pip install --pre -U --upgrade-strategy=only-if-needed ipykernel + pip install qtconsole[test] + pip install --pre -U --upgrade-strategy=only-if-needed qtconsole + pip install nbclient[test] + pip install --pre -U --upgrade-strategy=only-if-needed nbclient + pip install nbconvert[test] + pip install --pre -U --upgrade-strategy=only-if-needed nbconvert + pip install jupyter_server[test] + pip install --pre -U --upgrade-strategy=only-if-needed jupyter_server pip install . --force-reinstall pip freeze python -c 'import jupyter_client; print("jupyter_client", jupyter_client.__version__)'