Skip to content

Build failure:OpenLP #296477

@Green-D-683

Description

@Green-D-683

Steps To Reproduce

Steps to reproduce the behavior:

  1. build OpenLP

Build log

[User@System:~]$ nix shell nixpkgs#openlpFull --impure
error: builder for '/nix/store/840597qwjbdlm343631l2icbfhpkq6r9-python3.11-sqlalchemy-migrate-0.13.0.drv' failed with exit code 1;
       last 10 log lines:
       >     from migrate.changeset.schema import *
       >   File "/build/sqlalchemy-migrate-0.13.0/migrate/changeset/schema.py", line 20, in <module>
       >     from migrate.changeset.databases.visitor import (get_engine_visitor,
       >   File "/build/sqlalchemy-migrate-0.13.0/migrate/changeset/databases/visitor.py", line 7, in <module>
       >     from migrate.changeset.databases import (sqlite,
       >   File "/build/sqlalchemy-migrate-0.13.0/migrate/changeset/databases/sqlite.py", line 13, in <module>
       >     from sqlalchemy.databases import sqlite as sa_base
       > ModuleNotFoundError: No module named 'sqlalchemy.databases'
       > Non-zero exit code (2) from test listing.
       > error: testr failed (3)
       For full logs, run 'nix log /nix/store/840597qwjbdlm343631l2icbfhpkq6r9-python3.11-sqlalchemy-migrate-0.13.0.drv'.
error: 1 dependencies of derivation '/nix/store/b73rasjchdpwigk3m4cmwv8q94a4yrqh-python3.11-openlp-2.4.6.drv' failed to build
error: 1 dependencies of derivation '/nix/store/sgnj5q20wab4gi5a9mknig9q0ygqx975-openlp-full-2.4.6.drv' failed to build

Additional context

The builder for OpenLP is Broken due to the default python builder updfating the SQLalchemy library to v2.0. I believe that changing the build input sqlalchemy to sqlalchemy_1_4 to continue to use the legacy version should be a start in fixing this. This same change will need to be overridden for the sqlalchemy-migrate input.

Notify maintainers

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

[user@system:~]$ nix shell nixpkgs#nix-info --command nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 6.7.6, NixOS, 24.05 (Uakari), 24.05.20240314.d691274`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos-23.05, nixpkgs-unstable"`
 - nixpkgs: `/nix/store/9mf8fkjw3vw1gm4s6j5fqlwrv5wf2knf-source`

Add a 👍 reaction to issues you find important.

Metadata

Metadata

Assignees

Labels

0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions