Unverified Commit c114a76e authored by natsukium's avatar natsukium
Browse files

python311Packages.openapi-schema-pydantic: remove

It has been removed since it is no longer maintained
parent 0d00863e
Loading
Loading
Loading
Loading
+0 −44
Original line number Diff line number Diff line
{ 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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };