python311Packages.openapi-schema-pydantic: remove

It has been removed since it is no longer maintained
This commit is contained in:
natsukium 2023-10-30 23:21:38 +09:00
parent 0d00863e3c
commit c114a76e93
No known key found for this signature in database
GPG Key ID: 9EA45A31DB994C53
3 changed files with 1 additions and 46 deletions

View File

@ -1,44 +0,0 @@
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, pydantic
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "openapi-schema-pydantic";
version = "1.2.4";
format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
hash = "sha256-PiLPWLdKafdSzH5fFTf25EFkKC2ycAy7zTu5nd0GUZY=";
};
propagatedBuildInputs = [
pydantic
];
nativeCheckInputs = [
pytestCheckHook
];
disabledTests = [
# these tests are broken with `pydantic >= 1.10`
# but this library seems to work fine.
# e.g. https://github.com/hwchase17/langchain/blob/d86ed15d8884d5a3f120a433b9dda065647e4534/poetry.lock#L6011-L6012
"test_pydantic_discriminator_schema_generation"
"test_pydantic_discriminator_openapi_generation"
];
meta = with lib; {
description = "OpenAPI (v3) specification schema as pydantic class";
homepage = "https://github.com/kuimono/openapi-schema-pydantic";
changelog = "https://github.com/kuimono/openapi-schema-pydantic/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ natsukium ];
};
}

View File

@ -246,6 +246,7 @@ mapAliases ({
notifymuch = throw "notifymuch has been promoted to a top-level attribute"; # added 2022-10-02
Nuitka = nuitka; # added 2023-02-19
ntlm-auth = throw "ntlm-auth has been removed, because it relies on the md4 implementation provided by openssl. Use pyspnego instead.";
openapi-schema-pydantic = throw "openapi-schema-pydantic has been removed, since it is no longer maintained"; # added 2023-10-30
opsdroid_get_image_size = opsdroid-get-image-size; # added 2023-10-16
ordereddict = throw "ordereddict has been removed because it is only useful on unsupported python versions."; # added 2022-05-28
pafy = throw "pafy has been removed because it is unmaintained and only a dependency of mps-youtube, itself superseded by yewtube"; # Added 2023-01-19

View File

@ -8423,8 +8423,6 @@ self: super: with self; {
openant = callPackage ../development/python-modules/openant { };
openapi-schema-pydantic = callPackage ../development/python-modules/openapi-schema-pydantic { };
openapi-schema-validator = callPackage ../development/python-modules/openapi-schema-validator { };
openapi-spec-validator = callPackage ../development/python-modules/openapi-spec-validator { };