Wrong type annotation in apt.progress.text.AcquireProgress

Bug #1998488 reported by Julian Andres Klode
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-apt (Ubuntu)
Fix Released
Undecided
Unassigned
Jammy
Fix Released
Undecided
Unassigned
Kinetic
Fix Released
Undecided
Unassigned
Lunar
Fix Released
Undecided
Unassigned

Bug Description

[Impact]
Type checking fails in CI

[Test plan]
Have CI type check successfully

[Where problems could occur]
It's only a comment *inside* the function, so not really anywhere.

Revision history for this message
Julian Andres Klode (juliank) wrote :

I'm setting Lunar to fix released as the fix is in 2.5.0. Despite it not being released yet, we'd otherwise just forget about it.

Changed in python-apt (Ubuntu Lunar):
status: New → Fix Released
Changed in python-apt (Ubuntu Jammy):
status: New → Triaged
Changed in python-apt (Ubuntu Kinetic):
status: New → Triaged
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Julian, or anyone else affected,

Accepted python-apt into kinetic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-apt/2.4.0+22.10 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-kinetic to verification-done-kinetic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-kinetic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python-apt (Ubuntu Kinetic):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-kinetic
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Julian, or anyone else affected,

Accepted python-apt into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-apt/2.4.0 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in python-apt (Ubuntu Jammy):
status: Triaged → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Robie Basak (racb) wrote :

Since the SRU team -approved Test Plan was to rely on autopkgtest, and autopkgtests are showing all passed, we can consider this bug verified for those releases.

tags: added: verification-done verification-done-jammy verification-done-kinetic
removed: verification-needed verification-needed-jammy verification-needed-kinetic
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 2.4.0+22.10

---------------
python-apt (2.4.0+22.10) kinetic; urgency=medium

  [ Julian Andres Klode ]
  * 2.4.0 marks this as a stable upstream release series.
  * AcquireFile: Handle large files (LP: #1998265)
  * .gitlab-ci.yml: Test in jammy and fix mypy version to jammy
  * Update mirror lists
  * debian/gbp.conf: Point at 2.4.y branch
  * d/t/control: Add missing binutils test dependency

  [ Michael Vogt ]
  * apt: fix mypy in apt.progress.text.AcquireProgress (LP: #1998488)

 -- Julian Andres Klode <email address hidden> Thu, 01 Dec 2022 17:30:57 +0100

Changed in python-apt (Ubuntu Kinetic):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-apt has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-apt - 2.4.0

---------------
python-apt (2.4.0) jammy; urgency=medium

  [ Julian Andres Klode ]
  * 2.4.0 marks this as a stable upstream release series.
  * AcquireFile: Handle large files (LP: #1998265)
  * .gitlab-ci.yml: Test in jammy and fix mypy version to jammy
  * Update mirror lists
  * debian/gbp.conf: Point at 2.4.y branch
  * d/t/control: Add missing binutils test dependency

  [ Michael Vogt ]
  * apt: fix mypy in apt.progress.text.AcquireProgress (LP: #1998488)

 -- Julian Andres Klode <email address hidden> Thu, 01 Dec 2022 17:30:57 +0100

Changed in python-apt (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.