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

View File

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