Skip to content

BUG: Windows Dependency Resolution Failure for lancedb>=0.30.x on Python 3.11 via uv #1450

Description

@krrish612

Bug description
Running crewai run on Windows AMD64 with Python 3.11 fails dependency resolution as lancedb==0.30.1 doesn't provide compatible Windows wheels.

The problem occurs in the uv environment resolution and stops CrewAI workflows from starting.

Error:

error: Distribution lancedb==0.30.1 @ registry+ can't install https://pypi.org/simple because it doesn't have a source distribution or wheel for the current platform

Environment:

OS: Windows AMD64 64 bit
Python: 3.11
Package Manager: uvu

Workaround today:

[tool.uuv]
overrideDependencies = {
lancedb==0.17.0
]

But it is not fully reliable, because downstream dependencies may still resolve incompatible versions of lancedb indirectly.

Possible root cause:

lancedb>=0.30.x has no wheels for Windows AMD64
uv enforces strict platform-aware dependency resolution
transitive dependencies (e.g. the vector-store stack) can override pinned versions

Proposed fix:

[tool.uuv]
environments-required = [
"sys_platform == 'win32' and platform_machine == 'x86_64'"
]

overrideDependencies = {
lancedb==0.17.0
]

Furthermore,

chromadb==0.5.23

may need to be pinned to avoid lancedb being upgraded indirectly.

Repro steps:

Use Windows AMD64 with Python 3.11.

install dependencies uv-sync

Run: 2.
crew run.
Watch dependency resolution failure

Expected behavior:

CrewAI dependencies should resolve appropriately on supported Windows environments
environment setup should not fail on incompatible platform wheels

Actual conduct:

uv is unable to solve the environment because there are no compatible lancedb binaries for Windows

Proposed tags:

bug
window
dependency resolution
uv
python
moderate
gssoc'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions