Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix progress bar code to support progressbar2 #1680

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

scottp-dpaw
Copy link
Contributor

The progress bar code in meter.PBTextMeter touches some third-party class state to hide the bar after the job is completed. This works fine for the unmaintained 2018 progressbar library (https://pypi.org/project/progressbar/), however is not compatible with the later progressbar2 fork (https://pypi.org/project/progressbar2/) and causes a crash.

@dmach
Copy link
Contributor

dmach commented Jan 3, 2025

I was slightly confused when I saw the patch for the first time because progressbar has version 2.x and progressbar2 has version 4.x :)
The code looks good to me. Thanks for the patch!

@dmach dmach merged commit d0d6965 into openSUSE:master Jan 3, 2025
22 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants