Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jupyter/notebook
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @jupyter-notebook/application-extension@7.3.1
Choose a base ref
...
head repository: jupyter/notebook
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 7959ba0de553e9c541d2716d76108a8bc0bc2d6c
Choose a head ref
  • 7 commits
  • 25 files changed
  • 8 contributors

Commits on Dec 20, 2024

  1. Update chat links to Zulip. (#7539)

    * Update chat links to Zulip.
    
    * [pre-commit.ci] auto fixes from pre-commit.com hooks
    
    for more information, see https://pre-commit.ci
    
    * Fix icon path.
    
    * Move zulip icon/path.
    
    ---------
    
    Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
    ericsnekbytes and pre-commit-ci[bot] authored Dec 20, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    d9119b8 View commit details
  2. Workflow to update JupyterLab dependencies automatically (#7281)

    * workflow to upgrade JupyterLab dependencies
    
    * Update upgrade-lab-dependencies.py
    
    * Prettier code for Test Lint check
    
    * Prettier code for Test Lint checks
    
    * Prettier code for Test Lint check
    
    * added ts scripts to upgrade lab dependencies
    
    * Prettier code for test lint check
    
    * Update buildutils/src/upgrade-lab-dependencies.ts
    
    Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
    
    * Lint
    
    ---------
    
    Co-authored-by: Michał Krassowski <5832902+krassowski@users.noreply.github.com>
    Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
    3 people authored Dec 20, 2024
    Copy the full SHA
    c0ddf01 View commit details
  3. Bump systeminformation from 5.21.8 to 5.23.14 in /ui-tests (#7546)

    Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.21.8 to 5.23.14.
    - [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
    - [Commits](sebhildebrandt/systeminformation@v5.21.8...v5.23.14)
    
    ---
    updated-dependencies:
    - dependency-name: systeminformation
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 20, 2024
    Copy the full SHA
    2bfae71 View commit details
  4. Bump nanoid from 3.3.7 to 3.3.8 in /ui-tests (#7547)

    Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
    - [Release notes](https://github.com/ai/nanoid/releases)
    - [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
    - [Commits](ai/nanoid@3.3.7...3.3.8)
    
    ---
    updated-dependencies:
    - dependency-name: nanoid
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 20, 2024
    Copy the full SHA
    f11252b View commit details
  5. Fix workflow to update the JupyterLab version (#7548)

    * Update workflow
    
    * fix workflow name
    jtpio authored Dec 20, 2024
    Copy the full SHA
    abd1b8c View commit details
  6. Fix update script (#7550)

    * Fix script to update the lab version
    
    * fix
    jtpio authored Dec 20, 2024
    Copy the full SHA
    8760def View commit details

Commits on Dec 21, 2024

  1. Update to JupyterLab v4.3.4 (#7551)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Dec 21, 2024
    Copy the full SHA
    7959ba0 View commit details
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ contact_links:
url: https://discourse.jupyter.org/c/notebook/31
about: If you have a question or you're having issues installing Jupyter Notebook, try posting on Discourse.
- name: 💬 Chat with the devs
url: https://app.gitter.im/#/room/#jupyter_notebook:gitter.im
url: https://jupyter.zulipchat.com/
about: Ask short questions about using Jupyter Notebook
- name: 📝 Do you have a feature request that may be applied upstream? See JupyterLab.
url: https://github.com/jupyterlab/jupyterlab
103 changes: 103 additions & 0 deletions .github/workflows/upgrade-jupyterlab-dependencies.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
name: Check for latest JupyterLab releases

on:
schedule:
- cron: 30 17 * * *
workflow_dispatch:
inputs:
version:
description: 'JupyterLab version'
default: latest
required: true
type: string
branch:
description: 'The branch to target'
default: main
required: false
type: string

env:
version_tag: 'latest'

permissions:
actions: write
contents: write
pull-requests: write

jobs:
check_for_lab_updates:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install required dependencies
run: |
python -m pip install jupyterlab
sudo apt-get install hub
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '20.x'

- name: Install npm dependencies and build buildutils
run: |
jlpm install
jlpm run build:utils
- name: Check for new releases and update
shell: bash
run: |
set -eux
for version in ${{ inputs.version || env.version_tag }}
do
if [[ "${version}" == "latest" ]]; then
export LATEST=$(jlpm run get:lab:version --set-version ${version})
else
export LATEST=${version}
fi
done
echo "latest=${LATEST}" >> $GITHUB_ENV
jlpm upgrade:lab:dependencies --set-version ${LATEST}
if [[ ! -z "$(git status --porcelain package.json)" ]]; then
jlpm install
jlpm deduplicate
fi
- name: Create a PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
set -eux
export LATEST=${{ env.latest }}
export BRANCH_NAME=update-to-v${LATEST}
# if resulted in any change:
if [[ ! -z "$(git status --porcelain package.json)" ]]; then
# if branch already exists.
if git ls-remote --heads origin | grep "refs/heads/${BRANCH_NAME}$" > /dev/null; then
echo "Branch '${BRANCH_NAME}' exists."
else
# new branch is created
git checkout -b "${BRANCH_NAME}"
git config user.name "github-actions[bot]"
git config user.email 'github-actions[bot]@users.noreply.github.com'
git commit . -m "Update to JupyterLab v${LATEST}"
git push --set-upstream origin "${BRANCH_NAME}"
gh pr create \
--base ${{ inputs.branch || 'main' }} \
--title "Update to JupyterLab v${LATEST}" \
--body "New JupyterLab release [v${LATEST}](https://github.com/jupyterlab/jupyterlab/releases/tag/v${LATEST}) is available. Please review the lock file carefully."
fi
fi
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ repos:
files: "^notebook"
stages: [manual]
args: ["--install-types", "--non-interactive"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.3.2,<4.4"]
additional_dependencies: ["traitlets>=5.13", "tornado", "jupyter_server>=2.10", "jupyterlab_server>=2.25", "jupyterlab>=4.3.4,<4.4"]

- repo: https://github.com/pre-commit/pygrep-hooks
rev: 'v1.10.0'
@@ -82,4 +82,4 @@ repos:
name: integrity
entry: 'npm run integrity --force'
language: node
stages: [push]
stages: [pre-push]
Loading