[Bug 1661297] Re: Partition's set_name() not properly exported
Olivier Gayot
1661297 at bugs.launchpad.net
Fri Jun 23 07:20:50 UTC 2023
This bug was fixed in disco and subsequent releases:
pyparted (3.11.2-2ubuntu1) disco; urgency=low
* Merge from Debian unstable. Remaining changes:
- debian/rules: Re-enable tests
- debian/patches/fix-unit-tests.patch: Add patch for fixing some of the
flag tests as _ped now returns a different exceptions for those.
- Remove the python*-all-dbg build-deps as they do not seem to be needed
and otherwise cause strange fatal Python errors when running the test
suite during build.
- Add parted to the build-dependencies, required for unit testing.
* Dropped changes, included in Debian:
- Add python-six to the build-dependencies, required for unit testing.
** Changed in: pyparted (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pyparted in Ubuntu.
https://bugs.launchpad.net/bugs/1661297
Title:
Partition's set_name() not properly exported
Status in pyparted package in Ubuntu:
Fix Released
Bug description:
In the python libparted bindings the Partition object exports
get_name() through a name property but doesn't actually export the
set_name() method along with it. This means that currently setting the
name of a partition requires calling the internal PedPartition method
like this:
partition._Partition__partition.set_name(name)
...which is rather ugly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pyparted/+bug/1661297/+subscriptions
More information about the foundations-bugs
mailing list