From 450237964fe30774a87443509d824cb19e87fa5a Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Sun, 9 Nov 2025 21:50:08 +0100 Subject: [PATCH] python313Packages.sqlalchemy-views: drop MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sqlalchemy-views is broken for Python ≥3.12 [1] and the last relevant upstream code change and release were in 2023 [2]. [1] https://hydra.nixos.org/build/310475445 [2] https://github.com/jklukas/sqlalchemy-views --- .../sqlalchemy-views/default.nix | 40 ------------------- pkgs/top-level/python-aliases.nix | 1 + pkgs/top-level/python-packages.nix | 2 - 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100644 pkgs/development/python-modules/sqlalchemy-views/default.nix diff --git a/pkgs/development/python-modules/sqlalchemy-views/default.nix b/pkgs/development/python-modules/sqlalchemy-views/default.nix deleted file mode 100644 index a462e48bfede..000000000000 --- a/pkgs/development/python-modules/sqlalchemy-views/default.nix +++ /dev/null @@ -1,40 +0,0 @@ -{ - lib, - buildPythonPackage, - fetchFromGitHub, - setuptools, - sqlalchemy, - pytestCheckHook, -}: - -buildPythonPackage rec { - pname = "sqlalchemy-views"; - version = "0.3.2"; - format = "setuptools"; - - src = fetchFromGitHub { - repo = "sqlalchemy-views"; - owner = "jklukas"; - tag = "v${version}"; - hash = "sha256-MJgikWXo3lpMsSYbb5sOSOTbJPOx5gEghW1V9jKvHKU="; - }; - - postPatch = '' - substituteInPlace tox.ini --replace '--cov=sqlalchemy_views --cov-report=term' "" - ''; - - nativeBuildInputs = [ setuptools ]; - - propagatedBuildInputs = [ sqlalchemy ]; - - nativeCheckInputs = [ pytestCheckHook ]; - - pythonImportsCheck = [ "sqlalchemy_views" ]; - - meta = with lib; { - description = "Adds CreateView and DropView constructs to SQLAlchemy"; - homepage = "https://github.com/jklukas/sqlalchemy-views"; - license = licenses.mit; - maintainers = with maintainers; [ cpcloud ]; - }; -} diff --git a/pkgs/top-level/python-aliases.nix b/pkgs/top-level/python-aliases.nix index 7cf00fbaa665..b0cfdae16fc8 100644 --- a/pkgs/top-level/python-aliases.nix +++ b/pkgs/top-level/python-aliases.nix @@ -440,6 +440,7 @@ mapAliases { sphinxcontrib_httpdomain = throw "'sphinxcontrib_httpdomain' has been renamed to/replaced by 'sphinxcontrib-httpdomain'"; # Converted to throw 2025-10-29 sphinxcontrib_newsfeed = throw "'sphinxcontrib_newsfeed' has been renamed to/replaced by 'sphinxcontrib-newsfeed'"; # Converted to throw 2025-10-29 sphinxcontrib_plantuml = throw "'sphinxcontrib_plantuml' has been renamed to/replaced by 'sphinxcontrib-plantuml'"; # Converted to throw 2025-10-29 + sqlalchemy-views = throw "'sqlalchemy-views' has been removed as it was broken and unmaintained upstream"; # Added 2025-11-09 sqlalchemy_migrate = throw "'sqlalchemy_migrate' has been renamed to/replaced by 'sqlalchemy-migrate'"; # Converted to throw 2025-10-29 subunit2sql = throw "subunit2sql has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04 supervise_api = throw "'supervise_api' has been renamed to/replaced by 'supervise-api'"; # Converted to throw 2025-10-29 diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 99e66e842b76..bde77dda5bc1 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -17654,8 +17654,6 @@ self: super: with self; { sqlalchemy-utils = callPackage ../development/python-modules/sqlalchemy-utils { }; - sqlalchemy-views = callPackage ../development/python-modules/sqlalchemy-views { }; - sqlalchemy_1_4 = callPackage ../development/python-modules/sqlalchemy/1_4.nix { }; sqlcipher3 = callPackage ../development/python-modules/sqlcipher3 { };