Skip to content

Fix CI + remove Python 3.8 #3989

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
May 5, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu, windows]
python: ['3.8', '3.13']
python: ['3.9', '3.13']
dist: ['ipywidgets*.tar.gz']
include:
- python: '3.13'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -144,7 +144,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -U jupyterlab==4.0.0 jupyter-packaging~=0.10
python -m pip install -U jupyterlab jupyter-packaging~=0.10

- name: Build and Install ipywidgets
run: |
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
nodeLinker: node-modules
enableImmutableInstalls: false

# prettier-ignore
packageExtensions:
Expand Down
4 changes: 2 additions & 2 deletions python/ipywidgets/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3 :: Only
Framework :: Jupyter

Expand Down
72 changes: 60 additions & 12 deletions python/jupyterlab_widgets/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,65 @@
[build-system]
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
build-backend = "jupyter_packaging.build_api"

[tool.jupyter-packaging.options]
skip-if-exists = ["labextension/package.json"]
ensured-targets = ["labextension/package.json"]
[project]
name = "jupyterlab_widgets"
description = "Jupyter interactive widgets for JupyterLab"
readme = { file = "README.md", content-type = "text/markdown" }
requires-python = ">=3.7"
license = { file = "LICENSE" }
authors = [
{ name = "Jupyter Development Team", email = "jupyter@googlegroups.com" }
]
keywords = [
"Interactive", "Interpreter", "Shell", "Web", "notebook",
"widgets", "Jupyter", "JupyterLab", "JupyterLab3"
]
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Framework :: Jupyter",
"Framework :: Jupyter :: JupyterLab",
"Framework :: Jupyter :: JupyterLab :: 3",
"Framework :: Jupyter :: JupyterLab :: Extensions",
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt"
]
urls = { Homepage = "https://github.com/jupyter-widgets/ipywidgets" }
dynamic = ["version"]

[tool.jupyter-packaging.builder]
factory = "jupyter_packaging.npm_builder"
[tool.hatch.version]
path = "jupyterlab_widgets/_version.py"

[tool.jupyter-packaging.build-args]
build_cmd = "build:prod"
npm = ["jlpm"]
[build-system]
requires = ["hatchling>=1.5.0", "jupyterlab~=4.0"]
build-backend = "hatchling.build"

[tool.check-manifest]
ignore = ["labextension/**", "yarn.lock", ".*", "package-lock.json"]

[tool.hatch.build.hooks.jupyter-builder]
ensured-targets = [
"labextension/package.json",
]
dependencies = [
"hatch-jupyter-builder>=0.8.1",
]
build-function = "hatch_jupyter_builder.npm_builder"
skip-if-exists = ["labextension/static/style.js"]

[tool.hatch.build.targets.wheel.shared-data]
"install.json" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/install.json"
"labextension" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager"

[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
path = "."
build_cmd = "build:prod"
npm = [
"jlpm",
]
37 changes: 0 additions & 37 deletions python/jupyterlab_widgets/setup.cfg

This file was deleted.

37 changes: 0 additions & 37 deletions python/jupyterlab_widgets/setup.py

This file was deleted.

4 changes: 2 additions & 2 deletions python/widgetsnbextension/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ classifiers =
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Programming Language :: Python :: 3.13
Programming Language :: Python :: 3 :: Only
Framework :: Jupyter

Expand Down
Binary file removed ui-tests/.yarn/install-state.gz
Binary file not shown.
4 changes: 0 additions & 4 deletions ui-tests/.yarnrc

This file was deleted.

2 changes: 1 addition & 1 deletion ui-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"author": "Project Jupyter",
"license": "BSD-3-Clause",
"devDependencies": {
"@jupyterlab/galata": "^5.0.1",
"@jupyterlab/galata": "^5.3.4",
"@playwright/test": "^1.32.0",
"yarn-deduplicate": "^6.0.1"
}
Expand Down
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-10-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-11-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-13-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-15-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-16-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-17-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-18-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-2-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-21-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-23-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-24-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-26-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-30-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-33-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-34-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-36-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-40-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified ui-tests/tests/widgets.test.ts-snapshots/widgets-cell-44-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading