AOSSIE-Org / AOSSIE-Org/PictoPy

Docs: Confusing ONNX Runtime warning on Windows 11 during backend tests and local run

Đang mở
#1,136 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
283
Fork
679
Merge trung bình
7 ngày 2 giờ
Pull request đã merge (30 ngày)
3

Mô tả

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

Description:
While running PictoPy backend locally on Windows 11, I consistently see ONNX Runtime warnings related to Windows version support. Although the backend works correctly and all tests pass, the warning is confusing for new contributors.

Environment:

OS: Windows 11

Python: 3.12

Backend: FastAPI

ONNX Runtime

Steps to reproduce:

Set up backend following the documentation

Run backend tests:

pytest

or run backend:

uvicorn main:app --reload

Observed warning:

UserWarning: Unsupported Windows version (11).
ONNX Runtime supports Windows 10 and above.

Observed behavior:

Backend works correctly

All tests pass successfully (100+ tests passed)

No runtime failure occurs

Expected behavior:

Either:

The warning should be clarified in documentation, or

The warning message should be less alarming for supported Windows versions

Why this matters:

New contributors may assume backend setup is broken

This is especially confusing during first-time setup on Windows

Suggestion:

Add a short note in backend setup / troubleshooting docs explaining that this warning is harmless if tests pass.

### Record

- [x] I agree to follow this project's Code of Conduct

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.