build-depends on obsolete python3-nose-timer

Bug #2063046 reported by Steve Langasek
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
walinuxagent (Ubuntu)
Status tracked in Oracular
Noble
In Progress
Undecided
Miriam España Acebal
Oracular
In Progress
High
Miriam España Acebal

Bug Description

nose has been removed from Debian as obsolete, and with it python3-nose-timer, which walinuxagent build-depends on. It should be updated to not have this requirement.

Related branches

Steve Langasek (vorlon)
Changed in walinuxagent (Ubuntu):
importance: Undecided → High
Changed in walinuxagent (Ubuntu):
status: New → Triaged
tags: added: server-todo
Revision history for this message
Daniel Draper (danpdraper) wrote :

Hi Steve,

Does the removal of the build dependency need to transpire prior to the Noble release?

Daniel

Revision history for this message
Steve Langasek (vorlon) wrote : Re: [Bug 2063046] Re: build-depends on obsolete python3-nose-timer

On Mon, Apr 22, 2024 at 05:42:33PM -0000, Daniel Draper wrote:
> Does the removal of the build dependency need to transpire prior to the
> Noble release?

It does not.

Changed in walinuxagent (Ubuntu):
assignee: nobody → Miriam España Acebal (mirespace)
Revision history for this message
Miriam España Acebal (mirespace) wrote :

python3-nose-timer was added in 5685bc3b683473fd6a36e32a18b45c14e1b9ec6b by us (as Ubuntu developers) for making unittest work.

Searching on upstream, from python 3.10, they use pytest instead of nose:

WALinuxAgent: Run unit tests with pytest on Python >= 3.10 CLOSED [1]

Therefore, we need to make changes as a consequence.

[1] https://github.com/Azure/WALinuxAgent/pull/3081

Changed in walinuxagent (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Miriam España Acebal (mirespace) wrote (last edit ):

I created a patch with the PR #3081 commented above, but the test part on the building fails because the source tree is incomplete/not matching: a refactor was done in [1] and included on a more recent version of WALinuxagent [2].

Therefore, the plan is to first upgrade WALinuxagent to the latest released version (bug 2068019) and then apply the patch from #3081.

[1] https://github.com/Azure/WALinuxAgent/pull/2902
[2] https://github.com/Azure/WALinuxAgent/releases/tag/v2.10.0.8

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I've put a reminder to bug 2068019 and we are happy to wait for this new upload to unblock this.
But since we know what it actually waits for it makes no sense to show up in the bug housekeeping weekly - dropping the server-todo tag.

tags: removed: server-todo
Changed in walinuxagent (Ubuntu Noble):
assignee: nobody → Miriam España Acebal (mirespace)
status: New → In Progress
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.