python3Packages.sqlbag: drop

Has been marked broken for at least a full release cycle.

Dropping per RFC 180.
This commit is contained in:
Michael Daniels
2025-10-11 13:23:22 -04:00
parent f36935002e
commit de619debe5
3 changed files with 1 additions and 94 deletions
@@ -1,92 +0,0 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
psycopg2,
pymysql,
sqlalchemy,
six,
flask,
pendulum,
packaging,
setuptools,
poetry-core,
pytestCheckHook,
pytest-xdist,
pytest-sugar,
postgresql,
postgresqlTestHook,
}:
buildPythonPackage {
pname = "sqlbag";
version = "0.1.1617247075";
format = "pyproject";
src = fetchFromGitHub {
owner = "djrobstep";
repo = "sqlbag";
# no tags on github, version patch number is unix time.
rev = "eaaeec4158ffa139fba1ec30d7887f4d836f4120";
hash = "sha256-lipgnkqrzjzqwbhtVcWDQypBNzq6Dct/qoM8y/FNiNs=";
};
nativeBuildInputs = [ poetry-core ];
propagatedBuildInputs = [
sqlalchemy
six
packaging
psycopg2
pymysql
setuptools # needed for 'pkg_resources'
];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
pytest-sugar
postgresql
postgresqlTestHook
flask
pendulum
];
preCheck = ''
export PGUSER="nixbld";
'';
enabledTestPaths = [
"tests"
];
disabledTests = [
# These all fail with "List argument must consist only of tuples or dictionaries":
# Related issue: https://github.com/djrobstep/sqlbag/issues/14
"test_basic"
"test_createdrop"
"test_errors_and_messages"
"test_flask_integration"
"test_orm_stuff"
"test_pendulum_for_time_types"
"test_transaction_separation"
];
pytestFlags = [
"-x"
"-svv"
];
pythonImportsCheck = [ "sqlbag" ];
meta = with lib; {
description = "Handy python code for doing database things";
homepage = "https://github.com/djrobstep/sqlbag";
license = with licenses; [ unlicense ];
maintainers = with maintainers; [ bpeetz ];
broken = true; # Fails to build against the current flask version
};
}
+1
View File
@@ -2489,6 +2489,7 @@ mapAliases {
spring = throw "spring has been removed, as it had been broken since 2023 (it was a game; maybe youre thinking of spring-boot-cli?)"; # Added 2025-09-16
springLobby = throw "springLobby has been removed, as it had been broken since 2023"; # Added 2025-09-16
spring-boot = throw "'spring-boot' has been renamed to/replaced by 'spring-boot-cli'"; # Converted to throw 2024-10-17
sqlbag = throw "sqlbag has been removed because it has been marked as broken since May 2024."; # Added 2025-10-11
sqldeveloper = throw "sqldeveloper was dropped due to being severely out-of-date and having a dependency on JavaFX for Java 8, which we do not support"; # Added 2024-11-02
srvc = throw "'srvc' has been removed, as it was broken and unmaintained"; # Added 2024-09-09
ssm-agent = amazon-ssm-agent; # Added 2023-10-17
-2
View File
@@ -17512,8 +17512,6 @@ self: super: with self; {
sqlalchemy_1_4 = callPackage ../development/python-modules/sqlalchemy/1_4.nix { };
sqlbag = callPackage ../development/python-modules/sqlbag { };
sqlcipher3 = callPackage ../development/python-modules/sqlcipher3 { };
sqlcipher3-binary = callPackage ../development/python-modules/sqlcipher3-binary { };