Make anywidget an optional dependency?
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 44/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start in pyproject.toml at the dependency list and locate the anywidget entry, then grep the package for anywidget imports to see which module owns the notebook widget path. Confirm the static PNG/SVG rendering path never imports it, so an install without the extra still exports images. Done means anywidget moves to an optional extras group, the widget import fails with a clear message when absent, and the test suite passes both with and without the extra installed. Note the issue asks a design question, so a maintainer's answer on the intended policy comes first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Thanks for creating XY I was looking for a lightweight alternative to Matplotlib for generating static plots, and XY caught my attention.
Currently, anywidget is listed as a mandatory dependency in pyproject.toml.
However, it seems to be primarily used for interactive notebook display, while static exports such as PNG and SVG use separate rendering paths.
For users who only use XY for static image generation (e.g. in batch processing or server-side scripts), installing anywidget and its dependencies seems unnecessary.
Would it be possible to make anywidget an optional dependency, required only when using the notebook widget functionality?
Or is there a reason why it needs to be a mandatory dependency?
- Ngôn ngữ chính
- Python
- Star
- 1.9k
- Fork
- 81
- Merge trung bình
- 7 giờ 57 phút
- Pull request đã merge (30 ngày)
- 9
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của reflex-dev/xy
-
Why is dnspython a dependency?Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
reflex-dev/xy#561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Skip finite/log visibility scans when zone maps already prove all-finite on linear axesCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởneeds investigate performance
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
reflex-dev/xy#169 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 57/100
reflex-dev/xy#556 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
reflex-dev/xy#552 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Performance: pcolormesh PNG export misses the 10× Matplotlib target (5.54× in release audit)Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
reflex-dev/xy#551 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của reflex-dev/xy
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
litestar-org/sqlspec#946 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:cli area:docs Platform vdr
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NVIDIA-NeMo/Gym#7192 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Bug: CaseInsensitiveDict (event.headers) returns True for both == and != against the same mappingĐang mởbug triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
aws-powertools/powertools-lambda-python#8948 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SofyaBotĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
ai-robots-txt/ai.robots.txt#324 ·
-
[Resource]: DashbarĐang mởresource-submission validation-passed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
hesreallyhim/awesome-claude-code#3821 · 1 bình luận ·