diff --git a/pkgs/development/python-modules/openapi-schema-pydantic/default.nix b/pkgs/development/python-modules/openapi-schema-pydantic/default.nix deleted file mode 100644 index 1930dc237f05..000000000000 --- a/pkgs/development/python-modules/openapi-schema-pydantic/default.nix +++ /dev/null @@ -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 ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 5357761aa23f..f11511b81f96 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 2293e7c1643b..bba8bb474a06 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };