From 5ebb77c0f5f30fa1cda83501d1a699e22e96a45c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 5 May 2026 15:48:07 +0200 Subject: [PATCH] python3Packages.jsonschema-spec: drop This is a duplicate of jsonschema-path, which it was renamed to 3 years ago. The package is a leaf and its removal causes no problems in-tree. --- .../jsonschema-spec/default.nix | 66 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 68 deletions(-) delete mode 100644 pkgs/development/python-modules/jsonschema-spec/default.nix diff --git a/pkgs/development/python-modules/jsonschema-spec/default.nix b/pkgs/development/python-modules/jsonschema-spec/default.nix deleted file mode 100644 index 3c8df95c282e..000000000000 --- a/pkgs/development/python-modules/jsonschema-spec/default.nix +++ /dev/null @@ -1,66 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - - # build - poetry-core, - - # propagates - pathable, - pyyaml, - referencing, - requests, - - # tests - pytestCheckHook, - pytest-cov-stub, - responses, -}: - -buildPythonPackage rec { - pname = "jsonschema-spec"; - version = "0.4.6"; - pyproject = true; - - src = fetchFromGitHub { - owner = "p1c2u"; - repo = "jsonschema-spec"; - tag = version; - hash = "sha256-abAhWtBnZUeg1VGphfnvxPzSnPM6VjM/XKLPJVIrIXg="; - }; - - postPatch = '' - substituteInPlace pyproject.toml \ - --replace 'referencing = ">=0.28.0,<0.30.0"' 'referencing = ">=0.28.0"' - ''; - - nativeBuildInputs = [ - poetry-core - ]; - - pythonRelaxDeps = [ "referencing" ]; - - propagatedBuildInputs = [ - pathable - pyyaml - referencing - requests - ]; - - nativeCheckInputs = [ - pytestCheckHook - pytest-cov-stub - responses - ]; - - passthru.skipBulkUpdate = true; # newer versions under the jsonschema-path name - - meta = { - changelog = "https://github.com/p1c2u/jsonschema-spec/releases/tag/${version}"; - description = "JSONSchema Spec with object-oriented paths"; - homepage = "https://github.com/p1c2u/jsonschema-spec"; - license = lib.licenses.asl20; - maintainers = with lib.maintainers; [ hexa ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index ccda5e076670..6e18b1443885 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -279,6 +279,7 @@ mapAliases { JPype1 = throw "'JPype1' has been renamed to/replaced by 'jpype1'"; # Converted to throw 2025-10-29 jsonfield = throw "'jsonfield' has been removed as it was broken and deprecated upstream. Consider using Django's native `JSONField` instead."; # Added 2025-11-08 jsonpath_rw = throw "'jsonpath_rw' has been renamed to/replaced by 'jsonpath-rw'"; # Converted to throw 2025-10-29 + jsonschema-spec = jsonschema-path; jupyter-server-ydoc = throw "'jupyter-server-ydoc' has been renamed to/replaced by 'jupyter-collaboration'"; # Converted to throw 2025-10-29 jupyter_client = throw "'jupyter_client' has been renamed to/replaced by 'jupyter-client'"; # Converted to throw 2025-10-29 jupyter_console = throw "'jupyter_console' has been renamed to/replaced by 'jupyter-console'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3b7052a3755c..52543ba19182 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -8069,8 +8069,6 @@ self: super: with self; { jsonschema-rs = callPackage ../development/python-modules/jsonschema-rs { }; - jsonschema-spec = callPackage ../development/python-modules/jsonschema-spec { }; - jsonschema-specifications = callPackage ../development/python-modules/jsonschema-specifications { }; jsonslicer = callPackage ../development/python-modules/jsonslicer { };