Skip to content

fix: move aiohttp-devtools to production dependencies#84

Merged
bolinocroustibat merged 2 commits intomainfrom
fix-deploy
Jan 6, 2026
Merged

fix: move aiohttp-devtools to production dependencies#84
bolinocroustibat merged 2 commits intomainfrom
fix-deploy

Conversation

@bolinocroustibat
Copy link
Copy Markdown
Contributor

Problem

Deployment fails with exit code 2: error: Failed to spawn: 'adev'. The adev command (from aiohttp-devtools) is not found because it's in dev dependencies, which are not installed by uv sync --frozen in production.

Solution

Move aiohttp-devtools from dependency-groups.dev to dependencies so that adev is available in production builds.

Note

This is a temporary fix. We currently use adev (dev server) in production, but we should migrate to a production-ready server (python -m api_tabular.app or gunicorn with aiohttp worker) in a future PR.

Copy link
Copy Markdown
Contributor

@Pierlou Pierlou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed we should stop using adev in prod, so let's go for this for now, and we'll move for a real prod environment

@bolinocroustibat bolinocroustibat merged commit 7b120ac into main Jan 6, 2026
4 checks passed
@bolinocroustibat bolinocroustibat deleted the fix-deploy branch January 6, 2026 12:40
@bolinocroustibat bolinocroustibat added the bug Something isn't working label Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants