From d6d417e9ca5bbc7c482cf4e2a1e860b289d5ba67 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Tue, 23 Jun 2026 11:33:31 +0000 Subject: [PATCH] python3Packages.notebook: 7.5.6 -> 7.6.2 Diff: https://github.com/jupyter/notebook/compare/v7.5.6...v7.6.2 Changelog: https://github.com/jupyter/notebook/blob/v7.6.2/CHANGELOG.md Co-authored-by: Stefan Haan --- .../python-modules/notebook/default.nix | 22 +++++++++++-------- .../notebook/missing-hashes.json | 20 ++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/pkgs/development/python-modules/notebook/default.nix b/pkgs/development/python-modules/notebook/default.nix index 2d756476dc10..b505a5223cd2 100644 --- a/pkgs/development/python-modules/notebook/default.nix +++ b/pkgs/development/python-modules/notebook/default.nix @@ -12,6 +12,7 @@ # build-system hatch-jupyter-builder, hatchling, + jupyter-builder, jupyterlab, # dependencies @@ -23,18 +24,20 @@ # tests pytest-jupyter, pytestCheckHook, + versionCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "notebook"; - version = "7.5.6"; + version = "7.6.2"; pyproject = true; + __structuredAttrs = true; src = fetchFromGitHub { owner = "jupyter"; repo = "notebook"; - tag = "v${version}"; - hash = "sha256-xEwXiYQ7OiQ4dEL4ewP+yr3tGsWqa1hAUIl0Th48aiU="; + tag = "v${finalAttrs.version}"; + hash = "sha256-OkwOSluKl5ysMj9Jof91m0M8Zy3ssD2+l9qnNKb/FlI="; }; postPatch = '' @@ -51,15 +54,15 @@ buildPythonPackage rec { ]; missingHashes = ./missing-hashes.json; - offlineCache = yarn-berry_3.fetchYarnBerryDeps { - inherit src missingHashes; - hash = "sha256-BdoAtG7Dc+ZTBn4bCraAIazvXiZyvG5u97pcwvptjBY="; + inherit (finalAttrs) src missingHashes; + hash = "sha256-31b81Ubbv7Dt20v/7wl0pn6ROhIcNtL4BfXD6vE4t+4="; }; build-system = [ hatch-jupyter-builder hatchling + jupyter-builder jupyterlab ]; @@ -74,6 +77,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytest-jupyter pytestCheckHook + versionCheckHook ]; pytestFlags = [ @@ -89,11 +93,11 @@ buildPythonPackage rec { __darwinAllowLocalNetworking = true; meta = { - changelog = "https://github.com/jupyter/notebook/blob/${src.tag}/CHANGELOG.md"; description = "Web-based notebook environment for interactive computing"; homepage = "https://github.com/jupyter/notebook"; + changelog = "https://github.com/jupyter/notebook/blob/${finalAttrs.src.tag}/CHANGELOG.md"; license = lib.licenses.bsd3; teams = [ lib.teams.jupyter ]; mainProgram = "jupyter-notebook"; }; -} +}) diff --git a/pkgs/development/python-modules/notebook/missing-hashes.json b/pkgs/development/python-modules/notebook/missing-hashes.json index 363e4c54d983..bfa9a00cedc3 100644 --- a/pkgs/development/python-modules/notebook/missing-hashes.json +++ b/pkgs/development/python-modules/notebook/missing-hashes.json @@ -1,12 +1,12 @@ { - "@nx/nx-darwin-arm64@npm:16.10.0": "aabcc8499602b98c9fc3b768fe46dfd4e1b818caa84b740bd4f73a2e4528c719b979ecb1c10a0d793a1fead83073a08bc86417588046aa3e587e80af880bffd3", - "@nx/nx-darwin-x64@npm:16.10.0": "9dd20f45f646d05306f23f5abb7ade69dcb962e23a013101e93365847722079656d30a19c735fdcfa5c4e0fdf08691f9d621073c58aef2861c26741ff4638375", - "@nx/nx-freebsd-x64@npm:16.10.0": "35b93aabe3b3274d53157a6fc10fec7e341e75e6818e96cfbc89c3d5b955d225ca80a173630b6aa43c448c6b53b23f06a2699a25c0c8bc71396ee20a023d035f", - "@nx/nx-linux-arm-gnueabihf@npm:16.10.0": "697b9fa4c70f84d3ea8fe32d47635864f2e40b0ceeb1484126598c61851a2ec34b56bb3eeb9654c37d9b14e81ce85a36ac38946b4b90ca403c57fe448be51ccb", - "@nx/nx-linux-arm64-gnu@npm:16.10.0": "001e71fedfc763a4dedd6c5901b66a4a790d388673fb74675235e19bb8fe031ff3755568ed867513dd003f873901fabda31a7d5628b39095535cb9f6d1dc7191", - "@nx/nx-linux-arm64-musl@npm:16.10.0": "58e3b71571bdadd2b0ddd24ea6e30cd795e706ada69f685403412c518fba1a2011ac8c2ac46145eab14649aa5a78e0cedcdb4d327ccb3b6ec12e055171f3840b", - "@nx/nx-linux-x64-gnu@npm:16.10.0": "97729a7efb27301a67ebf34739784114528ddb54047e63ca110a985eaa0763c5b1ea7c623ead1a2266d07107951be81e82ffa0a30e6e4d97506659303f2c8c78", - "@nx/nx-linux-x64-musl@npm:16.10.0": "442bdbd5e61324a850e4e7bd6f54204108580299d3c7c4ebcec324da9a63e23f48d797a87593400fc32af78a3a03a3c104bfb360f107fe732e6a6c289863853a", - "@nx/nx-win32-arm64-msvc@npm:16.10.0": "b5c74184ebfc70294e85f8e309f81c3d40b5cf99068891e613f3bef5ddb946bef7c9942d9e6c7688e22006d45d786342359af3b4fc87aadf369afcda55c73187", - "@nx/nx-win32-x64-msvc@npm:16.10.0": "c5b174ebd7a5916246088e17d3761804b88f010b6b3f930034fa49af00da33b6d1352728c733024f736e4c2287def75bafdc3d60d8738bd24b67e9a4f11763f8" + "@rspack/binding-darwin-arm64@npm:2.0.4": "aa02f2f8d45d7b268b01f9d75fde7bd9810bcfa0893e33d1665d1f9d9a84689ba864953accfd6742d973284d21ac3d7677bf12644696413ec71d7b551895fd2c", + "@rspack/binding-darwin-x64@npm:2.0.4": "70d54b792b066fb3ab04fb9d8682eff97164b81f44fda5945d7141da2675497b4a3fa4ba1c7e94b31d315f89638f1dbdcc901e5c727e25c4a8871633a1207af1", + "@rspack/binding-linux-arm64-gnu@npm:2.0.4": "d013fc113fbca23fe751442c56d4a7c5239f141b9375591fa9c092d76a469743581b7a4e898e0bd21a6da2c5d4a43cf3f612aefd50a4798810f61bde8e309898", + "@rspack/binding-linux-arm64-musl@npm:2.0.4": "de98bfe536be53514b2b6c28f675cbd14f34cb8e3f3c1856e1d63dc7c08be0851480801acb57cd523d0785205527bcc982c89529c9feb28e71963d016464d2e8", + "@rspack/binding-linux-x64-gnu@npm:2.0.4": "ae8a85e984db26b4e818cd1dd819131bf95c26e129c58d09b16fe49b46b46fce52a1e1686eda6d01d07bf469dc932e5793b1effa1dabf3f0f6b1b47e101bcdf8", + "@rspack/binding-linux-x64-musl@npm:2.0.4": "1acd9034bacc4ee91660318f16933b3af22aee443c779b197d275cb178d51be84f75ca86561c2225d3dde24231f7f5f954a921710ffe755c9f38bf64fa2a9fee", + "@rspack/binding-wasm32-wasi@npm:2.0.4": "2e973c73ef63bc94120f69bc8fcc6bb62d4779374961150aaf39597478d21ee2c813699f93e59818801691e6676707a5e53ddbe4558e62472d7cd94164dde6a5", + "@rspack/binding-win32-arm64-msvc@npm:2.0.4": "05fc10bd81c9cf65f5638f7f2f6e6d293a9d28790165823a1711a676b569c79b28505e986a76af104dbdbd0686b87c619a9eac99656241f16a777c14ce87c084", + "@rspack/binding-win32-ia32-msvc@npm:2.0.4": "507b4c78ff35a3a50ebf98ca43fab9223ecf848d4ae5734029a141a6e5a91e335483bef84249f99ecbe15a44ee1418d2e1042d65e3f9a3bc8729217c58f73115", + "@rspack/binding-win32-x64-msvc@npm:2.0.4": "d9e91781d2ca4b2303ad5938d4da38a8533292445895c74b5daa78b03c3c7384db536e423661ae3857185caa102f130b24adc3024bf79890a8204b992a60949e" }