[Bug 1907881] Re: cpuset package missing dependency in focal
This bug was fixed in the package cpuset - 1.6-3.1ubuntu1 --- cpuset (1.6-3.1ubuntu1) focal; urgency=medium * Add missing dependency python3-future. (LP: #1907881) -- Hans Joachim Desserud Fri, 31 Dec 2021 10:04:13 +0100 ** Changed in: cpuset (Ubuntu Focal) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
I installed the new version of cpuset and verify that python3-future also gets installed and you can run 'cset --help'. ubuntu@cset-test:~$ sudo apt-get install cpuset Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: python3-cpuset python3-future python3-lib2to3 Suggested packages: python-future-doc The following NEW packages will be installed: python3-future python3-lib2to3 The following packages will be upgraded: cpuset python3-cpuset 2 upgraded, 2 newly installed, 0 to remove and 6 not upgraded. Need to get 510 kB of archives. After this operation, 2,427 kB of additional disk space will be used. Do you want to continue? [Y/n] Y Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 python3-lib2to3 all 3.8.10-0ubuntu1~20.04 [76.3 kB] Get:2 http://archive.ubuntu.com/ubuntu focal/main amd64 python3-future all 0.18.2-2 [336 kB] Get:3 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 cpuset all 1.6-3.1ubuntu1 [71.5 kB] Get:4 http://archive.ubuntu.com/ubuntu focal-proposed/universe amd64 python3-cpuset all 1.6-3.1ubuntu1 [26.1 kB] Fetched 510 kB in 1s (367 kB/s) Selecting previously unselected package python3-lib2to3. (Reading database ... 15983 files and directories currently installed.) Preparing to unpack .../python3-lib2to3_3.8.10-0ubuntu1~20.04_all.deb ... Unpacking python3-lib2to3 (3.8.10-0ubuntu1~20.04) ... Selecting previously unselected package python3-future. Preparing to unpack .../python3-future_0.18.2-2_all.deb ... Unpacking python3-future (0.18.2-2) ... Preparing to unpack .../cpuset_1.6-3.1ubuntu1_all.deb ... Unpacking cpuset (1.6-3.1ubuntu1) over (1.6-3.1) ... Preparing to unpack .../python3-cpuset_1.6-3.1ubuntu1_all.deb ... Unpacking python3-cpuset (1.6-3.1ubuntu1) over (1.6-3.1) ... Setting up python3-lib2to3 (3.8.10-0ubuntu1~20.04) ... Setting up python3-future (0.18.2-2) ... update-alternatives: using /usr/bin/python3-futurize to provide /usr/bin/futurize (futurize) in auto mode update-alternatives: using /usr/bin/python3-pasteurize to provide /usr/bin/pasteurize (pasteurize) in auto mode Setting up python3-cpuset (1.6-3.1ubuntu1) ... Setting up cpuset (1.6-3.1ubuntu1) ... ** Tags removed: verification-needed verification-needed-focal ** Tags added: verification-done verification-done-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
Hello Vinjar, or anyone else affected, Accepted cpuset into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/cpuset/1.6-3.1ubuntu1 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- focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-focal. 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: cpuset (Ubuntu Focal) Status: In Progress => Fix Committed ** Tags added: verification-needed verification-needed-focal -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
I've gone ahead and sponsored this after running update-maintainer. $ dput cpuset_1.6-3.1ubuntu1_source.changes Trying to upload package to ubuntu Checking signature on .changes gpg: /tmp/pkgs/focal/cpuset_1.6-3.1ubuntu1_source.changes: Valid signature from 1E918B66765B3E31 Checking signature on .dsc gpg: /tmp/pkgs/focal/cpuset_1.6-3.1ubuntu1.dsc: Valid signature from 1E918B66765B3E31 Uploading to ubuntu (via ftp to upload.ubuntu.com): Uploading cpuset_1.6-3.1ubuntu1.dsc: done. Uploading cpuset_1.6-3.1ubuntu1.debian.tar.xz: done. Uploading cpuset_1.6-3.1ubuntu1_source.buildinfo: done. Uploading cpuset_1.6-3.1ubuntu1_source.changes: done. Successfully uploaded packages. ** Changed in: cpuset (Ubuntu Focal) Status: New => In Progress ** Changed in: cpuset (Ubuntu Focal) Assignee: (unassigned) => Brian Murray (brian-murray) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
** Tags added: unmetdeps ** Also affects: cpuset (Ubuntu Focal) Importance: Undecided Status: New ** Changed in: cpuset (Ubuntu) Importance: Undecided => Low ** Changed in: cpuset (Ubuntu Focal) Importance: Undecided => Low ** Changed in: cpuset (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
** Changed in: cpuset (Debian) Status: Unknown => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
Attached patch adds python3-future as a dependency also for 20.04. ** Description changed: + Stable Release Update: + + [impact] + cset fails to run without python3-future installed. + + This is a minor fix which already is present in newer Ubuntu releases. + + [test plan] + sudo apt install cpuset + cset --help + #Should run without error message. + + [Where problems could occur] + + Minimal regression potential. As this is only adding an extra dependency it is otherwise equivalent of a no-change rebuild. + The binary packages have no other reverse dependencies. + + + Original report: + This package for focal seems to miss a dependency. Namely python3-futures. Reproducing the bug Reproducable Docker file: Built with "docker build . -t csettest" FROM ubuntu:focal RUN apt update && apt install -y cpuset ENTRYPOINT ["cset", "--help"] --- Running the docker file: --- $ docker run --rm -it csettest Traceback (most recent call last): - File "/usr/bin/cset", line 44, in - from cpuset.main import main - File "/usr/lib/python3/dist-packages/cpuset/main.py", line 7, in - from future import standard_library - ModuleNotFoundError: No module named 'future' + File "/usr/bin/cset", line 44, in + from cpuset.main import main + File "/usr/lib/python3/dist-packages/cpuset/main.py", line 7, in + from future import standard_library + ModuleNotFoundError: No module named 'future' --- - Possible fix with python3-future Docker file: --- FROM ubuntu:focal RUN apt update && apt install -y cpuset python3-future ENTRYPOINT ["cset", "--help"] --- - Running the Docker file --- $ docker run --rm -it csettest Usage: cset [global options] [command options] Global options: - -l/--logoutput debugging log in fname - -m/--machine print machine readable output - -x/--tohexconvert a CPUSPEC to hex + -l/--logoutput debugging log in fname + -m/--machine print machine readable output + -x/--tohexconvert a CPUSPEC to hex - Generic commands: - helpprint the detailed command usage - version display version information - copyright display copyright information + Generic commands: + helpprint the detailed command usage + version display version information + copyright display copyright information - Super commands (high-level and multi-function): - shield supercommand to set up and manage basic shielding + Super commands (high-level and multi-function): + shield supercommand to set up and manage basic shielding - Regular commands: - proccreate and manage processes within cpusets - set create, modify and destroy cpusets + Regular commands: + proccreate and manage processes within cpusets + set create, modify and destroy cpusets --- ** Patch added: "dependency.debdiff" https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+attachment/5550469/+files/dependency.debdiff ** Description changed: Stable Release Update: [impact] cset fails to run without python3-future installed. This is a minor fix which already is present in newer Ubuntu releases. + + As mentioned in the comments below, the SRU is needed only in Focal, + though I don't have permission to target the series. [test plan] sudo apt install cpuset cset --help #Should run without error message. [Where problems could occur] Minimal regression potential. As this is only adding an extra dependency it is otherwise equivalent of a no-change rebuild. The binary packages have no other reverse dependencies. - Original report: This package for focal seems to miss a dependency. Namely python3-futures. Reproducing the bug Reproducable Docker file: Built with "docker build . -t csettest" FROM ubuntu:focal RUN apt update && apt install -y cpuset ENTRYPOINT ["cset", "--help"] --- Running the docker file: --- $ docker run --rm -it csettest Traceback (most recent call last): File "/usr/bin/cset", line 44, in from cpuset.main import main File "/usr/lib/python3/dist-packages/cpuset/main.py", line 7, in from future import standard_library ModuleNotFoundError: No module named 'future' --- Possible fix with python3-future
[Bug 1907881] Re: cpuset package missing dependency in focal
Thanks for reporting. I found a corresponding bug report in Debian, and the extra dependency has been added in the version available in Ubuntu 21.04, so newer releases are fixed at least. However, 20.04 is still affected, so I'll try to prepare a debdeff for a Stable Release Update. (From my testing 18.04 was not affected. Presumably this uses an older version before cpuset started using python3-future) As a workaround in the meantime, manually install python3-future. ** Bug watch added: Debian Bug tracker #981227 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981227 ** Also affects: cpuset (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981227 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1907881] Re: cpuset package missing dependency in focal
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: cpuset (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1907881 Title: cpuset package missing dependency in focal To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cpuset/+bug/1907881/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs