Skip to content

fix: update uvicorn dependency to remove optional extras#268

Merged
from2001 merged 1 commit intodevelopfrom
fix/server-error-on-windows
Jan 12, 2026
Merged

fix: update uvicorn dependency to remove optional extras#268
from2001 merged 1 commit intodevelopfrom
fix/server-error-on-windows

Conversation

@from2001
Copy link
Collaborator

Fix for Windows ARM64 Installation Error
Problem
When installing styly-netsync-server on Windows ARM64 using uvx styly-netsync-server@0.7.1, the installation fails with:

error: Microsoft Visual C++ 14.0 or greater is required.
This occurs because httptools (a C extension package) doesn't provide pre-built wheels for Windows ARM64, so it tries to compile from source—which requires Visual C++ Build Tools.

Root Cause
The dependency chain:

styly-netsync-server → uvicorn[standard] → httptools
The [standard] extra in uvicorn includes optional performance dependencies like httptools and uvloop, which contain C extensions.

Solution
Changed in pyproject.toml:41:

  • "uvicorn[standard]>=0.30.0",
  • "uvicorn>=0.30.0",
    Impact
    The [standard] extra provided:

httptools - Faster HTTP parsing (C extension)
uvloop - Faster event loop (Unix-only, not used on Windows anyway)
watchfiles - File watching for auto-reload
These are performance optimizations only. The server works correctly without them using Python's built-in asyncio and the pure-Python HTTP parser.

@from2001 from2001 merged commit 8739baa into develop Jan 12, 2026
@from2001 from2001 deleted the fix/server-error-on-windows branch January 12, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant