0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

python313Packages.deprecat: remove

deprecat was archied by upstream
This commit is contained in:
Fabian Affolter 2025-03-08 13:19:21 +01:00
parent 6381f838f3
commit 5cef95c41e
3 changed files with 1 additions and 47 deletions

View file

@ -1,45 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pytestCheckHook,
pythonOlder,
setuptools-scm,
wrapt,
}:
buildPythonPackage rec {
pname = "deprecat";
version = "2.1.3";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "mjhajharia";
repo = "deprecat";
tag = "v${version}";
hash = "sha256-CvW4SQ78FG8GqBs6/a0yHWfTAn64sH54GVSETooMa6A=";
};
build-system = [ setuptools-scm ];
dependencies = [ wrapt ];
nativeCheckInputs = [ pytestCheckHook ];
pythonImportsCheck = [ "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";
changelog = "https://github.com/mjhajharia/deprecat/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -152,6 +152,7 @@ mapAliases ({
debian = python-debian; # added 2024-12-10
deep_merge = throw "deep_merge has been removed, since it is no longer maintained and may be broken."; # added 2023-10-09
demjson = throw "demjson has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
deprecat = throw "deprecat has been removed, it unmaintained and archived by upstream"; # added 2025-03-08
descartes = throw "descartes has been removed, since it is abandoned and broken"; # added 2023-06-21
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
dftfit = throw "dftfit dependency lammps-cython no longer builds"; # added 2021-07-04

View file

@ -3250,8 +3250,6 @@ self: super: with self; {
deploykit = callPackage ../development/python-modules/deploykit { };
deprecat = callPackage ../development/python-modules/deprecat { };
deprecated = callPackage ../development/python-modules/deprecated { };
deprecation = callPackage ../development/python-modules/deprecation { };