Python 3.14t + roboflow 1.2.11 is broken
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- python
- Lĩnh vực
- build-system, machine-learning
Hướng nghiên cứu
Bắt đầu với pyproject.toml và tái hiện uv sync --extra gpu bằng thiết lập Windows, uv 0.9.25 và Python 3.14t đã được báo cáo. Theo dõi đường dẫn dependency từ roboflow 1.2.11 đến pillow-avif-plugin 1.5.2 và xác định xem project có thể được cài đặt thành công với Python 3.14t hay không; issue được hoàn tất khi kết quả tương thích được khắc phục hoặc được tài liệu hóa rõ ràng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
~#@❯ uv venv --python 3.14t
Using CPython 3.14.0+freethreaded interpreter at: D:\Users\Sergey\AppData\Local\Python\pythoncore-3.14t-64\python3.14t.exe
Creating virtual environment at: .venv
✔ A virtual environment already exists at `.venv`. Do you want to replace it? · yes
Activate with: .venv\Scripts\activate
~#@❯ uv sync --extra gpu
Resolved 213 packages in 2ms
× Failed to build `pillow-avif-plugin==1.5.2`
├─▶ The build backend returned an error
╰─▶ Call to `setuptools.build_meta.build_wheel` failed (exit code: 1)
[stderr]
Traceback (most recent call last):
File "<string>", line 14, in <module>
requires = get_requires_for_build({})
File "D:\Users\Sergey\AppData\Local\uv\cache\builds-v0\.tmpCh7CGi\Lib\site-packages\setuptools\build_meta.py",
line 331, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=[])
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\Users\Sergey\AppData\Local\uv\cache\builds-v0\.tmpCh7CGi\Lib\site-packages\setuptools\build_meta.py",
line 301, in _get_build_requires
self.run_setup()
~~~~~~~~~~~~~~^^
File "D:\Users\Sergey\AppData\Local\uv\cache\builds-v0\.tmpCh7CGi\Lib\site-packages\setuptools\build_meta.py",
line 317, in run_setup
exec(code, locals())
~~~~^^^^^^^^^^^^^^^^
File "<string>", line 57, in <module>
File "<string>", line 17, in version
AttributeError: 'Constant' object has no attribute 's'
hint: This usually indicates a problem with the package or the build environment.
help: `pillow-avif-plugin` (v1.5.2) was included because `yolofingers` (v0.1.0) depends on `roboflow` (v1.2.11)
which depends on `pillow-avif-plugin`
pyproject.toml
[project]
name = "project"
version = "0.1.0"
requires-python = ">=3.13"
dependencies = [
"notebook~=7.0",
"pycocotools~=2.0",
"roboflow~=1.0",
"torch~=2.0",
"ultralytics~=8.0",
"torchvision~=0.0",
"opencv-python-headless~=4.0",
"plotly~=6.0",
"scikit-learn~=1.0",
"rfdetr~=1.0",
"tensorboard~=2.0",
"albumentations~=2.0",
"lightning~=2.0",
"loguru~=0.7",
"transformers>=4.57.3",
]
[dependency-groups]
dev = [
"pandas-stubs~=2.0",
]
[project.optional-dependencies]
gpu = [
"torch",
"torchvision",
]
cpu = [
"torch",
"torchvision",
]
[tool.uv]
package = false
conflicts = [
[
{ extra = "cpu" },
{ extra = "gpu" },
],
]
[tool.uv.sources]
torch = [
{ index = "torch_cuda", extra = "gpu" },
{ index = "torch_cpu", extra = "cpu" },
]
torchvision = [
{ index = "torch_cuda", extra = "gpu" },
{ index = "torch_cpu", extra = "cpu" },
]
[[tool.uv.index]]
name = "torch_cuda"
url = "https://download.pytorch.org/whl/cu128"
explicit = true
[[tool.uv.index]]
name = "torch_cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
Specs:
Windows 11 25H2
uv 0.9.25
Python 3.14.0t free-threading build
- Ngôn ngữ chính
- Python
- Star
- 629
- Fork
- 140
- Merge trung bình
- 2 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 5
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 roboflow/roboflow-python
-
RLE segmentation mask visible in dataset thumbnail, but invisible in annotation preview/editor Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
roboflow/roboflow-python#505 · 1 bình luận ·
-
Dataset Download Stuck Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
roboflow/roboflow-python#429 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
roboflow/roboflow-python#427 · 1 bình luận ·
-
Inability to upload raw bytes Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
roboflow/roboflow-python#426 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
roboflow/roboflow-python#422 ·
Tất cả issue của roboflow/roboflow-python
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
anthropics/skills#1811 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
speaches-ai/speaches#678 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
datalayer/mcp-compose#42 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
conda-forge/spacy-feedstock#177 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
UKGovernmentBEIS/inspect_evals#2523 ·