Unverified Commit 45023796 authored by Tom Hunze's avatar Tom Hunze
Browse files

python313Packages.sqlalchemy-views: drop

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
parent bb2e2e26
Loading
Loading
Loading
Loading
+0 −40
Original line number Diff line number Diff line
{
  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 ];
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -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
+0 −2
Original line number Diff line number Diff line
@@ -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 { };