Skip to content

Containers crash with module 'sqlglot.expressions' has no attribute 'YearOfWeek' #41280

Description

@mueller-ma

Bug description

  1. Update from 6.0.0 to 6.1.0 using docker compose

Screenshots/recordings

No response

Superset version

6.1.0

Python version

Not applicable

Node version

Not applicable

Browser

Not applicable

Additional context

docker compose up -d

Docker logs from superset-worker-beat-1:

Installing superset-core in editable mode
Resolved 1 package in 1ms
   Building apache-superset-core @ file:///app/superset-core
      Built apache-superset-core @ file:///app/superset-core
Prepared 1 package in 484ms
Uninstalled 1 package in 0.53ms
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Installed 1 package in 1ms
 ~ apache-superset-core==0.1.0rc3 (from file:///app/superset-core)
Skipping local overrides
Starting Celery beat...
Usage: celery [OPTIONS] COMMAND [ARGS]...
Try 'celery --help' for help.

Error:
Unable to load celery application.
Module 'sqlglot.expressions' has no attribute 'yearofweek'

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

    install:dockerInstallation - docker containervalidation:requiredA committer should validate the issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions