mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 21:44:16 +02:00
[fix] crashing for scenarios when there are packages that cannot upgrade to be displayed
This commit is contained in:
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.9.3] 2020
|
||||
### Fixes
|
||||
- upgrade: crashing for scenarios when there are packages that cannot upgrade to be displayed on the summary window
|
||||
|
||||
## [0.9.2] 2020-05-04
|
||||
### Features
|
||||
- UI
|
||||
|
||||
@@ -69,7 +69,7 @@ python3 -m venv bauh_env ( creates a virtualenv in a folder called "bauh_env" )
|
||||
bauh_env/bin/pip install bauh ( installs bauh in the isolated environment )
|
||||
bauh_env/bin/bauh ( launches bauh )
|
||||
|
||||
# P.S: if you want to launch it attached to your system tray, replace the last command by: bauh_env/bin/bauh --tray=1
|
||||
# P.S: if you want to launch it attached to your system tray, replace the last command by: bauh_env/bin/bauh-tray
|
||||
```
|
||||
|
||||
- To update your isolated bauh to the latest version:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
__version__ = '0.9.2'
|
||||
__version__ = '0.9.3'
|
||||
__app_name__ = 'bauh'
|
||||
|
||||
import os
|
||||
|
||||
@@ -225,7 +225,7 @@ class UpgradeSelected(AsyncAction):
|
||||
return required, extra
|
||||
|
||||
def _gen_cannot_update_form(self, reqs: List[UpgradeRequirement]) -> FormComponent:
|
||||
opts = [self._req_as_option(r.pkg, False, r.reason) for r in reqs]
|
||||
opts = [self._req_as_option(r, False, r.reason) for r in reqs]
|
||||
comps = [MultipleSelectComponent(label='', options=opts, default_options=set(opts))]
|
||||
|
||||
return FormComponent(label=self.i18n['action.update.cannot_update_label'], components=comps)
|
||||
|
||||
Reference in New Issue
Block a user