mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 05:50:00 +00:00
python314Packages.testresources: 2.0.2 -> 2.1.2 (#561082)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user