From bfb4b289137c9c2a362fb08ca5c297bab4fd181c Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 7 Sep 2026 19:24:04 -0400 Subject: [PATCH] python314Packages.testresources: 2.0.2 -> 2.1.2 Diff: https://github.com/testing-cabal/testresources/compare/2.0.2...2.1.2 --- .../python-modules/testresources/default.nix | 24 +++++-------------- 1 file changed, 6 insertions(+), 18 deletions(-) diff --git a/pkgs/development/python-modules/testresources/default.nix b/pkgs/development/python-modules/testresources/default.nix index 7461c0f77dae..825f19ebef98 100644 --- a/pkgs/development/python-modules/testresources/default.nix +++ b/pkgs/development/python-modules/testresources/default.nix @@ -2,8 +2,8 @@ lib, buildPythonPackage, fetchFromGitHub, - setuptools, - pbr, + hatchling, + hatch-vcs, fixtures, testtools, pytestCheckHook, @@ -11,23 +11,19 @@ buildPythonPackage rec { pname = "testresources"; - version = "2.0.2"; + version = "2.1.2"; pyproject = true; src = fetchFromGitHub { owner = "testing-cabal"; repo = "testresources"; tag = version; - hash = "sha256-cdZObOgBOUxYg4IGUUMb6arlpb6NTU7w+EW700LKH4Y="; + hash = "sha256-CLo0b0V1fXQQFHDn/rYAmZy4ifzMEnFv26opmvn6TdQ="; }; build-system = [ - setuptools - pbr - ]; - - dependencies = [ - pbr + hatchling + hatch-vcs ]; nativeCheckInputs = [ @@ -36,14 +32,6 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTestPaths = [ - # imports fixtures.test.helpers, but fixtures does not install tests anymore - # https://github.com/testing-cabal/fixtures/commit/349afbb1ec7dde2e472b4563025660a35e595153 - "testresources/tests/test_test_resource.py" - ]; - - env.PBR_VERSION = version; - meta = { description = "Pyunit extension for managing expensive test resources"; homepage = "https://launchpad.net/testresources";