Unverified Commit db4494b6 authored by Tom Hunze's avatar Tom Hunze
Browse files

python3Packages.monkeytype: drop

monkeytype has seen no upstream activity since June 2025 [1], with the
last semantic code change dating back to December 2023 [2], and is
broken with Python 3.14 [3].

[1] https://github.com/Instagram/MonkeyType
[2] https://github.com/Instagram/MonkeyType/commit/22fbbb4428a69c9288c45b65c6213377e581851f
[3] https://hydra.nixos.org/build/324638302
parent 8ab14c42
Loading
Loading
Loading
Loading
+0 −58
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchFromGitHub,
  setuptools,
  libcst,
  mypy-extensions,
  pytestCheckHook,
}:

buildPythonPackage rec {
  pname = "monkeytype";
  version = "23.3.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "Instagram";
    repo = "MonkeyType";
    tag = "v${version}";
    hash = "sha256-DQ/3go53+0PQkhZcL2dX8MI/z4Iq7kTYd5EbacMNxT4=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    libcst
    mypy-extensions
  ];

  pythonImportsCheck = [
    "monkeytype"
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  disabledTests = [
    # Disable broken tests
    "test_excludes_site_packages"
    "test_callee_throws_recovers"
    "test_nested_callee_throws_recovers"
    "test_caller_handles_callee_exception"
    "test_generator_trace"
    "test_return_none"
    "test_access_property"
  ];

  meta = {
    description = "Python library that generates static type annotations by collecting runtime types";
    homepage = "https://github.com/Instagram/MonkeyType/";
    changelog = "https://github.com/Instagram/MonkeyType/blob/${src.rev}/CHANGES.rst";
    license = lib.licenses.bsd3;
    maintainers = [ ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -338,6 +338,7 @@ mapAliases {
  mne-python = throw "'mne-python' has been renamed to/replaced by 'mne'"; # Converted to throw 2025-10-29
  modeled = "'modeled' has been removed because it is unmaintained"; # Added 2026-01-19
  monarchmoney = throw "'monarchmoney' has been renamed to/replaced by 'monarchmoneycommunity'"; # Added 2026-03-05
  monkeytype = throw "'monkeytype' has been removed as it was unmaintained upstream"; # Added 2026-04-19
  moretools = "'moretools' has been removed because it is unmaintained"; # Added 2026-01-19
  mpris-server = throw "mpris-server was removed because it is unused"; # added 2025-10-31
  msldap-bad = throw "'msldap-bad' has been renamed to/replaced by 'badldap'"; # added 2025-11-06
+0 −2
Original line number Diff line number Diff line
@@ -10192,8 +10192,6 @@ self: super: with self; {
  monkeyhex = callPackage ../development/python-modules/monkeyhex { };
  monkeytype = callPackage ../development/python-modules/monkeytype { };
  monosat = callPackage pkgs.monosat.python { };
  monotonic = callPackage ../development/python-modules/monotonic { };