From 122b6c90b7f54a2b27ca63c7bdfab5d1d4e941f2 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 23 Dec 2024 19:31:48 +0100 Subject: [PATCH] python312Packages.nbmake: 1.5.4 -> 1.5.5 Diff: https://github.com/treebeardtech/nbmake/compare/refs/tags/v1.5.4...v1.5.5 Changelog: https://github.com/treebeardtech/nbmake/releases/tag/v1.5.5 --- .../python-modules/nbmake/default.nix | 29 ++++++++----------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/pkgs/development/python-modules/nbmake/default.nix b/pkgs/development/python-modules/nbmake/default.nix index 46ffe613f695c7..588f4391afb0dd 100644 --- a/pkgs/development/python-modules/nbmake/default.nix +++ b/pkgs/development/python-modules/nbmake/default.nix @@ -1,17 +1,18 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, - poetry-core, - setuptools, - wheel, + + # build-system + hatchling, + + # dependencies ipykernel, nbclient, nbformat, pygments, - pytest, - pyyaml, + + # tests pytest-xdist, pytestCheckHook, typing-extensions, @@ -19,22 +20,18 @@ buildPythonPackage rec { pname = "nbmake"; - version = "1.5.4"; + version = "1.5.5"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "treebeardtech"; repo = "nbmake"; - rev = "refs/tags/v${version}"; - hash = "sha256-OzjqpipFb5COhqc//Sg6OU65ShPrYe/KtxifToEXveg="; + tag = "v${version}"; + hash = "sha256-nT/52xgOEMEImrBhNXAZQrcvCBWuYIcFi5h8yUNdhCI="; }; build-system = [ - poetry-core - setuptools - wheel + hatchling ]; dependencies = [ @@ -42,8 +39,6 @@ buildPythonPackage rec { nbclient nbformat pygments - pytest - pyyaml ]; pythonRelaxDeps = [ "nbclient" ]; @@ -69,7 +64,7 @@ buildPythonPackage rec { meta = { description = "Pytest plugin for testing notebooks"; homepage = "https://github.com/treebeardtech/nbmake"; - changelog = "https://github.com/treebeardtech/nbmake/releases/tag/v${version}"; + changelog = "https://github.com/treebeardtech/nbmake/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ GaetanLepage ]; };