Merge pull request #299711 from fabaff/deprecat-fix

python311Packages.deprecat: disable sphinx tests
This commit is contained in:
Fabian Affolter 2024-03-28 12:13:43 +01:00 committed by GitHub
commit 8d27336894
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 4 deletions

View File

@ -10,22 +10,22 @@
buildPythonPackage rec {
pname = "deprecat";
version = "2.1.2";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mjhajharia";
repo = pname;
repo = "deprecat";
rev = "refs/tags/v${version}";
hash = "sha256-uAabZAtZDhcX6TfiM0LnrAzxxS64ys+vdodmxO//0x8=";
};
nativeBuildInputs = [
build-system = [
setuptools-scm
];
propagatedBuildInputs = [
dependencies = [
wrapt
];
@ -37,6 +37,11 @@ buildPythonPackage rec {
"deprecat"
];
disabledTestPaths = [
# https://github.com/mjhajharia/deprecat/issues/13
"tests/test_sphinx.py"
];
meta = with lib; {
description = "Decorator to deprecate old python classes, functions or methods";
homepage = "https://github.com/mjhajharia/deprecat";