Skip to content

building apache-superset-core fails due to incompatibility of sqlglot #38310

@PickleRiiiick

Description

@PickleRiiiick

Bug description

I am trying to implement an upgrade after getting this bug:
#37977

The docker containers are running on a linux debian 12.

I am following these steps:
https://superset.apache.org/admin-docs/installation/upgrading-superset#docker-compose

When executing docker compose up I get the following error:

superset-init-1       |       Built apache-superset-core @ file:///app/superset-core
superset-init-1       | Prepared 1 package in 899ms
superset-init-1       | Uninstalled 1 package in 2ms
superset-init-1       | warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
superset-init-1       |          If the cache and target directories are on different filesystems, hardlinking may not be supported.
superset-init-1       |          If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
superset-init-1       | Installed 1 package in 1ms
superset-init-1       |  - apache-superset-core==0.0.1rc3 (from file:///app/superset-core)
superset-init-1       |  + apache-superset-core==0.0.1rc4 (from file:///app/superset-core)
superset-init-1       | Reinstalling the app in editable mode
superset-init-1       |   × No solution found when resolving dependencies:
superset-init-1       |   ╰─▶ Because only apache-superset-core==0.0.1rc4 is available and
superset-init-1       |       apache-superset-core==0.0.1rc4 depends on sqlglot>=28.10.0,<29, we
superset-init-1       |       can conclude that all versions of apache-superset-core depend on
superset-init-1       |       sqlglot>=28.10.0,<29.
superset-init-1       |       And because apache-superset==0.0.0.dev0 depends on
superset-init-1       |       apache-superset-core and sqlglot>=27.15.2,<28, we can conclude that
superset-init-1       |       apache-superset==0.0.0.dev0 cannot be used.
superset-init-1       |       And because only apache-superset==0.0.0.dev0 is available and you
superset-init-1       |       require apache-superset, we can conclude that your requirements are
superset-init-1       |       unsatisfiable.
superset-init-1 exited with code 1

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Firefox

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions