From d8abf716bbe2bc775dd976d74eff342b94d7e865 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 2 Feb 2026 10:55:49 -0800 Subject: [PATCH] python3Packages.datatable: drop --- .../python-modules/datatable/default.nix | 89 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 91 deletions(-) delete mode 100644 pkgs/development/python-modules/datatable/default.nix diff --git a/pkgs/development/python-modules/datatable/default.nix b/pkgs/development/python-modules/datatable/default.nix deleted file mode 100644 index 66b5a814ae43..000000000000 --- a/pkgs/development/python-modules/datatable/default.nix +++ /dev/null @@ -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 = [ ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d6c65e2ed9ba..991a63bfb8ee 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -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 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 05afd5e13696..ecb242f805b1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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 { };