Skip to content

Commit ee325bd

Browse files
committed
Fixing CI
1 parent b7583cb commit ee325bd

File tree

5 files changed

+65
-89
lines changed

5 files changed

+65
-89
lines changed

.github/workflows/packaging.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
fail-fast: false
8484
matrix:
8585
os: [ubuntu, windows]
86-
python: ['3.8', '3.13']
86+
python: ['3.9', '3.13']
8787
dist: ['ipywidgets*.tar.gz']
8888
include:
8989
- python: '3.13'

.github/workflows/tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
strategy:
7878
max-parallel: 4
7979
matrix:
80-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13']
80+
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13']
8181

8282
steps:
8383
- uses: actions/checkout@v4
@@ -144,7 +144,7 @@ jobs:
144144
- name: Install dependencies
145145
run: |
146146
python -m pip install --upgrade pip
147-
python -m pip install -U jupyterlab==4.0.0 jupyter-packaging~=0.10
147+
python -m pip install -U jupyterlab jupyter-packaging~=0.10
148148
149149
- name: Build and Install ipywidgets
150150
run: |
+62-12
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,67 @@
1-
[build-system]
2-
requires = ["jupyter_packaging~=0.10,<2", "jupyterlab~=4.0"]
3-
build-backend = "jupyter_packaging.build_api"
4-
5-
[tool.jupyter-packaging.options]
6-
skip-if-exists = ["labextension/package.json"]
7-
ensured-targets = ["labextension/package.json"]
1+
[project]
2+
name = "jupyterlab_widgets"
3+
description = "Jupyter interactive widgets for JupyterLab"
4+
readme = { file = "README.md", content-type = "text/markdown" }
5+
requires-python = ">=3.7"
6+
license = { file = "LICENSE" }
7+
authors = [
8+
{ name = "Jupyter Development Team", email = "jupyter@googlegroups.com" }
9+
]
10+
keywords = [
11+
"Interactive", "Interpreter", "Shell", "Web", "notebook",
12+
"widgets", "Jupyter", "JupyterLab", "JupyterLab3"
13+
]
14+
classifiers = [
15+
"Intended Audience :: Developers",
16+
"Intended Audience :: System Administrators",
17+
"Intended Audience :: Science/Research",
18+
"License :: OSI Approved :: BSD License",
19+
"Programming Language :: Python",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3.7",
22+
"Programming Language :: Python :: 3.8",
23+
"Programming Language :: Python :: 3.9",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
27+
"Programming Language :: Python :: 3.13",
28+
"Programming Language :: Python :: 3 :: Only",
29+
"Framework :: Jupyter",
30+
"Framework :: Jupyter :: JupyterLab",
31+
"Framework :: Jupyter :: JupyterLab :: 3",
32+
"Framework :: Jupyter :: JupyterLab :: Extensions",
33+
"Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt"
34+
]
35+
urls = { Homepage = "https://github.com/jupyter-widgets/ipywidgets" }
36+
dynamic = ["version"]
837

9-
[tool.jupyter-packaging.builder]
10-
factory = "jupyter_packaging.npm_builder"
38+
[tool.hatch.version]
39+
path = "jupyterlab_widgets/_version.py"
1140

12-
[tool.jupyter-packaging.build-args]
13-
build_cmd = "build:prod"
14-
npm = ["jlpm"]
41+
[build-system]
42+
requires = ["hatchling>=1.5.0", "jupyterlab~=4.0"]
43+
build-backend = "hatchling.build"
1544

1645
[tool.check-manifest]
1746
ignore = ["labextension/**", "yarn.lock", ".*", "package-lock.json"]
47+
48+
[tool.hatch.build.hooks.jupyter-builder]
49+
ensured-targets = [
50+
"labextension/package.json",
51+
]
52+
dependencies = [
53+
"hatch-jupyter-builder>=0.8.1",
54+
]
55+
build-function = "hatch_jupyter_builder.npm_builder"
56+
57+
58+
[tool.hatch.build.targets.wheel.shared-data]
59+
"install.json" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager/install.json"
60+
"labextension" = "share/jupyter/labextensions/@jupyter-widgets/jupyterlab-manager"
61+
62+
[tool.hatch.build.hooks.jupyter-builder.build-kwargs]
63+
path = "."
64+
build_cmd = "install:extension"
65+
npm = [
66+
"jlpm",
67+
]

python/jupyterlab_widgets/setup.cfg

-37
This file was deleted.

python/jupyterlab_widgets/setup.py

-37
This file was deleted.

0 commit comments

Comments
 (0)