** Description changed:

+ [ Impact ]
+ 
+ In 2022, Debian started to work to move from nose to other python tests
+ suites, following former maintainer of nose recommendations [1], to
+ finally remove it from the Debian Archive.
+ 
+ This impacts walinuxagent because it uses python3-nose-timer as a build
+ dependency, which is in the universe. Upstream was also aware of it and
+ moved to pytest [2].
+ 
+ [ Test Plan ]
+ 
+ A couple of things to test this can be seen in the build itself:
+ 
+ a) The package builds OK (now with python3-pytest, without python3-nose-timer)
+ b) The build tests passes OK.
+ 
+ [ Where problems could occur ]
+ 
+ The introduction of the refactor of the tests (from upstream) could lead
+ to the necessity of packages that were not considered in advance, but
+ from the checks that have been done we didn't spot other build-
+ dependencies as needed.
+ 
+ That refactor mentioned could cause the tests not to pass, but that is
+ not the case. Some tests failed due to other factors (like new
+ behaviours in Python 3.12) and were amended in consequence, but not
+ because of the transition from nose to pytest.
+ 
+ [ Other Info ]
+ 
+ About the amended test commented on above, the patch is the following:
+ 
+ - debian/patches/complete_exception_info_on_test.patch
+ 
+ The patch which makes the transition from nose to pytest is
+ 
+ debian/patches/run-unit-test-with-pytest-python3_10.patch
+ 
+ from upstream [2]. All the commits from that upstream's PR were not
+ imported (strictly the one that affects the transition, and no other
+ resolved merge conflicts), because this PR was done in upstream's
+ develop branch and is not released to a new WALinuxAgent version yet.
+ 
+ [Original 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.
+ 
+ [1] https://lists.debian.org/debian-devel/2022/08/msg00184.html
+ [2] https://github.com/Azure/WALinuxAgent/pull/3081

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2063046

Title:
  build-depends on obsolete python3-nose-timer

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/walinuxagent/+bug/2063046/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to