Pack3tL0ss / ConsolePi

Raspberry Pi Based Serial Console Server, with PushBullet Notification of IP changes, Automatic VPN termination, custom menu, Power Outlet Control, and a lot more
MIT License
178 stars 15 forks source link

🐛 Move pinned pydantic requirement before FastAPI #181

Closed Pack3tL0ss closed 10 months ago

Pack3tL0ss commented 10 months ago

Should resolve #180 pydantic was pinned to avoid this issue, but was listed after FastAPI which uses it, but doesn't pin a version, which results in the most current (pydantic v2). pydantic v2 is built on Rust, and currently lacks a pre-built wheel for raspberry Pi. The environment pre-reqs to build it are more cumbersome than it's worth. The Pin for pydantic was part of a previous release, but apparently not tested on a fresh install, as it was not in the correct position in the requirements file to be effective.

⚠️ This fix has not been tested on a fresh install. Highly confident it should resolve the issue, getting it pushed now, as the issue breaks all fresh installs. Will test shortly.