python312Packages.pytest-openfiles: remove

Leaf package, that is unmaintained, deprecated and archived.
This commit is contained in:
Martin Weinelt 2024-06-19 17:11:48 +02:00
parent 7556843d22
commit 98f1b41b8b
3 changed files with 1 additions and 53 deletions

View File

@ -1,51 +0,0 @@
{
lib,
buildPythonPackage,
fetchpatch,
fetchPypi,
isPy27,
packaging,
pytest,
pytestCheckHook,
psutil,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "pytest-openfiles";
version = "0.6.0";
format = "setuptools";
disabled = isPy27; # abandoned
src = fetchPypi {
inherit pname version;
sha256 = "sha256-/1Fgw06q2oK5g6LDFvzMsw4AlGMOl3hEcfAVlWhwqZM=";
};
patches = [
(fetchpatch {
name = "replace-distutils-with-packaging.patch";
url = "https://github.com/astropy/pytest-openfiles/commit/e17e8123936689b0b0ecfb713976588d6793d8bb.patch";
includes = [ "pytest_openfiles/plugin.py" ];
hash = "sha256-+6xqOwnBO+jxenXxPdDhLqqm3w+ZRjWeVqqgz8j22bU=";
})
];
nativeBuildInputs = [ setuptools-scm ];
buildInputs = [ pytest ];
propagatedBuildInputs = [
packaging
psutil
];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Pytest plugin for detecting inadvertent open file handles";
homepage = "https://astropy.org";
license = licenses.bsd3;
maintainers = [ ];
};
}

View File

@ -421,6 +421,7 @@ mapAliases ({
pytest_6 = pytest; # added 2022-02-10
pytestcov = pytest-cov; # added 2021-01-04
pytest-ordering = throw "pytest-ordering has been removed, since it is no longer maintained and broken"; # added 2023-06-22
pytest-openfiles = throw "pytest-openfiles has been removed, since it is unmaintained and archived"; # added 2024-06-19
pytest-pep8 = pytestpep8; # added 2021-01-04
pytest-pep257 = throw "pytest-pep257 was removed, as the pep257 package was migrated into pycodestyle"; # added 2022-04-12
pytest-pythonpath = throw "pytest-pythonpath is obsolete as of pytest 7.0.0 and has been removed"; # added 2022-03-09

View File

@ -12291,8 +12291,6 @@ self: super: with self; {
pytest-notebook = callPackage ../development/python-modules/pytest-notebook { };
pytest-openfiles = callPackage ../development/python-modules/pytest-openfiles { };
pytest-order = callPackage ../development/python-modules/pytest-order { };
pytest-param-files = callPackage ../development/python-modules/pytest-param-files { };