jneilliii / OctoPrint-BackupScheduler

11 stars 3 forks source link

[BUG]: can't update to version 0.2.1 due to wheel "Failed to build cryptography" #28

Open AlexDashwood opened 1 week ago

AlexDashwood commented 1 week ago

Describe the bug Hello! Thank you for this useful plugin! I want to let you know that i encountered a problem while updating from version 0.2.0 to 0.2.1. From what i see, wheel is unable to build cryptography. This leads to error and octoprint asks to update plugin again. If you want something more specific, just let me know. I am attaching short output from plugin_softwareupdate_console.log and Systeminfo Bundle. Sorry for my English

2024-11-14 18:28:36,352 > Building wheel for cryptography (pyproject.toml): started
2024-11-14 18:29:26,513 > Building wheel for cryptography (pyproject.toml): finished with status 'error'
2024-11-14 18:29:26,513 > Successfully built Backup-Scheduler
2024-11-14 18:29:26,513 > Failed to build cryptography
2024-11-14 18:29:27,042 ! error: subprocess-exited-with-error
2024-11-14 18:29:27,043 !
2024-11-14 18:29:27,043 ! × Building wheel for cryptography (pyproject.toml) did not run successfully.
2024-11-14 18:29:27,043 ! │ exit code: 1
2024-11-14 18:29:27,044 ! ╰─> [333 lines of output]

Expected behavior Should update without an error

Debug Log octoprint-systeminfo-20241114184729.zip

Screenshots n\a

Firmware and Version I'm using octoprint 1.10.3 on laptop under debian 11, Python 3.9.2

jneilliii commented 1 week ago

looking through the software update log it appears that your underlying system may be missing rust.

This package requires Rust >=1.48.0.

I'd look into what's necessary to get that installed on your underlying OS and version and the plugin should then be able to update.