python3Packages.{datatable,typesentry}: drop (#483826)

This commit is contained in:
Sandro
2026-02-04 00:17:20 +00:00
committed by GitHub
4 changed files with 2 additions and 124 deletions
@@ -1,89 +0,0 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
pipInstallHook,
pythonAtLeast,
blessed,
docutils,
llvm,
pytestCheckHook,
typesentry,
}:
buildPythonPackage rec {
pname = "datatable";
version = "1.1.0";
pyproject = true;
disabled = pythonAtLeast "3.13";
src = fetchFromGitHub {
owner = "h2oai";
repo = "datatable";
tag = "v${version}";
hash = "sha256-U6FYqjbVed/Qsxj/8bgwRd2UlK0dq/i61Fg56Br+lzs=";
};
postPatch = ''
# tarball doesn't appear to have been shipped totally ready-to-build
substituteInPlace ci/ext.py \
--replace-fail \
'shell_cmd(["git"' \
'"0000000000000000000000000000000000000000" or shell_cmd(["git"'
echo '${version}' > VERSION.txt
# don't make assumptions about architecture
substituteInPlace ci/ext.py \
--replace-fail \
'ext.compiler.add_linker_flag("-m64")' \
'pass # removed -m64 flag assumption'
# Fix flatbuffers span const member assignment issue
# Remove const from member variables to allow assignment operator to work
substituteInPlace src/core/lib/flatbuffers/stl_emulation.h \
--replace-fail \
'pointer const data_;' \
'pointer data_;' \
--replace-fail \
'const size_type count_;' \
'size_type count_;'
'';
DT_RELEASE = "1";
propagatedBuildInputs = [
typesentry
blessed
];
buildInputs = [
llvm
pipInstallHook
];
nativeCheckInputs = [
docutils
pytestCheckHook
];
LLVM = llvm;
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-isystem ${lib.getInclude stdenv.cc.libcxx}/include/c++/v1";
# test suite is very cpu intensive, only run small subset to ensure package is working as expected
enabledTestPaths = [ "tests/test-sets.py" ];
disabledTests = [
# skip tests which are irrelevant to our installation or use way too much memory
"test_xfunction_paths"
"test_fread_from_cmd2"
"test_cast_huge_to_str"
"test_create_large_string_column"
];
pythonImportsCheck = [ "datatable" ];
meta = {
description = "data.table for Python";
homepage = "https://github.com/h2oai/datatable";
license = lib.licenses.mpl20;
maintainers = [ ];
};
}
@@ -1,31 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
colorama,
pytestCheckHook,
}:
buildPythonPackage {
pname = "typesentry";
version = "0.2.7";
format = "setuptools";
# Only wheel distribution is available on PyPi.
src = fetchFromGitHub {
owner = "h2oai";
repo = "typesentry";
rev = "0ca8ed0e62d15ffe430545e7648c9a9b2547b49c";
sha256 = "0z615f9dxaab3bay3v27j7q99qm6l6q8xv872yvsp87sxj7apfki";
};
propagatedBuildInputs = [ colorama ];
nativeCheckInputs = [ pytestCheckHook ];
meta = {
description = "Python 2.7 & 3.5+ runtime type-checker";
homepage = "https://github.com/h2oai/typesentry";
license = lib.licenses.asl20;
maintainers = [ ];
};
}
+2
View File
@@ -111,6 +111,7 @@ mapAliases {
configshell = throw "'configshell' has been renamed to/replaced by 'configshell-fb'"; # Converted to throw 2025-10-29
cx_Freeze = throw "'cx_Freeze' has been renamed to/replaced by 'cx-freeze'"; # Converted to throw 2025-10-29
cx_oracle = throw "'cx_oracle' has been renamed to/replaced by 'cx-oracle'"; # Converted to throw 2025-10-29
datatable = throw "'datatable' has been removed due to lack of upstream maintenance"; # added 2026-02-02
dateutil = throw "'dateutil' has been renamed to/replaced by 'python-dateutil'"; # Converted to throw 2025-10-29
debian = throw "'debian' has been renamed to/replaced by 'python-debian'"; # Converted to throw 2025-10-29
dictpath = throw "'dictpath' has been renamed to/replaced by 'pathable'"; # Converted to throw 2025-10-29
@@ -517,6 +518,7 @@ mapAliases {
tweedledum = throw "'tweedledum' has been removed due to lack of upstream maintenance."; # Added 2025-11-22
typed-ast = throw "typed-ast was removed because it went end of life in July 2023"; # added 2025-05-24
types-typed-ast = throw "types-typed-ast was removed because so was typed-ast"; # added 2025-05-24
typesentry = throw "typesentry was removed because it was broken and unmaintained"; # added 2026-02-02
typesystem = throw "'typesystem' has been removed as it was broken, unmaintained, and archived upstream"; # Added 2025-11-27
typical = throw "'typical' has been removed as it was broken and archived upstream"; # Added 2025-11-27
uamqp = throw "'uamqp' has been removed because it is broken and unmaintained."; # added 2025-06-11
-4
View File
@@ -3599,8 +3599,6 @@ self: super: with self; {
datashaper = callPackage ../development/python-modules/datashaper { };
datatable = callPackage ../development/python-modules/datatable { };
datauri = callPackage ../development/python-modules/datauri { };
datefinder = callPackage ../development/python-modules/datefinder { };
@@ -20014,8 +20012,6 @@ self: super: with self; {
inherit (pkgs) typesense curl;
};
typesentry = callPackage ../development/python-modules/typesentry { };
typeshed-client = callPackage ../development/python-modules/typeshed-client { };
typing = null;