python313Packages.jsonfield: drop

jsonfield is broken [1] and deprecated upstream [2] since Django 3.1
introduced a native `JSONField`.

[1] https://hydra.nixos.org/build/310446657
[2] https://github.com/rpkilby/jsonfield/
This commit is contained in:
Tom Hunze
2025-11-08 14:11:56 +01:00
parent b6a8526db0
commit f866a40ce3
3 changed files with 1 additions and 37 deletions

View File

@@ -1,35 +0,0 @@
{
lib,
fetchPypi,
buildPythonPackage,
django,
pytestCheckHook,
pytest-django,
}:
buildPythonPackage rec {
pname = "jsonfield";
version = "3.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-ylOHG8MwiuT0zdw7T5ntXG/Gq7GDL7+0mbxtpWbHDko=";
};
nativeCheckInputs = [
pytestCheckHook
pytest-django
];
preCheck = "export DJANGO_SETTINGS_MODULE=tests.settings";
propagatedBuildInputs = [ django ];
meta = with lib; {
description = "Reusable model field that allows you to store validated JSON, automatically handling serialization to and from the database";
homepage = "https://github.com/rpkilby/jsonfield/";
license = licenses.mit;
maintainers = with maintainers; [ mrmebelman ];
};
}

View File

@@ -214,6 +214,7 @@ mapAliases {
jinja2_pluralize = throw "'jinja2_pluralize' has been renamed to/replaced by 'jinja2-pluralize'"; # Converted to throw 2025-10-29
jinja2_time = throw "'jinja2_time' has been renamed to/replaced by 'jinja2-time'"; # Converted to throw 2025-10-29
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
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

View File

@@ -7610,8 +7610,6 @@ self: super: with self; {
jsonfeed = callPackage ../development/python-modules/jsonfeed { };
jsonfield = callPackage ../development/python-modules/jsonfield { };
jsonformatter = callPackage ../development/python-modules/jsonformatter { };
jsonlines = callPackage ../development/python-modules/jsonlines { };