From fff8ec6003a7f5c59a9d9d899f05d23f11624e5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 6 Jan 2026 13:40:54 -0800 Subject: [PATCH] Revert "python3Packages.dataset: use sqlalchemy_1_4" This reverts commit 3ef0b7d54955bc40dbdb249f31d29db3c5ed427f because only unversioned attributes may be included in dependencies. --- pkgs/development/python-modules/dataset/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/dataset/default.nix b/pkgs/development/python-modules/dataset/default.nix index 361457eb66e9..3ea9f4ab61d8 100644 --- a/pkgs/development/python-modules/dataset/default.nix +++ b/pkgs/development/python-modules/dataset/default.nix @@ -6,7 +6,7 @@ buildPythonPackage, fetchFromGitHub, pythonOlder, - sqlalchemy_1_4, + sqlalchemy, }: buildPythonPackage rec { @@ -28,11 +28,9 @@ buildPythonPackage rec { ]; dependencies = [ - (alembic.override { sqlalchemy = sqlalchemy_1_4; }) + alembic banal - # SQLAlchemy >= 2.0.0 is unsupported - # https://github.com/pudo/dataset/issues/411 - sqlalchemy_1_4 + sqlalchemy ]; # checks attempt to import nonexistent module 'test.test' and fail @@ -45,5 +43,8 @@ buildPythonPackage rec { homepage = "https://dataset.readthedocs.io"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ xfnw ]; + # SQLAlchemy >= 2.0.0 is unsupported + # https://github.com/pudo/dataset/issues/411 + broken = true; }; }