brentvollebregt / auto-py-to-exe

Converts .py to .exe using a simple graphical interface
MIT License
3.95k stars 677 forks source link

Pyinstaller Version Control #467

Closed mcagriaksoy closed 6 months ago

mcagriaksoy commented 7 months ago

New Feature Description

I have a version of Pyinstaller which is not updated for many months I guess. When I opened the auto-py-to-exe I have seen my PyInstaller version. I guess, We can add a popup or some kind of warning to inform the version of pyinstaller is not Latest! Otherwise, the auto-py-to-exe working good but, the user may want to everything is up-to-date!

Reason For New Feature

Inform user which version of PyInstaller is using currently. Which version of version is latest. Then, user can decide update it now or later..

github-actions[bot] commented 7 months ago

👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.

Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.

brentvollebregt commented 7 months ago

Great idea! We can request https://api.github.com/repos/pyinstaller/pyinstaller/releases/latest and compare it to from PyInstaller import __version__ as pyinstaller_version_string.

This check should be done async in the frontend - so something like setupWarnings would be called again to add any new warnings. For this to be done in the frontend, the version string should be passed in the initialisation data.