Unverified Commit b174621f authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

python3Packages.subunit2sql: drop (#448434)

parents 955dacef acc8dab0
Loading
Loading
Loading
Loading
+0 −63
Original line number Diff line number Diff line
{
  lib,
  buildPythonPackage,
  fetchPypi,
  mock,
  oslo-concurrency,
  oslo-db,
  pbr,
  python-dateutil,
  stestr,
  testresources,
  testscenarios,
}:

buildPythonPackage rec {
  pname = "subunit2sql";
  version = "1.10.0";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-c+Dg6moKiv30M0mmwGQSOEbc94gfH//ZnF7lnBgv8EU=";
  };

  propagatedBuildInputs = [
    oslo-db
    pbr
    python-dateutil
  ];

  nativeCheckInputs = [
    mock
    oslo-concurrency
    stestr
    testresources
    testscenarios
  ];

  checkPhase = ''
    export PATH=$out/bin:$PATH
    export HOME=$TMPDIR

    stestr run -e <(echo "
    subunit2sql.tests.db.test_api.TestDatabaseAPI.test_get_failing_test_ids_from_runs_by_key_value
    subunit2sql.tests.db.test_api.TestDatabaseAPI.test_get_id_from_test_id
    subunit2sql.tests.db.test_api.TestDatabaseAPI.test_get_test_run_dict_by_run_meta_key_value
    subunit2sql.tests.migrations.test_migrations.TestWalkMigrations.test_sqlite_opportunistically
    subunit2sql.tests.test_shell.TestMain.test_main
    subunit2sql.tests.test_shell.TestMain.test_main_with_targets
    ")
  '';

  pythonImportsCheck = [ "subunit2sql" ];

  meta = with lib; {
    description = "Command to Read a subunit file or stream and put the data in a SQL DB";
    homepage = "https://opendev.org/opendev/subunit2sql";
    license = licenses.asl20;
    teams = [ teams.openstack ];
    # version 1.10.0 is incomptaible with oslo-db 14.0.0
    broken = true;
  };
}
+1 −0
Original line number Diff line number Diff line
@@ -797,6 +797,7 @@ mapAliases ({
  SQLAlchemy-ImageAttach = throw "sqlalchemy-imageattach has been removed as it is incompatible with sqlalchemy 1.4 and unmaintained"; # added 2022-04-23
  sqlsoup = throw "sqlsoup has been removed as it is incompatible with modern SQLAlchemy and unmaintained"; # added 2024-05-13
  subdownloader = throw "subdownloader has been removed, because it depended on pyqt4"; # added 2022-06-09
  subunit2sql = throw "subunit2sql has been removed because it has been marked as broken since at least November 2024."; # Added 2025-10-04
  suds-jurko = throw "suds-jurko has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2023-02-27
  supervise_api = supervise-api; # added 2023-10-11
  suseapi = throw "suseapi has been removed because it is no longer maintained"; # added 2023-02-27
+0 −2
Original line number Diff line number Diff line
@@ -17803,8 +17803,6 @@ self: super: with self; {
    inherit (pkgs) subunit cppunit check;
  };
  subunit2sql = callPackage ../development/python-modules/subunit2sql { };
  subzerod = callPackage ../development/python-modules/subzerod { };
  succulent = callPackage ../development/python-modules/succulent { };