From 7058dfc2ab7bd315c3b2624314831fc393ec2cc3 Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 22 Mar 2026 10:59:31 +0100 Subject: [PATCH] python3Packages.hologram: drop hologram's last release was in March 2023 [1], upstream has only seen negligible activity since May 2023 [2], and the package is now broken with Python 3.14 [3]. [1] https://github.com/dbt-labs/hologram/tags [2] https://github.com/dbt-labs/hologram/commits/master/ [3] https://hydra.nixos.org/build/324633389/nixlog/1 --- .../python-modules/hologram/default.nix | 58 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 60 deletions(-) delete mode 100644 pkgs/development/python-modules/hologram/default.nix diff --git a/pkgs/development/python-modules/hologram/default.nix b/pkgs/development/python-modules/hologram/default.nix deleted file mode 100644 index 9a013f1490e5..000000000000 --- a/pkgs/development/python-modules/hologram/default.nix +++ /dev/null @@ -1,58 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - fetchpatch, - jsonschema, - pytestCheckHook, - python-dateutil, - setuptools, - wheel, -}: - -buildPythonPackage rec { - pname = "hologram"; - version = "0.0.16"; - pyproject = true; - - src = fetchFromGitHub { - owner = "dbt-labs"; - repo = "hologram"; - tag = "v${version}"; - hash = "sha256-DboVCvByI8bTThamGBwSiQADGxIaEnTMmwmVI+4ARgc="; - }; - - patches = [ - # https://github.com/dbt-labs/hologram/pull/58 - (fetchpatch { - name = "python3.11-test-compatibility.patch"; - url = "https://github.com/dbt-labs/hologram/commit/84bbe862ef6a2fcc8b8ce85b5c9a006cc7dc1f66.patch"; - hash = "sha256-t096jJDoKUPED4QHSfVjUMLtUJjWcqjblCtGR8moEJc="; - }) - ]; - - nativeBuildInputs = [ - setuptools - wheel - ]; - - propagatedBuildInputs = [ - jsonschema - python-dateutil - ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonRelaxDeps = [ "python-dateutil" ]; - - pythonImportsCheck = [ "hologram" ]; - - meta = { - description = "Library for automatically generating Draft 7 JSON Schemas from Python dataclasses"; - homepage = "https://github.com/dbt-labs/hologram"; - license = lib.licenses.mit; - maintainers = with lib.maintainers; [ - mausch - ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index d9d1dd335ef6..355ccb6d42e6 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -242,6 +242,7 @@ mapAliases { hglib = throw "'hglib' has been renamed to/replaced by 'python-hglib'"; # Converted to throw 2025-10-29 hijri-converter = hijridate; # added 2025-08-07 holistic-trace-analysis = throw "'holistic-trace-analysis' was removed because there is no such package on PyPI"; # added 2026-02-28 + hologram = throw "'hologram' has been removed as it was unmaintained upstream"; # Added 2026-03-22 homeassistant-bring-api = throw "'homeassistant-bring-api' has been renamed to/replaced by 'bring-api'"; # Converted to throw 2025-10-29 HTSeq = throw "'HTSeq' has been renamed to/replaced by 'htseq'"; # Converted to throw 2025-10-29 IMAPClient = throw "'IMAPClient' has been renamed to/replaced by 'imapclient'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index fcf19791ac15..80d0ead2bcdb 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7082,8 +7082,6 @@ self: super: with self; { holidays = callPackage ../development/python-modules/holidays { }; - hologram = callPackage ../development/python-modules/hologram { }; - holoviews = callPackage ../development/python-modules/holoviews { }; home-assistant-bluetooth = callPackage ../development/python-modules/home-assistant-bluetooth { };