Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

python-fasthtml dependency pulls in SQLite C bindings, breaking installs on some platforms

未关闭
#124 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
jupyter-notebook, python
领域
build-system

调研方向

从 Poetry 使用的依赖配置和 core.py 中现有的 f-string 实现开始;追踪 python-fasthtml 如何引入 apsw 链。完成的标准是,受影响的平台可以在不依赖会失败的 SQLite C 依赖项的情况下安装 fastprogress,同时 Jupyter 进度渲染仍能正常工作。

由索引模型根据 Issue 内容生成。

描述

fastprogress 1.1.0 switched from raw HTML strings to fasthtml FT components for Jupyter rendering. The problem is the transitive dep chain this introduces:

fastprogress -> python-fasthtml -> fastlite -> apswutils -> apsw

apsw is a SQLite C extension that needs pre-built wheels or a compiler. Poetry can't find wheels for some platforms, so poetry install just fails -- which blocks anything that depends on fastprogress (in my case, blackjax -- It seems the blackjax team is also tracking this on their end: https://github.com/blackjax-devs/blackjax/issues/812).

fastprogress only uses 9 tag constructors (Div, Progress, Table, Tr, Td, Th, Thead, Tbody, P) but python-fasthtml also drags in starlette, uvicorn, httpx, oauthlib, beautifulsoup4, etc. That's a lot of weight for a progress bar.

The old f-string approach in core.py still exists and worked fine. Could the fasthtml dep be made optional with a fallback to the f-string versions? Or even just vendor the few FT helpers that are actually needed?

My workaround for this is to pin fastprogress<1.1 in my project.

主要语言
Jupyter Notebook
星标
1.1k
派生
103
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

AnswerDotAI/fastprogress 的其他 Issue

查看 AnswerDotAI/fastprogress 的全部 Issue

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。